[][src]Type Definition rsl10_pac::pcm::pcm_ctrl::R

type R = R<u32, PCM_CTRL>;

Reader of register PCM_CTRL

Methods

impl R[src]

pub fn pcm_clk_pol(&self) -> PCM_CLK_POL_R[src]

Bit 14 - PCM clock polarity

pub fn bit_order(&self) -> BIT_ORDER_R[src]

Bit 12 - Select whether the data will be transmitted starting with the MSB or LSB

pub fn tx_align(&self) -> TX_ALIGN_R[src]

Bit 11 - Select what bits to use for transmit data

pub fn word_size(&self) -> WORD_SIZE_R[src]

Bits 9:10 - Select the number of bits per PCM word

pub fn frame_align(&self) -> FRAME_ALIGN_R[src]

Bit 8 - Align the PCM frame signal to the first/last bit

pub fn frame_width(&self) -> FRAME_WIDTH_R[src]

Bit 7 - Use a long/short PCM frame signal

pub fn frame_length(&self) -> FRAME_LENGTH_R[src]

Bits 4:6 - Select the number of words per PCM frame

pub fn frame_subframes(&self) -> FRAME_SUBFRAMES_R[src]

Bit 3 - Enable the frame duration for each word

pub fn controller(&self) -> CONTROLLER_R[src]

Bit 2 - Select whether data transfer will be controlled by the CM3 or the DMA for PCM

pub fn enable(&self) -> ENABLE_R[src]

Bit 1 - Enable/disable the PCM interface

pub fn slave(&self) -> SLAVE_R[src]

Bit 0 - Use the PCM interface as a master/slave