pub struct R(_);
Expand description
Register WKUPEPR
reader
Implementations
sourceimpl R
impl R
sourcepub fn wkupen1(&self) -> BitReaderRaw<bool>
pub fn wkupen1(&self) -> BitReaderRaw<bool>
Bit 0 - Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge.
sourcepub fn wkupen2(&self) -> BitReaderRaw<bool>
pub fn wkupen2(&self) -> BitReaderRaw<bool>
Bit 1 - Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge.
sourcepub fn wkupen3(&self) -> BitReaderRaw<bool>
pub fn wkupen3(&self) -> BitReaderRaw<bool>
Bit 2 - Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge.
sourcepub fn wkupen4(&self) -> BitReaderRaw<bool>
pub fn wkupen4(&self) -> BitReaderRaw<bool>
Bit 3 - Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge.
sourcepub fn wkupen5(&self) -> BitReaderRaw<bool>
pub fn wkupen5(&self) -> BitReaderRaw<bool>
Bit 4 - Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge.
sourcepub fn wkupen6(&self) -> BitReaderRaw<bool>
pub fn wkupen6(&self) -> BitReaderRaw<bool>
Bit 5 - Enable Wakeup Pin WKUPn+1 Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn+1 pin is enabled (by setting the WKUPENn+1 bit) when WKUPn+1 pin level is already high when WKUPPn+1 selects rising edge, or low when WKUPPn+1 selects falling edge.
sourcepub fn wkupp1(&self) -> BitReaderRaw<bool>
pub fn wkupp1(&self) -> BitReaderRaw<bool>
Bit 8 - Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin.
sourcepub fn wkupp2(&self) -> BitReaderRaw<bool>
pub fn wkupp2(&self) -> BitReaderRaw<bool>
Bit 9 - Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin.
sourcepub fn wkupp3(&self) -> BitReaderRaw<bool>
pub fn wkupp3(&self) -> BitReaderRaw<bool>
Bit 10 - Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin.
sourcepub fn wkupp4(&self) -> BitReaderRaw<bool>
pub fn wkupp4(&self) -> BitReaderRaw<bool>
Bit 11 - Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin.
sourcepub fn wkupp5(&self) -> BitReaderRaw<bool>
pub fn wkupp5(&self) -> BitReaderRaw<bool>
Bit 12 - Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin.
sourcepub fn wkupp6(&self) -> BitReaderRaw<bool>
pub fn wkupp6(&self) -> BitReaderRaw<bool>
Bit 13 - Wakeup pin polarity bit for WKUPn-7 These bits define the polarity used for event detection on WKUPn-7 external wakeup pin.
sourcepub fn wkuppupd6(&self) -> FieldReaderRaw<u8, u8>
pub fn wkuppupd6(&self) -> FieldReaderRaw<u8, u8>
Bits 26:27 - Wakeup pin pull configuration for WKUP(truncate(n/2)-7) These bits define the I/O pad pull configuration used when WKUPEN(truncate(n/2)-7) = 1. The associated GPIO port pull configuration shall be set to the same value or to 00. The Wakeup pin pull configuration is kept in Standby mode.
Methods from Deref<Target = R<WKUPEPR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.