#[repr(transparent)]pub struct BodDcdcIntCtrl(pub u32);Expand description
Brown Out Detectors (BoDs) & DCDC interrupts generation control register
Tuple Fields§
§0: u32Implementations§
Source§impl BodDcdcIntCtrl
impl BodDcdcIntCtrl
Sourcepub const fn bodvbat_int_enable(&self) -> bool
pub const fn bodvbat_int_enable(&self) -> bool
BOD VBAT interrupt control.
Sourcepub const fn set_bodvbat_int_enable(&mut self, val: bool)
pub const fn set_bodvbat_int_enable(&mut self, val: bool)
BOD VBAT interrupt control.
Sourcepub const fn bodvbat_int_clear(&self) -> bool
pub const fn bodvbat_int_clear(&self) -> bool
BOD VBAT interrupt clear.1: Clear the interrupt. Self-cleared bit.
Sourcepub const fn set_bodvbat_int_clear(&mut self, val: bool)
pub const fn set_bodvbat_int_clear(&mut self, val: bool)
BOD VBAT interrupt clear.1: Clear the interrupt. Self-cleared bit.
Sourcepub const fn bodcore_int_enable(&self) -> bool
pub const fn bodcore_int_enable(&self) -> bool
BOD CORE interrupt control.
Sourcepub const fn set_bodcore_int_enable(&mut self, val: bool)
pub const fn set_bodcore_int_enable(&mut self, val: bool)
BOD CORE interrupt control.
Sourcepub const fn bodcore_int_clear(&self) -> bool
pub const fn bodcore_int_clear(&self) -> bool
BOD CORE interrupt clear.1: Clear the interrupt. Self-cleared bit.
Sourcepub const fn set_bodcore_int_clear(&mut self, val: bool)
pub const fn set_bodcore_int_clear(&mut self, val: bool)
BOD CORE interrupt clear.1: Clear the interrupt. Self-cleared bit.
Sourcepub const fn dcdc_int_enable(&self) -> bool
pub const fn dcdc_int_enable(&self) -> bool
DCDC interrupt control.
Sourcepub const fn set_dcdc_int_enable(&mut self, val: bool)
pub const fn set_dcdc_int_enable(&mut self, val: bool)
DCDC interrupt control.
Sourcepub const fn dcdc_int_clear(&self) -> bool
pub const fn dcdc_int_clear(&self) -> bool
DCDC interrupt clear.1: Clear the interrupt. Self-cleared bit.
Sourcepub const fn set_dcdc_int_clear(&mut self, val: bool)
pub const fn set_dcdc_int_clear(&mut self, val: bool)
DCDC interrupt clear.1: Clear the interrupt. Self-cleared bit.
Trait Implementations§
Source§impl Clone for BodDcdcIntCtrl
impl Clone for BodDcdcIntCtrl
Source§fn clone(&self) -> BodDcdcIntCtrl
fn clone(&self) -> BodDcdcIntCtrl
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 moreSource§impl Debug for BodDcdcIntCtrl
impl Debug for BodDcdcIntCtrl
Source§impl Default for BodDcdcIntCtrl
impl Default for BodDcdcIntCtrl
Source§fn default() -> BodDcdcIntCtrl
fn default() -> BodDcdcIntCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for BodDcdcIntCtrl
impl PartialEq for BodDcdcIntCtrl
impl Copy for BodDcdcIntCtrl
impl Eq for BodDcdcIntCtrl
impl StructuralPartialEq for BodDcdcIntCtrl
Auto Trait Implementations§
impl Freeze for BodDcdcIntCtrl
impl RefUnwindSafe for BodDcdcIntCtrl
impl Send for BodDcdcIntCtrl
impl Sync for BodDcdcIntCtrl
impl Unpin for BodDcdcIntCtrl
impl UnwindSafe for BodDcdcIntCtrl
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