Struct ctru_sys::PtmWakeEvents
source · #[repr(C)]pub struct PtmWakeEvents {
pub pdn_wake_events: u32_,
pub mcu_interupt_mask: u32_,
}
Expand description
PDN wake events and MCU interrupts to select, combined with those of other processes
Fields§
§pdn_wake_events: u32_
< Written to PDN_WAKE_EVENTS. Don’t select bit26 (MCU), PTM will do it automatically.
mcu_interupt_mask: u32_
< MCU interrupts to check when a MCU wake event happens.
Trait Implementations§
source§impl Clone for PtmWakeEvents
impl Clone for PtmWakeEvents
source§fn clone(&self) -> PtmWakeEvents
fn clone(&self) -> PtmWakeEvents
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PtmWakeEvents
impl Debug for PtmWakeEvents
source§impl Default for PtmWakeEvents
impl Default for PtmWakeEvents
source§fn default() -> PtmWakeEvents
fn default() -> PtmWakeEvents
Returns the “default value” for a type. Read more