Type Alias nrf52840_pac::pdm::gainl::GAINL_R
source · pub type GAINL_R = FieldReader<u8, GAINL_A>;
Expand description
Field GAINL
reader - Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (…) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (…) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust
Aliased Type§
struct GAINL_R { /* private fields */ }
Implementations§
source§impl GAINL_R
impl GAINL_R
sourcepub fn is_min_gain(&self) -> bool
pub fn is_min_gain(&self) -> bool
Checks if the value of the field is MIN_GAIN
sourcepub fn is_default_gain(&self) -> bool
pub fn is_default_gain(&self) -> bool
Checks if the value of the field is DEFAULT_GAIN
sourcepub fn is_max_gain(&self) -> bool
pub fn is_max_gain(&self) -> bool
Checks if the value of the field is MAX_GAIN