Struct stm32_metapac::exti::regs::Exti
#[repr(transparent)]pub struct Exti(pub u32);
Expand description
EXTI external interrupt selection register
Tuple Fields§
§0: u32
Implementations§
§impl Exti
impl Exti
pub const fn exti(&self, n: usize) -> u8
pub const fn exti(&self, n: usize) -> u8
EXTI12 GPIO port selection These bits are written by software to select the source input for EXTI12 external interrupt. When EXTI_PRIVCFGR.PRIV12 is disabled, EXTI12 can be accessed with privileged and unprivileged access. When EXTI_PRIVCFGR.PRIV12 is enabled, EXTI12 can only be accessed with privileged access. Unprivileged write to this bit is discarded. Others: reserved
pub fn set_exti(&mut self, n: usize, val: u8)
pub fn set_exti(&mut self, n: usize, val: u8)
EXTI12 GPIO port selection These bits are written by software to select the source input for EXTI12 external interrupt. When EXTI_PRIVCFGR.PRIV12 is disabled, EXTI12 can be accessed with privileged and unprivileged access. When EXTI_PRIVCFGR.PRIV12 is enabled, EXTI12 can only be accessed with privileged access. Unprivileged write to this bit is discarded. Others: reserved