#[repr(transparent)]pub struct Pmc(pub u32);Expand description
Pin Mode Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl Pmc
impl Pmc
Sourcepub const fn wupmc(&self, n: usize) -> bool
pub const fn wupmc(&self, n: usize) -> bool
Wake-up Pin Mode Configuration for WUU_Pn. Raw bit values: false (0) = LowPwrOnly: Active only during a low-leakage mode. You can modify the corresponding fields within Pin Enable (PEn) or Pin DMA/Trigger Configuration (PDCn).; true (1) = AnyPwr: Active during all power modes. Do not modify the corresponding fields within Pin Enable (PEn) or Pin DMA/Trigger Configuration (PDCn).
Sourcepub const fn set_wupmc(&mut self, n: usize, val: bool)
pub const fn set_wupmc(&mut self, n: usize, val: bool)
Wake-up Pin Mode Configuration for WUU_Pn. Raw bit values: false (0) = LowPwrOnly: Active only during a low-leakage mode. You can modify the corresponding fields within Pin Enable (PEn) or Pin DMA/Trigger Configuration (PDCn).; true (1) = AnyPwr: Active during all power modes. Do not modify the corresponding fields within Pin Enable (PEn) or Pin DMA/Trigger Configuration (PDCn).