Struct atsam4lc8b_pac::catb::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show 20 fields pub cr: Reg<CR_SPEC>, pub cntcr: Reg<CNTCR_SPEC>, pub idle: Reg<IDLE_SPEC>, pub level: Reg<LEVEL_SPEC>, pub raw: Reg<RAW_SPEC>, pub timing: Reg<TIMING_SPEC>, pub thresh: Reg<THRESH_SPEC>, pub pinsel: Reg<PINSEL_SPEC>, pub dma: Reg<DMA_SPEC>, pub isr: Reg<ISR_SPEC>, pub ier: Reg<IER_SPEC>, pub idr: Reg<IDR_SPEC>, pub imr: Reg<IMR_SPEC>, pub scr: Reg<SCR_SPEC>, pub intch: [Reg<INTCH_SPEC>; 1], pub intchclr: [Reg<INTCHCLR_SPEC>; 1], pub outtch: [Reg<OUTTCH_SPEC>; 1], pub outtchclr: [Reg<OUTTCHCLR_SPEC>; 1], pub parameter: Reg<PARAMETER_SPEC>, pub version: Reg<VERSION_SPEC>, // some fields omitted
}
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - Control Register

cntcr: Reg<CNTCR_SPEC>

0x04 - Counter Control Register

idle: Reg<IDLE_SPEC>

0x08 - Sensor Idle Level

level: Reg<LEVEL_SPEC>

0x0c - Sensor Relative Level

raw: Reg<RAW_SPEC>

0x10 - Sensor Raw Value

timing: Reg<TIMING_SPEC>

0x14 - Filter Timing Register

thresh: Reg<THRESH_SPEC>

0x18 - Threshold Register

pinsel: Reg<PINSEL_SPEC>

0x1c - Pin Selection Register

dma: Reg<DMA_SPEC>

0x20 - Direct Memory Access Register

isr: Reg<ISR_SPEC>

0x24 - Interrupt Status Register

ier: Reg<IER_SPEC>

0x28 - Interrupt Enable Register

idr: Reg<IDR_SPEC>

0x2c - Interrupt Disable Register

imr: Reg<IMR_SPEC>

0x30 - Interrupt Mask Register

scr: Reg<SCR_SPEC>

0x34 - Status Clear Register

intch: [Reg<INTCH_SPEC>; 1]

0x40 - In-Touch Status Register

intchclr: [Reg<INTCHCLR_SPEC>; 1]

0x50 - In-Touch Status Clear Register

outtch: [Reg<OUTTCH_SPEC>; 1]

0x60 - Out-of-Touch Status Register

outtchclr: [Reg<OUTTCHCLR_SPEC>; 1]

0x70 - Out-of-Touch Status Clear Register

parameter: Reg<PARAMETER_SPEC>

0xf8 - Parameter Register

version: Reg<VERSION_SPEC>

0xfc - Version Register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.