Enum nrf52840_pac::pdm::gainr::GAINR_A
source · #[repr(u8)]pub enum GAINR_A {
MIN_GAIN = 0,
DEFAULT_GAIN = 40,
MAX_GAIN = 80,
}
Expand description
Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters)
Value on reset: 40
Variants§
MIN_GAIN = 0
0: -20dB gain adjustment (minimum)
DEFAULT_GAIN = 40
40: 0dB gain adjustment
MAX_GAIN = 80
80: +20dB gain adjustment (maximum)
Trait Implementations§
impl Copy for GAINR_A
impl StructuralPartialEq for GAINR_A
Auto Trait Implementations§
impl Freeze for GAINR_A
impl RefUnwindSafe for GAINR_A
impl Send for GAINR_A
impl Sync for GAINR_A
impl Unpin for GAINR_A
impl UnwindSafe for GAINR_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)