nrf52840_pac/
ecb.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Start ECB block encrypt"]
5    pub tasks_startecb: TASKS_STARTECB,
6    #[doc = "0x04 - Abort a possible executing ECB operation"]
7    pub tasks_stopecb: TASKS_STOPECB,
8    _reserved2: [u8; 0xf8],
9    #[doc = "0x100 - ECB block encrypt complete"]
10    pub events_endecb: EVENTS_ENDECB,
11    #[doc = "0x104 - ECB block encrypt aborted because of a STOPECB task or due to an error"]
12    pub events_errorecb: EVENTS_ERRORECB,
13    _reserved4: [u8; 0x01fc],
14    #[doc = "0x304 - Enable interrupt"]
15    pub intenset: INTENSET,
16    #[doc = "0x308 - Disable interrupt"]
17    pub intenclr: INTENCLR,
18    _reserved6: [u8; 0x01f8],
19    #[doc = "0x504 - ECB block encrypt memory pointers"]
20    pub ecbdataptr: ECBDATAPTR,
21}
22#[doc = "TASKS_STARTECB (w) register accessor: an alias for `Reg<TASKS_STARTECB_SPEC>`"]
23pub type TASKS_STARTECB = crate::Reg<tasks_startecb::TASKS_STARTECB_SPEC>;
24#[doc = "Start ECB block encrypt"]
25pub mod tasks_startecb;
26#[doc = "TASKS_STOPECB (w) register accessor: an alias for `Reg<TASKS_STOPECB_SPEC>`"]
27pub type TASKS_STOPECB = crate::Reg<tasks_stopecb::TASKS_STOPECB_SPEC>;
28#[doc = "Abort a possible executing ECB operation"]
29pub mod tasks_stopecb;
30#[doc = "EVENTS_ENDECB (rw) register accessor: an alias for `Reg<EVENTS_ENDECB_SPEC>`"]
31pub type EVENTS_ENDECB = crate::Reg<events_endecb::EVENTS_ENDECB_SPEC>;
32#[doc = "ECB block encrypt complete"]
33pub mod events_endecb;
34#[doc = "EVENTS_ERRORECB (rw) register accessor: an alias for `Reg<EVENTS_ERRORECB_SPEC>`"]
35pub type EVENTS_ERRORECB = crate::Reg<events_errorecb::EVENTS_ERRORECB_SPEC>;
36#[doc = "ECB block encrypt aborted because of a STOPECB task or due to an error"]
37pub mod events_errorecb;
38#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
39pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
40#[doc = "Enable interrupt"]
41pub mod intenset;
42#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
43pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
44#[doc = "Disable interrupt"]
45pub mod intenclr;
46#[doc = "ECBDATAPTR (rw) register accessor: an alias for `Reg<ECBDATAPTR_SPEC>`"]
47pub type ECBDATAPTR = crate::Reg<ecbdataptr::ECBDATAPTR_SPEC>;
48#[doc = "ECB block encrypt memory pointers"]
49pub mod ecbdataptr;