#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Start ECB block encrypt. If a crypto operation is running, this will not initiate a new encryption and the ERRORECB event will be triggered."] pub tasks_startecb: TASKS_STARTECB, #[doc = "0x04 - Stop current ECB encryption. If a crypto operation is running, this will will trigger the ERRORECB event."] pub tasks_stopecb: TASKS_STOPECB, _reserved2: [u8; 0xf8], #[doc = "0x100 - ECB block encrypt complete."] pub events_endecb: EVENTS_ENDECB, #[doc = "0x104 - ECB block encrypt aborted due to a STOPECB task or due to an error."] pub events_errorecb: EVENTS_ERRORECB, _reserved4: [u8; 0x01fc], #[doc = "0x304 - Interrupt enable set register."] pub intenset: INTENSET, #[doc = "0x308 - Interrupt enable clear register."] pub intenclr: INTENCLR, _reserved6: [u8; 0x01f8], #[doc = "0x504 - ECB block encrypt memory pointer."] pub ecbdataptr: ECBDATAPTR, _reserved7: [u8; 0x0af4], #[doc = "0xffc - Peripheral power control."] pub power: POWER, } #[doc = "TASKS_STARTECB (w) register accessor: an alias for `Reg`"] pub type TASKS_STARTECB = crate::Reg; #[doc = "Start ECB block encrypt. If a crypto operation is running, this will not initiate a new encryption and the ERRORECB event will be triggered."] pub mod tasks_startecb; #[doc = "TASKS_STOPECB (w) register accessor: an alias for `Reg`"] pub type TASKS_STOPECB = crate::Reg; #[doc = "Stop current ECB encryption. If a crypto operation is running, this will will trigger the ERRORECB event."] pub mod tasks_stopecb; #[doc = "EVENTS_ENDECB (rw) register accessor: an alias for `Reg`"] pub type EVENTS_ENDECB = crate::Reg; #[doc = "ECB block encrypt complete."] pub mod events_endecb; #[doc = "EVENTS_ERRORECB (rw) register accessor: an alias for `Reg`"] pub type EVENTS_ERRORECB = crate::Reg; #[doc = "ECB block encrypt aborted due to a STOPECB task or due to an error."] pub mod events_errorecb; #[doc = "INTENSET (rw) register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Interrupt enable set register."] pub mod intenset; #[doc = "INTENCLR (rw) register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Interrupt enable clear register."] pub mod intenclr; #[doc = "ECBDATAPTR (rw) register accessor: an alias for `Reg`"] pub type ECBDATAPTR = crate::Reg; #[doc = "ECB block encrypt memory pointer."] pub mod ecbdataptr; #[doc = "POWER (rw) register accessor: an alias for `Reg`"] pub type POWER = crate::Reg; #[doc = "Peripheral power control."] pub mod power;