Struct atsam4ls8b_pac::catb::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 20 fields
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,
/* private fields */
}
Expand description
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§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more