Struct lpc845_pac::capt::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {
pub ctrl: Reg<CTRL_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub poll_tcnt: Reg<POLL_TCNT_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intstat: Reg<INTSTAT_SPEC>,
pub touch: Reg<TOUCH_SPEC>,
pub id: Reg<ID_SPEC>,
// some fields omitted
}
Expand description
Register block
Fields
ctrl: Reg<CTRL_SPEC>
0x00 - Configuration and control to setup the functional clock, the rules, and the pin selections and rules.
status: Reg<STATUS_SPEC>
0x04 - Status from triggers and time-outs including if in a poll now. Some are used for interrupts.
poll_tcnt: Reg<POLL_TCNT_SPEC>
0x08 - This sets up the polling counter and measurement counter rules.
intenset: Reg<INTENSET_SPEC>
0x10 - Interrupt enable
intenclr: Reg<INTENCLR_SPEC>
0x14 - Interrupt enable clear
intstat: Reg<INTSTAT_SPEC>
0x18 - Interrupt status (mask of STATUS and INTEN)
touch: Reg<TOUCH_SPEC>
0x20 - Last touch event (touch or no-touch) in context.
id: Reg<ID_SPEC>
0xffc - Block ID