Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 55 fields pub pio_per: Reg<PIO_PER_SPEC>, pub pio_pdr: Reg<PIO_PDR_SPEC>, pub pio_psr: Reg<PIO_PSR_SPEC>, pub pio_oer: Reg<PIO_OER_SPEC>, pub pio_odr: Reg<PIO_ODR_SPEC>, pub pio_osr: Reg<PIO_OSR_SPEC>, pub pio_ifer: Reg<PIO_IFER_SPEC>, pub pio_ifdr: Reg<PIO_IFDR_SPEC>, pub pio_ifsr: Reg<PIO_IFSR_SPEC>, pub pio_sodr: Reg<PIO_SODR_SPEC>, pub pio_codr: Reg<PIO_CODR_SPEC>, pub pio_odsr: Reg<PIO_ODSR_SPEC>, pub pio_pdsr: Reg<PIO_PDSR_SPEC>, pub pio_ier: Reg<PIO_IER_SPEC>, pub pio_idr: Reg<PIO_IDR_SPEC>, pub pio_imr: Reg<PIO_IMR_SPEC>, pub pio_isr: Reg<PIO_ISR_SPEC>, pub pio_mder: Reg<PIO_MDER_SPEC>, pub pio_mddr: Reg<PIO_MDDR_SPEC>, pub pio_mdsr: Reg<PIO_MDSR_SPEC>, pub pio_pudr: Reg<PIO_PUDR_SPEC>, pub pio_puer: Reg<PIO_PUER_SPEC>, pub pio_pusr: Reg<PIO_PUSR_SPEC>, pub pio_abcdsr: [Reg<PIO_ABCDSR_SPEC>; 2], pub pio_ifscdr: Reg<PIO_IFSCDR_SPEC>, pub pio_ifscer: Reg<PIO_IFSCER_SPEC>, pub pio_ifscsr: Reg<PIO_IFSCSR_SPEC>, pub pio_scdr: Reg<PIO_SCDR_SPEC>, pub pio_ppddr: Reg<PIO_PPDDR_SPEC>, pub pio_ppder: Reg<PIO_PPDER_SPEC>, pub pio_ppdsr: Reg<PIO_PPDSR_SPEC>, pub pio_ower: Reg<PIO_OWER_SPEC>, pub pio_owdr: Reg<PIO_OWDR_SPEC>, pub pio_owsr: Reg<PIO_OWSR_SPEC>, pub pio_aimer: Reg<PIO_AIMER_SPEC>, pub pio_aimdr: Reg<PIO_AIMDR_SPEC>, pub pio_aimmr: Reg<PIO_AIMMR_SPEC>, pub pio_esr: Reg<PIO_ESR_SPEC>, pub pio_lsr: Reg<PIO_LSR_SPEC>, pub pio_elsr: Reg<PIO_ELSR_SPEC>, pub pio_fellsr: Reg<PIO_FELLSR_SPEC>, pub pio_rehlsr: Reg<PIO_REHLSR_SPEC>, pub pio_frlhsr: Reg<PIO_FRLHSR_SPEC>, pub pio_locksr: Reg<PIO_LOCKSR_SPEC>, pub pio_wpmr: Reg<PIO_WPMR_SPEC>, pub pio_wpsr: Reg<PIO_WPSR_SPEC>, pub pio_version: Reg<PIO_VERSION_SPEC>, pub pio_schmitt: Reg<PIO_SCHMITT_SPEC>, pub pio_driver: Reg<PIO_DRIVER_SPEC>, pub pio_pcmr: Reg<PIO_PCMR_SPEC>, pub pio_pcier: Reg<PIO_PCIER_SPEC>, pub pio_pcidr: Reg<PIO_PCIDR_SPEC>, pub pio_pcimr: Reg<PIO_PCIMR_SPEC>, pub pio_pcisr: Reg<PIO_PCISR_SPEC>, pub pio_pcrhr: Reg<PIO_PCRHR_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§pio_per: Reg<PIO_PER_SPEC>

0x00 - PIO Enable Register

§pio_pdr: Reg<PIO_PDR_SPEC>

0x04 - PIO Disable Register

§pio_psr: Reg<PIO_PSR_SPEC>

0x08 - PIO Status Register

§pio_oer: Reg<PIO_OER_SPEC>

0x10 - Output Enable Register

§pio_odr: Reg<PIO_ODR_SPEC>

0x14 - Output Disable Register

§pio_osr: Reg<PIO_OSR_SPEC>

0x18 - Output Status Register

§pio_ifer: Reg<PIO_IFER_SPEC>

0x20 - Glitch Input Filter Enable Register

§pio_ifdr: Reg<PIO_IFDR_SPEC>

0x24 - Glitch Input Filter Disable Register

§pio_ifsr: Reg<PIO_IFSR_SPEC>

0x28 - Glitch Input Filter Status Register

§pio_sodr: Reg<PIO_SODR_SPEC>

0x30 - Set Output Data Register

§pio_codr: Reg<PIO_CODR_SPEC>

0x34 - Clear Output Data Register

