Struct rp_pac::powman::regs::BodLpEntry
source · #[repr(transparent)]pub struct BodLpEntry(pub u32);
Expand description
Brown-out Detection Low Power Entry Settings
Tuple Fields§
§0: u32
Implementations§
source§impl BodLpEntry
impl BodLpEntry
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§
source§impl Clone for BodLpEntry
impl Clone for BodLpEntry
source§fn clone(&self) -> BodLpEntry
fn clone(&self) -> BodLpEntry
Returns a copy 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 Default for BodLpEntry
impl Default for BodLpEntry
source§fn default() -> BodLpEntry
fn default() -> BodLpEntry
Returns the “default value” for a type. Read more
source§impl PartialEq for BodLpEntry
impl PartialEq for BodLpEntry
impl Copy for BodLpEntry
impl Eq for BodLpEntry
impl StructuralPartialEq for BodLpEntry
Auto Trait Implementations§
impl Freeze for BodLpEntry
impl RefUnwindSafe for BodLpEntry
impl Send for BodLpEntry
impl Sync for BodLpEntry
impl Unpin for BodLpEntry
impl UnwindSafe for BodLpEntry
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
)