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
Trait Implementations§
impl Copy for Exti
impl Eq for Exti
impl StructuralPartialEq for Exti
Auto Trait Implementations§
impl Freeze for Exti
impl RefUnwindSafe for Exti
impl Send for Exti
impl Sync for Exti
impl Unpin for Exti
impl UnwindSafe for Exti
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)