Enum nrf52840_pac::pdm::gainl::GAINL_A
source · #[repr(u8)]pub enum GAINL_A {
MIN_GAIN = 0,
DEFAULT_GAIN = 40,
MAX_GAIN = 80,
}
Expand description
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
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 GAINL_A
impl StructuralPartialEq for GAINL_A
Auto Trait Implementations§
impl Freeze for GAINL_A
impl RefUnwindSafe for GAINL_A
impl Send for GAINL_A
impl Sync for GAINL_A
impl Unpin for GAINL_A
impl UnwindSafe for GAINL_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
)