#[repr(transparent)]pub struct AdcCtrl(pub u32);Expand description
General Purpose ADC VBAT Divider branch control
Tuple Fields§
§0: u32Implementations§
Source§impl AdcCtrl
impl AdcCtrl
Sourcepub const fn vbatdivenable(&self) -> bool
pub const fn vbatdivenable(&self) -> bool
Switch On/Off VBAT divider branch.
Sourcepub const fn set_vbatdivenable(&mut self, val: bool)
pub const fn set_vbatdivenable(&mut self, val: bool)
Switch On/Off VBAT divider branch.
Trait Implementations§
impl Copy for AdcCtrl
impl Eq for AdcCtrl
impl StructuralPartialEq for AdcCtrl
Auto Trait Implementations§
impl Freeze for AdcCtrl
impl RefUnwindSafe for AdcCtrl
impl Send for AdcCtrl
impl Sync for AdcCtrl
impl Unpin for AdcCtrl
impl UnwindSafe for AdcCtrl
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