#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Start the random number generator."] pub tasks_start: TASKS_START, #[doc = "0x04 - Stop the random number generator."] pub tasks_stop: TASKS_STOP, _reserved2: [u8; 0xf8], #[doc = "0x100 - New random number generated and written to VALUE register."] pub events_valrdy: EVENTS_VALRDY, _reserved3: [u8; 0xfc], #[doc = "0x200 - Shortcuts for the RNG."] pub shorts: SHORTS, _reserved4: [u8; 0x0100], #[doc = "0x304 - Interrupt enable set register"] pub intenset: INTENSET, #[doc = "0x308 - Interrupt enable clear register"] pub intenclr: INTENCLR, _reserved6: [u8; 0x01f8], #[doc = "0x504 - Configuration register."] pub config: CONFIG, #[doc = "0x508 - RNG random number."] pub value: VALUE, _reserved8: [u8; 0x0af0], #[doc = "0xffc - Peripheral power control."] pub power: POWER, } #[doc = "TASKS_START (w) register accessor: an alias for `Reg`"] pub type TASKS_START = crate::Reg; #[doc = "Start the random number generator."] pub mod tasks_start; #[doc = "TASKS_STOP (w) register accessor: an alias for `Reg`"] pub type TASKS_STOP = crate::Reg; #[doc = "Stop the random number generator."] pub mod tasks_stop; #[doc = "EVENTS_VALRDY (rw) register accessor: an alias for `Reg`"] pub type EVENTS_VALRDY = crate::Reg; #[doc = "New random number generated and written to VALUE register."] pub mod events_valrdy; #[doc = "SHORTS (rw) register accessor: an alias for `Reg`"] pub type SHORTS = crate::Reg; #[doc = "Shortcuts for the RNG."] pub mod shorts; #[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 = "CONFIG (rw) register accessor: an alias for `Reg`"] pub type CONFIG = crate::Reg; #[doc = "Configuration register."] pub mod config; #[doc = "VALUE (r) register accessor: an alias for `Reg`"] pub type VALUE = crate::Reg; #[doc = "RNG random number."] pub mod value; #[doc = "POWER (rw) register accessor: an alias for `Reg`"] pub type POWER = crate::Reg; #[doc = "Peripheral power control."] pub mod power;