Type Alias d1_pac::i2s_pcm::i2s_pcm_fmt1::RX_PDM_R

source ·
pub type RX_PDM_R = FieldReader<u8, RX_PDM_A>;
Expand description

Field rx_pdm reader - Rx PCM Data Mode

Aliased Type§

struct RX_PDM_R { /* private fields */ }

Implementations§

source§

impl RX_PDM_R

source

pub fn variant(&self) -> RX_PDM_A

Get enumerated values variant

source

pub fn is_linear(&self) -> bool

Checks if the value of the field is LINEAR

source

pub fn is_u_law(&self) -> bool

Checks if the value of the field is U_LAW

source

pub fn is_a_law(&self) -> bool

Checks if the value of the field is A_LAW