atsamd21g::i2s::serctrl

Type Alias SermodeR

Source
pub type SermodeR = FieldReader<Sermodeselect>;
Expand description

Field SERMODE reader - Serializer Mode

Aliased Type§

struct SermodeR { /* private fields */ }

Implementations§

Source§

impl SermodeR

Source

pub const fn variant(&self) -> Option<Sermodeselect>

Get enumerated values variant

Source

pub fn is_rx(&self) -> bool

Receive

Source

pub fn is_tx(&self) -> bool

Transmit

Source

pub fn is_pdm2(&self) -> bool

Receive one PDM data on each serial clock edge