Struct PgaConf
#[repr(transparent)]pub struct PgaConf(pub u32);Expand description
PGA configuration register.
Tuple Fields§
§0: u32Implementations§
§impl PgaConf
impl PgaConf
pub fn set_pga_gain(&mut self, val: u8)
pub fn set_pga_gain(&mut self, val: u8)
from 6 to 30 dB.
pub fn set_pga_bias(&mut self, val: u8)
pub fn set_pga_bias(&mut self, val: u8)
set the microphone bias voltage.
Trait Implementations§
impl Copy for PgaConf
impl Eq for PgaConf
impl StructuralPartialEq for PgaConf
Auto Trait Implementations§
impl Freeze for PgaConf
impl RefUnwindSafe for PgaConf
impl Send for PgaConf
impl Sync for PgaConf
impl Unpin for PgaConf
impl UnwindSafe for PgaConf
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