Struct stm32_metapac::adc::regs::Calfact
#[repr(transparent)]pub struct Calfact(pub u32);
Expand description
ADC user control register.
Tuple Fields§
§0: u32
Implementations§
§impl Calfact
impl Calfact
pub const fn i_apb_addr(&self) -> u8
pub const fn i_apb_addr(&self) -> u8
I_APB_ADDR.
pub fn set_i_apb_addr(&mut self, val: u8)
pub fn set_i_apb_addr(&mut self, val: u8)
I_APB_ADDR.
pub const fn i_apb_data(&self) -> u8
pub const fn i_apb_data(&self) -> u8
I_APB_DATA.
pub fn set_i_apb_data(&mut self, val: u8)
pub fn set_i_apb_data(&mut self, val: u8)
I_APB_DATA.
pub fn set_validity(&mut self, val: bool)
pub fn set_validity(&mut self, val: bool)
VALIDITY.
pub const fn latch_coef(&self) -> bool
pub const fn latch_coef(&self) -> bool
LATCH_COEF.
pub fn set_latch_coef(&mut self, val: bool)
pub fn set_latch_coef(&mut self, val: bool)
LATCH_COEF.
pub const fn capture_coef(&self) -> bool
pub const fn capture_coef(&self) -> bool
CAPTURE_COEF.
pub fn set_capture_coef(&mut self, val: bool)
pub fn set_capture_coef(&mut self, val: bool)
CAPTURE_COEF.
Trait Implementations§
impl Copy for Calfact
impl Eq for Calfact
impl StructuralPartialEq for Calfact
Auto Trait Implementations§
impl Freeze for Calfact
impl RefUnwindSafe for Calfact
impl Send for Calfact
impl Sync for Calfact
impl Unpin for Calfact
impl UnwindSafe for Calfact
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
)