nrf5340_net_pac/
ecb_ns.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; 0x78],
9    #[doc = "0x80 - Subscribe configuration for task STARTECB"]
10    pub subscribe_startecb: SUBSCRIBE_STARTECB,
11    #[doc = "0x84 - Subscribe configuration for task STOPECB"]
12    pub subscribe_stopecb: SUBSCRIBE_STOPECB,
13    _reserved4: [u8; 0x78],
14    #[doc = "0x100 - ECB block encrypt complete"]
15    pub events_endecb: EVENTS_ENDECB,
16    #[doc = "0x104 - ECB block encrypt aborted because of a STOPECB task or due to an error"]
17    pub events_errorecb: EVENTS_ERRORECB,
18    _reserved6: [u8; 0x78],
19    #[doc = "0x180 - Publish configuration for event ENDECB"]
20    pub publish_endecb: PUBLISH_ENDECB,
21    #[doc = "0x184 - Publish configuration for event ERRORECB"]
22    pub publish_errorecb: PUBLISH_ERRORECB,
23    _reserved8: [u8; 0x017c],
24    #[doc = "0x304 - Enable interrupt"]
25    pub intenset: INTENSET,
26    #[doc = "0x308 - Disable interrupt"]
27    pub intenclr: INTENCLR,
28    _reserved10: [u8; 0x01f8],
29    #[doc = "0x504 - ECB block encrypt memory pointers"]
30    pub ecbdataptr: ECBDATAPTR,
31}
32#[doc = "TASKS_STARTECB (w) register accessor: an alias for `Reg<TASKS_STARTECB_SPEC>`"]
33pub type TASKS_STARTECB = crate::Reg<tasks_startecb::TASKS_STARTECB_SPEC>;
34#[doc = "Start ECB block encrypt"]
35pub mod tasks_startecb;
36#[doc = "TASKS_STOPECB (w) register accessor: an alias for `Reg<TASKS_STOPECB_SPEC>`"]
37pub type TASKS_STOPECB = crate::Reg<tasks_stopecb::TASKS_STOPECB_SPEC>;
38#[doc = "Abort a possible executing ECB operation"]
39pub mod tasks_stopecb;
40#[doc = "SUBSCRIBE_STARTECB (rw) register accessor: an alias for `Reg<SUBSCRIBE_STARTECB_SPEC>`"]
41pub type SUBSCRIBE_STARTECB = crate::Reg<subscribe_startecb::SUBSCRIBE_STARTECB_SPEC>;
42#[doc = "Subscribe configuration for task STARTECB"]
43pub mod subscribe_startecb;
44#[doc = "SUBSCRIBE_STOPECB (rw) register accessor: an alias for `Reg<SUBSCRIBE_STOPECB_SPEC>`"]
45pub type SUBSCRIBE_STOPECB = crate::Reg<subscribe_stopecb::SUBSCRIBE_STOPECB_SPEC>;
46#[doc = "Subscribe configuration for task STOPECB"]
47pub mod subscribe_stopecb;
48#[doc = "EVENTS_ENDECB (rw) register accessor: an alias for `Reg<EVENTS_ENDECB_SPEC>`"]
49pub type EVENTS_ENDECB = crate::Reg<events_endecb::EVENTS_ENDECB_SPEC>;
50#[doc = "ECB block encrypt complete"]
51pub mod events_endecb;
52#[doc = "EVENTS_ERRORECB (rw) register accessor: an alias for `Reg<EVENTS_ERRORECB_SPEC>`"]
53pub type EVENTS_ERRORECB = crate::Reg<events_errorecb::EVENTS_ERRORECB_SPEC>;
54#[doc = "ECB block encrypt aborted because of a STOPECB task or due to an error"]
55pub mod events_errorecb;
56#[doc = "PUBLISH_ENDECB (rw) register accessor: an alias for `Reg<PUBLISH_ENDECB_SPEC>`"]
57pub type PUBLISH_ENDECB = crate::Reg<publish_endecb::PUBLISH_ENDECB_SPEC>;
58#[doc = "Publish configuration for event ENDECB"]
59pub mod publish_endecb;
60#[doc = "PUBLISH_ERRORECB (rw) register accessor: an alias for `Reg<PUBLISH_ERRORECB_SPEC>`"]
61pub type PUBLISH_ERRORECB = crate::Reg<publish_errorecb::PUBLISH_ERRORECB_SPEC>;
62#[doc = "Publish configuration for event ERRORECB"]
63pub mod publish_errorecb;
64#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
65pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
66#[doc = "Enable interrupt"]
67pub mod intenset;
68#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
69pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
70#[doc = "Disable interrupt"]
71pub mod intenclr;
72#[doc = "ECBDATAPTR (rw) register accessor: an alias for `Reg<ECBDATAPTR_SPEC>`"]
73pub type ECBDATAPTR = crate::Reg<ecbdataptr::ECBDATAPTR_SPEC>;
74#[doc = "ECB block encrypt memory pointers"]
75pub mod ecbdataptr;