nrf52840_pac::pdm::gainr

Type Alias GAINR_R

Source
pub type GAINR_R = FieldReader<u8, GAINR_A>;
Expand description

Field GAINR reader - Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters)

Aliased Type§

struct GAINR_R { /* private fields */ }

Implementations§

Source§

impl GAINR_R

Source

pub fn variant(&self) -> Option<GAINR_A>

Get enumerated values variant

Source

pub fn is_min_gain(&self) -> bool

Checks if the value of the field is MIN_GAIN

Source

pub fn is_default_gain(&self) -> bool

Checks if the value of the field is DEFAULT_GAIN

Source

pub fn is_max_gain(&self) -> bool

Checks if the value of the field is MAX_GAIN