1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { # [ doc = "0x00 - Unspecified" ] pub unused0 : UNUSED0 , # [ doc = "0x04 - Unspecified" ] pub unused1 : UNUSED1 , # [ doc = "0x08 - Unspecified" ] pub unused2 : UNUSED2 , _reserved0 : [ u8 ; 4usize ] , # [ doc = "0x10 - Unspecified" ] pub unused3 : UNUSED3 , # [ doc = "0x14 - Description collection[0]: Reserved for Nordic firmware design" ] pub nrffw : [ NRFFW ; 15 ] , # [ doc = "0x50 - Description collection[0]: Reserved for Nordic hardware design" ] pub nrfhw : [ NRFHW ; 12 ] , # [ doc = "0x80 - Description collection[0]: Reserved for customer" ] pub customer : [ CUSTOMER ; 32 ] , _reserved1 : [ u8 ; 256usize ] , # [ doc = "0x200 - Description collection[0]: Mapping of the nRESET function" ] pub pselreset : [ PSELRESET ; 2 ] , # [ doc = "0x208 - Access port protection" ] pub approtect : APPROTECT , # [ doc = "0x20c - Setting of pins dedicated to NFC functionality: NFC antenna or GPIO" ] pub nfcpins : NFCPINS , _reserved2 : [ u8 ; 240usize ] , # [ doc = "0x300 - Enable external circuitry to be supplied from VDD pin. Applicable in high voltage mode only." ] pub extsupply : EXTSUPPLY , # [ doc = "0x304 - GPIO reference voltage / external output supply voltage in high voltage mode" ] pub regout0 : REGOUT0 } #[doc = "Unspecified"] pub struct UNUSED0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Unspecified"] pub mod unused0; #[doc = "Unspecified"] pub struct UNUSED1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Unspecified"] pub mod unused1; #[doc = "Unspecified"] pub struct UNUSED2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Unspecified"] pub mod unused2; #[doc = "Unspecified"] pub struct UNUSED3 { register: ::vcell::VolatileCell<u32>, } #[doc = "Unspecified"] pub mod unused3; #[doc = "Description collection[0]: Reserved for Nordic firmware design"] pub struct NRFFW { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[0]: Reserved for Nordic firmware design"] pub mod nrffw; #[doc = "Description collection[0]: Reserved for Nordic hardware design"] pub struct NRFHW { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[0]: Reserved for Nordic hardware design"] pub mod nrfhw; #[doc = "Description collection[0]: Reserved for customer"] pub struct CUSTOMER { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[0]: Reserved for customer"] pub mod customer; #[doc = "Description collection[0]: Mapping of the nRESET function"] pub struct PSELRESET { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[0]: Mapping of the nRESET function"] pub mod pselreset; #[doc = "Access port protection"] pub struct APPROTECT { register: ::vcell::VolatileCell<u32>, } #[doc = "Access port protection"] pub mod approtect; #[doc = "Setting of pins dedicated to NFC functionality: NFC antenna or GPIO"] pub struct NFCPINS { register: ::vcell::VolatileCell<u32>, } #[doc = "Setting of pins dedicated to NFC functionality: NFC antenna or GPIO"] pub mod nfcpins; # [ doc = "Enable external circuitry to be supplied from VDD pin. Applicable in high voltage mode only." ] pub struct EXTSUPPLY { register: ::vcell::VolatileCell<u32>, } # [ doc = "Enable external circuitry to be supplied from VDD pin. Applicable in high voltage mode only." ] pub mod extsupply; #[doc = "GPIO reference voltage / external output supply voltage in high voltage mode"] pub struct REGOUT0 { register: ::vcell::VolatileCell<u32>, } #[doc = "GPIO reference voltage / external output supply voltage in high voltage mode"] pub mod regout0;