Enum nrf52::pdm::gainr::GAINRR
[−]
[src]
pub enum GAINRR { MINGAIN, DEFAULTGAIN, MAXGAIN, _Reserved(u8), }
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
Methods
impl GAINRR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_min_gain(&self) -> bool
[src]
Checks if the value of the field is MINGAIN
fn is_default_gain(&self) -> bool
[src]
Checks if the value of the field is DEFAULTGAIN
fn is_max_gain(&self) -> bool
[src]
Checks if the value of the field is MAXGAIN
Trait Implementations
impl Clone for GAINRR
[src]
fn clone(&self) -> GAINRR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more