§pio_odsr: Reg<PIO_ODSR_SPEC>

0x38 - Output Data Status Register

§pio_pdsr: Reg<PIO_PDSR_SPEC>

0x3c - Pin Data Status Register

§pio_ier: Reg<PIO_IER_SPEC>

0x40 - Interrupt Enable Register

§pio_idr: Reg<PIO_IDR_SPEC>

0x44 - Interrupt Disable Register

§pio_imr: Reg<PIO_IMR_SPEC>

0x48 - Interrupt Mask Register

§pio_isr: Reg<PIO_ISR_SPEC>

0x4c - Interrupt Status Register

§pio_mder: Reg<PIO_MDER_SPEC>

0x50 - Multi-driver Enable Register

§pio_mddr: Reg<PIO_MDDR_SPEC>

0x54 - Multi-driver Disable Register

§pio_mdsr: Reg<PIO_MDSR_SPEC>

0x58 - Multi-driver Status Register

§pio_pudr: Reg<PIO_PUDR_SPEC>

0x60 - Pull-up Disable Register

§pio_puer: Reg<PIO_PUER_SPEC>

0x64 - Pull-up Enable Register

§pio_pusr: Reg<PIO_PUSR_SPEC>

0x68 - Pad Pull-up Status Register

§pio_abcdsr: [Reg<PIO_ABCDSR_SPEC>; 2]

0x70..0x78 - Peripheral ABCD Select Register 0

§pio_ifscdr: Reg<PIO_IFSCDR_SPEC>

0x80 - Input Filter Slow Clock Disable Register

§pio_ifscer: Reg<PIO_IFSCER_SPEC>

0x84 - Input Filter Slow Clock Enable Register

§pio_ifscsr: Reg<PIO_IFSCSR_SPEC>

0x88 - Input Filter Slow Clock Status Register

§pio_scdr: Reg<PIO_SCDR_SPEC>

0x8c - Slow Clock Divider Debouncing Register

§pio_ppddr: Reg<PIO_PPDDR_SPEC>

0x90 - Pad Pull-down Disable Register

§pio_ppder: Reg<PIO_PPDER_SPEC>

0x94 - Pad Pull-down Enable Register

§pio_ppdsr: Reg<PIO_PPDSR_SPEC>

0x98 - Pad Pull-down Status Register

§pio_ower: Reg<PIO_OWER_SPEC>

0xa0 - Output Write Enable

§pio_owdr: Reg<PIO_OWDR_SPEC>

0xa4 - Output Write Disable

§pio_owsr: Reg<PIO_OWSR_SPEC>

0xa8 - Output Write Status Register

§pio_aimer: Reg<PIO_AIMER_SPEC>

0xb0 - Additional Interrupt Modes Enable Register

§pio_aimdr: Reg<PIO_AIMDR_SPEC>

0xb4 - Additional Interrupt Modes Disable Register

§pio_aimmr: Reg<PIO_AIMMR_SPEC>

0xb8 - Additional Interrupt Modes Mask Register

§pio_esr: Reg<PIO_ESR_SPEC>

0xc0 - Edge Select Register

§pio_lsr: Reg<PIO_LSR_SPEC>

0xc4 - Level Select Register

§pio_elsr: Reg<PIO_ELSR_SPEC>

0xc8 - Edge/Level Status Register

§pio_fellsr: Reg<PIO_FELLSR_SPEC>

0xd0 - Falling Edge/Low-Level Select Register

§pio_rehlsr: Reg<PIO_REHLSR_SPEC>

0xd4 - Rising Edge/High-Level Select Register

§pio_frlhsr: Reg<PIO_FRLHSR_SPEC>

0xd8 - Fall/Rise - Low/High Status Register

§pio_locksr: Reg<PIO_LOCKSR_SPEC>

0xe0 - Lock Status

§pio_wpmr: Reg<PIO_WPMR_SPEC>

0xe4 - Write Protection Mode Register

§pio_wpsr: Reg<PIO_WPSR_SPEC>

0xe8 - Write Protection Status Register

§pio_version: Reg<PIO_VERSION_SPEC>

0xfc - Version Register

§pio_schmitt: Reg<PIO_SCHMITT_SPEC>

0x100 - Schmitt Trigger Register

§pio_driver: Reg<PIO_DRIVER_SPEC>

0x118 - I/O Drive Register

§pio_pcmr: Reg<PIO_PCMR_SPEC>

0x150 - Parallel Capture Mode Register

§pio_pcier: Reg<PIO_PCIER_SPEC>

0x154 - Parallel Capture Interrupt Enable Register

§pio_pcidr: Reg<PIO_PCIDR_SPEC>

0x158 - Parallel Capture Interrupt Disable Register

§pio_pcimr: Reg<PIO_PCIMR_SPEC>

0x15c - Parallel Capture Interrupt Mask Register

§pio_pcisr: Reg<PIO_PCISR_SPEC>

0x160 - Parallel Capture Interrupt Status Register

§pio_pcrhr: Reg<PIO_PCRHR_SPEC>

0x164 - Parallel Capture Reception Holding 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.