#[repr(transparent)]pub struct MegaPdnscr(pub u32);Expand description
PGC Mega Pull Down Sequence Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl MegaPdnscr
impl MegaPdnscr
Sourcepub const fn iso(&self) -> u8
pub const fn iso(&self) -> u8
After a power-down request (pdn_req assertion), the PGC waits a number of IPG clocks equal to the value of ISO before asserting isolation
Sourcepub const fn set_iso(&mut self, val: u8)
pub const fn set_iso(&mut self, val: u8)
After a power-down request (pdn_req assertion), the PGC waits a number of IPG clocks equal to the value of ISO before asserting isolation
Sourcepub const fn iso2sw(&self) -> u8
pub const fn iso2sw(&self) -> u8
After asserting isolation, the PGC waits a number of IPG clocks equal to the value of ISO2SW before negating power toggle on/off signal (switch_b) to switch off power
Sourcepub const fn set_iso2sw(&mut self, val: u8)
pub const fn set_iso2sw(&mut self, val: u8)
After asserting isolation, the PGC waits a number of IPG clocks equal to the value of ISO2SW before negating power toggle on/off signal (switch_b) to switch off power
Trait Implementations§
Source§impl Clone for MegaPdnscr
impl Clone for MegaPdnscr
Source§fn clone(&self) -> MegaPdnscr
fn clone(&self) -> MegaPdnscr
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 MegaPdnscr
impl Debug for MegaPdnscr
Source§impl Default for MegaPdnscr
impl Default for MegaPdnscr
Source§fn default() -> MegaPdnscr
fn default() -> MegaPdnscr
Returns the “default value” for a type. Read more
Source§impl PartialEq for MegaPdnscr
impl PartialEq for MegaPdnscr
impl Copy for MegaPdnscr
impl Eq for MegaPdnscr
impl StructuralPartialEq for MegaPdnscr
Auto Trait Implementations§
impl Freeze for MegaPdnscr
impl RefUnwindSafe for MegaPdnscr
impl Send for MegaPdnscr
impl Sync for MegaPdnscr
impl Unpin for MegaPdnscr
impl UnwindSafe for MegaPdnscr
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