Type Alias nrf52840_pac::pdm::gainr::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