Struct atsam4ls4c_pac::catb::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub cr: CR,
    pub cntcr: CNTCR,
    pub idle: IDLE,
    pub level: LEVEL,
    pub raw: RAW,
    pub timing: TIMING,
    pub thresh: THRESH,
    pub pinsel: PINSEL,
    pub dma: DMA,
    pub isr: ISR,
    pub ier: IER,
    pub idr: IDR,
    pub imr: IMR,
    pub scr: SCR,
    pub intch: [INTCH; 1],
    pub intchclr: [INTCHCLR; 1],
    pub outtch: [OUTTCH; 1],
    pub outtchclr: [OUTTCHCLR; 1],
    pub parameter: PARAMETER,
    pub version: VERSION,
    // some fields omitted
}

Register block

Fields

cr: CR

0x00 - Control Register

cntcr: CNTCR

0x04 - Counter Control Register

idle: IDLE

0x08 - Sensor Idle Level

level: LEVEL

0x0c - Sensor Relative Level

raw: RAW

0x10 - Sensor Raw Value

timing: TIMING

0x14 - Filter Timing Register

thresh: THRESH

0x18 - Threshold Register

pinsel: PINSEL

0x1c - Pin Selection Register

dma: DMA

0x20 - Direct Memory Access Register

isr: ISR

0x24 - Interrupt Status Register

ier: IER

0x28 - Interrupt Enable Register

idr: IDR

0x2c - Interrupt Disable Register

imr: IMR

0x30 - Interrupt Mask Register

scr: SCR

0x34 - Status Clear Register

intch: [INTCH; 1]

0x40 - In-Touch Status Register

intchclr: [INTCHCLR; 1]

0x50 - In-Touch Status Clear Register

outtch: [OUTTCH; 1]

0x60 - Out-of-Touch Status Register

outtchclr: [OUTTCHCLR; 1]

0x70 - Out-of-Touch Status Clear Register

parameter: PARAMETER

0xf8 - Parameter Register

version: VERSION

0xfc - Version Register

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.