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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - SCSMR"] pub smr: SMR, _reserved0: [u8; 2usize], #[doc = "0x04 - SCBRR"] pub brr: BRR, _reserved1: [u8; 3usize], #[doc = "0x08 - SCSCR"] pub scr: SCR, _reserved2: [u8; 2usize], #[doc = "0x0c - SCFTDR"] pub ftdr: FTDR, _reserved3: [u8; 3usize], #[doc = "0x10 - SCFSR"] pub fsr: FSR, _reserved4: [u8; 2usize], #[doc = "0x14 - SCFRDR"] pub frdr: FRDR, _reserved5: [u8; 3usize], #[doc = "0x18 - SCFCR"] pub fcr: FCR, _reserved6: [u8; 2usize], #[doc = "0x1c - SCFDR"] pub fdr: FDR, _reserved7: [u8; 2usize], #[doc = "0x20 - SCSPTR"] pub sptr: SPTR, _reserved8: [u8; 2usize], #[doc = "0x24 - SCLSR"] pub lsr: LSR, _reserved9: [u8; 2usize], #[doc = "0x28 - SCEMR"] pub emr: EMR, } #[doc = "SCSMR"] pub struct SMR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCSMR"] pub mod smr; #[doc = "SCBRR"] pub struct BRR { register: ::vcell::VolatileCell<u8>, } #[doc = "SCBRR"] pub mod brr; #[doc = "SCSCR"] pub struct SCR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCSCR"] pub mod scr; #[doc = "SCFTDR"] pub struct FTDR { register: ::vcell::VolatileCell<u8>, } #[doc = "SCFTDR"] pub mod ftdr; #[doc = "SCFSR"] pub struct FSR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCFSR"] pub mod fsr; #[doc = "SCFRDR"] pub struct FRDR { register: ::vcell::VolatileCell<u8>, } #[doc = "SCFRDR"] pub mod frdr; #[doc = "SCFCR"] pub struct FCR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCFCR"] pub mod fcr; #[doc = "SCFDR"] pub struct FDR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCFDR"] pub mod fdr; #[doc = "SCSPTR"] pub struct SPTR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCSPTR"] pub mod sptr; #[doc = "SCLSR"] pub struct LSR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCLSR"] pub mod lsr; #[doc = "SCEMR"] pub struct EMR { register: ::vcell::VolatileCell<u16>, } #[doc = "SCEMR"] pub mod emr;