#[repr(transparent)]pub struct Bod(pub u32);
Expand description
Brown-out Detection Settings
Tuple Fields§
§0: u32
Implementations§
source§impl Bod
impl Bod
sourcepub const fn vsel(&self) -> u8
pub const fn vsel(&self) -> u8
threshold select 00000 - 0.473V 00001 - 0.516V 00010 - 0.559V 00011 - 0.602V 00100 - 0.645VS 00101 - 0.688V 00110 - 0.731V 00111 - 0.774V 01000 - 0.817V 01001 - 0.860V (default) 01010 - 0.903V 01011 - 0.946V 01100 - 0.989V 01101 - 1.032V 01110 - 1.075V 01111 - 1.118V 10000 - 1.161 10001 - 1.204V
sourcepub fn set_vsel(&mut self, val: u8)
pub fn set_vsel(&mut self, val: u8)
threshold select 00000 - 0.473V 00001 - 0.516V 00010 - 0.559V 00011 - 0.602V 00100 - 0.645VS 00101 - 0.688V 00110 - 0.731V 00111 - 0.774V 01000 - 0.817V 01001 - 0.860V (default) 01010 - 0.903V 01011 - 0.946V 01100 - 0.989V 01101 - 1.032V 01110 - 1.075V 01111 - 1.118V 10000 - 1.161 10001 - 1.204V
Trait Implementations§
impl Copy for Bod
impl Eq for Bod
impl StructuralPartialEq for Bod
Auto Trait Implementations§
impl Freeze for Bod
impl RefUnwindSafe for Bod
impl Send for Bod
impl Sync for Bod
impl Unpin for Bod
impl UnwindSafe for Bod
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
)