Struct Agc1DigEng
#[repr(transparent)]pub struct Agc1DigEng(pub u32);Expand description
AGC1_DIG_ENG register.
Tuple Fields§
§0: u32Implementations§
§impl Agc1DigEng
impl Agc1DigEng
pub const fn agc_thr_low_6(&self) -> u8
pub const fn agc_thr_low_6(&self) -> u8
Low threshold for 6dB steps.
pub fn set_agc_thr_low_6(&mut self, val: u8)
pub fn set_agc_thr_low_6(&mut self, val: u8)
Low threshold for 6dB steps.
pub const fn agc_autolock(&self) -> bool
pub const fn agc_autolock(&self) -> bool
AGC locks when level is steady between high threshold and lock threshold.
pub fn set_agc_autolock(&mut self, val: bool)
pub fn set_agc_autolock(&mut self, val: bool)
AGC locks when level is steady between high threshold and lock threshold.
pub const fn agc_lock_sync(&self) -> bool
pub const fn agc_lock_sync(&self) -> bool
AGC locks when Access Address is detected (recommended).
pub fn set_agc_lock_sync(&mut self, val: bool)
pub fn set_agc_lock_sync(&mut self, val: bool)
AGC locks when Access Address is detected (recommended).
Trait Implementations§
§impl Clone for Agc1DigEng
impl Clone for Agc1DigEng
§fn clone(&self) -> Agc1DigEng
fn clone(&self) -> Agc1DigEng
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Agc1DigEng
impl Debug for Agc1DigEng
§impl Default for Agc1DigEng
impl Default for Agc1DigEng
§fn default() -> Agc1DigEng
fn default() -> Agc1DigEng
Returns the “default value” for a type. Read more
§impl PartialEq for Agc1DigEng
impl PartialEq for Agc1DigEng
impl Copy for Agc1DigEng
impl Eq for Agc1DigEng
impl StructuralPartialEq for Agc1DigEng
Auto Trait Implementations§
impl Freeze for Agc1DigEng
impl RefUnwindSafe for Agc1DigEng
impl Send for Agc1DigEng
impl Sync for Agc1DigEng
impl Unpin for Agc1DigEng
impl UnwindSafe for Agc1DigEng
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