RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub isel: Reg<ISEL_SPEC>, pub ienr: Reg<IENR_SPEC>, pub sienr: Reg<SIENR_SPEC>, pub cienr: Reg<CIENR_SPEC>, pub ienf: Reg<IENF_SPEC>, pub sienf: Reg<SIENF_SPEC>, pub cienf: Reg<CIENF_SPEC>, pub rise: Reg<RISE_SPEC>, pub fall: Reg<FALL_SPEC>, pub ist: Reg<IST_SPEC>, pub pmctrl: Reg<PMCTRL_SPEC>, pub pmsrc: Reg<PMSRC_SPEC>, pub pmcfg: Reg<PMCFG_SPEC>,
}
Expand description

Register block

Fields§

§isel: Reg<ISEL_SPEC>

0x00 - Pin Interrupt Mode register

§ienr: Reg<IENR_SPEC>

0x04 - Pin interrupt level or rising edge interrupt enable register

§sienr: Reg<SIENR_SPEC>

0x08 - Pin interrupt level or rising edge interrupt set register

§cienr: Reg<CIENR_SPEC>

0x0c - Pin interrupt level (rising edge interrupt) clear register

§ienf: Reg<IENF_SPEC>

0x10 - Pin interrupt active level or falling edge interrupt enable register

§sienf: Reg<SIENF_SPEC>

0x14 - Pin interrupt active level or falling edge interrupt set register

§cienf: Reg<CIENF_SPEC>

0x18 - Pin interrupt active level or falling edge interrupt clear register

§rise: Reg<RISE_SPEC>

0x1c - Pin interrupt rising edge register

§fall: Reg<FALL_SPEC>

0x20 - Pin interrupt falling edge register

§ist: Reg<IST_SPEC>

0x24 - Pin interrupt status register

§pmctrl: Reg<PMCTRL_SPEC>

0x28 - Pattern match interrupt control register

§pmsrc: Reg<PMSRC_SPEC>

0x2c - Pattern match interrupt bit-slice source register

§pmcfg: Reg<PMCFG_SPEC>

0x30 - Pattern match interrupt bit slice configuration register

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.