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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Status register"] pub stat: STAT, #[doc = "0x04 - Data register"] pub data: DATA, #[doc = "0x08 - Baud rate register"] pub baud: BAUD, #[doc = "0x0c - Control register 0"] pub ctl0: CTL0, #[doc = "0x10 - Control register 1"] pub ctl1: CTL1, #[doc = "0x14 - Control register 2"] pub ctl2: CTL2, #[doc = "0x18 - Guard time and prescaler register"] pub gp: GP, } #[doc = "Status register"] pub struct STAT { register: ::vcell::VolatileCell<u32>, } #[doc = "Status register"] pub mod stat; #[doc = "Data register"] pub struct DATA { register: ::vcell::VolatileCell<u32>, } #[doc = "Data register"] pub mod data; #[doc = "Baud rate register"] pub struct BAUD { register: ::vcell::VolatileCell<u32>, } #[doc = "Baud rate register"] pub mod baud; #[doc = "Control register 0"] pub struct CTL0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Control register 0"] pub mod ctl0; #[doc = "Control register 1"] pub struct CTL1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Control register 1"] pub mod ctl1; #[doc = "Control register 2"] pub struct CTL2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Control register 2"] pub mod ctl2; #[doc = "Guard time and prescaler register"] pub struct GP { register: ::vcell::VolatileCell<u32>, } #[doc = "Guard time and prescaler register"] pub mod gp;