Type Alias atsame54n::i2s::clkctrl::FSWIDTH_W

source ·
pub type FSWIDTH_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, FSWIDTHSELECT_A>;
Expand description

Field FSWIDTH writer - Frame Sync Width

Aliased Type§

struct FSWIDTH_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> FSWIDTH_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn slot(self) -> &'a mut W<REG>

Frame Sync Pulse is 1 Slot wide (default for I2S protocol)

source

pub fn half(self) -> &'a mut W<REG>

Frame Sync Pulse is half a Frame wide

source

pub fn bit_(self) -> &'a mut W<REG>

Frame Sync Pulse is 1 Bit wide

source

pub fn burst(self) -> &'a mut W<REG>

Clock Unit n operates in Burst mode, with a 1-bit wide Frame Sync pulse per Data sample, only when Data transfer is requested