Enum nrf52832_pac::pdm::gainr::GAINRR
source · pub enum GAINRR {
MINGAIN,
DEFAULTGAIN,
MAXGAIN,
_Reserved(u8),
}
Expand description
Possible values of the field GAINR
Variants§
MINGAIN
-20dB gain adjustment (minimum)
DEFAULTGAIN
0dB gain adjustment (‘2500 RMS’ requirement)
MAXGAIN
+20dB gain adjustment (maximum)
_Reserved(u8)
Reserved
Implementations§
source§impl GAINRR
impl GAINRR
sourcepub fn is_min_gain(&self) -> bool
pub fn is_min_gain(&self) -> bool
Checks if the value of the field is MINGAIN
sourcepub fn is_default_gain(&self) -> bool
pub fn is_default_gain(&self) -> bool
Checks if the value of the field is DEFAULTGAIN
sourcepub fn is_max_gain(&self) -> bool
pub fn is_max_gain(&self) -> bool
Checks if the value of the field is MAXGAIN