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

type W = W<u32, PCM_CTRL>;

Writer for register PCM_CTRL

Methods

impl W[src]

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

Bit 14 - PCM clock polarity

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

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

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

Bit 11 - Select what bits to use for transmit data

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

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

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

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

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

Bit 7 - Use a long/short PCM frame signal

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

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

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

Bit 3 - Enable the frame duration for each word

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

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

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

Bit 1 - Enable/disable the PCM interface

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

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