atsamd21g::i2s::clkctrl

Type Alias FswidthR

Source
pub type FswidthR = FieldReader<Fswidthselect>;
Expand description

Field FSWIDTH reader - Frame Sync Width

Aliased Type§

struct FswidthR { /* private fields */ }

Implementations§

Source§

impl FswidthR

Source

pub const fn variant(&self) -> Fswidthselect

Get enumerated values variant

Source

pub fn is_slot(&self) -> bool

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

Source

pub fn is_half(&self) -> bool

Frame Sync Pulse is half a Frame wide

Source

pub fn is_bit(&self) -> bool

Frame Sync Pulse is 1 Bit wide

Source

pub fn is_burst(&self) -> bool

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