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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Internal. Only to be used through TI provided API."] pub ctl: CTL, #[doc = "0x04 - Internal. Only to be used through TI provided API."] pub meascfg: MEASCFG, _reserved0: [u8; 4usize], #[doc = "0x0c - Internal. Only to be used through TI provided API."] pub tempp0: TEMPP0, #[doc = "0x10 - Internal. Only to be used through TI provided API."] pub tempp1: TEMPP1, #[doc = "0x14 - Internal. Only to be used through TI provided API."] pub tempp2: TEMPP2, #[doc = "0x18 - Internal. Only to be used through TI provided API."] pub batmonp0: BATMONP0, #[doc = "0x1c - Internal. Only to be used through TI provided API."] pub batmonp1: BATMONP1, #[doc = "0x20 - Internal. Only to be used through TI provided API."] pub iostrp0: IOSTRP0, #[doc = "0x24 - Internal. Only to be used through TI provided API."] pub flashpumpp0: FLASHPUMPP0, #[doc = "0x28 - Last Measured Battery Voltage This register may be read while BATUPD.STAT = 1"] pub bat: BAT, #[doc = "0x2c - Battery Update Indicates BAT Updates"] pub batupd: BATUPD, #[doc = "0x30 - Temperature Last Measured Temperature in Degrees Celsius This register may be read while TEMPUPD.STAT = 1."] pub temp: TEMP, #[doc = "0x34 - Temperature Update Indicates TEMP Updates"] pub tempupd: TEMPUPD, _reserved1: [u8; 16usize], #[doc = "0x48 - Event Mask"] pub eventmask: EVENTMASK, #[doc = "0x4c - Event"] pub event: EVENT, #[doc = "0x50 - Battery Upper Limit"] pub battul: BATTUL, #[doc = "0x54 - Battery Lower Limit"] pub battll: BATTLL, #[doc = "0x58 - Temperature Upper Limit"] pub tempul: TEMPUL, #[doc = "0x5c - Temperature Lower Limit"] pub templl: TEMPLL, } #[doc = "Internal. Only to be used through TI provided API."] pub struct CTL { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod ctl; #[doc = "Internal. Only to be used through TI provided API."] pub struct MEASCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod meascfg; #[doc = "Internal. Only to be used through TI provided API."] pub struct TEMPP0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod tempp0; #[doc = "Internal. Only to be used through TI provided API."] pub struct TEMPP1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod tempp1; #[doc = "Internal. Only to be used through TI provided API."] pub struct TEMPP2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod tempp2; #[doc = "Internal. Only to be used through TI provided API."] pub struct BATMONP0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod batmonp0; #[doc = "Internal. Only to be used through TI provided API."] pub struct BATMONP1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod batmonp1; #[doc = "Internal. Only to be used through TI provided API."] pub struct IOSTRP0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod iostrp0; #[doc = "Internal. Only to be used through TI provided API."] pub struct FLASHPUMPP0 { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal. Only to be used through TI provided API."] pub mod flashpumpp0; #[doc = "Last Measured Battery Voltage This register may be read while BATUPD.STAT = 1"] pub struct BAT { register: ::vcell::VolatileCell<u32>, } #[doc = "Last Measured Battery Voltage This register may be read while BATUPD.STAT = 1"] pub mod bat; #[doc = "Battery Update Indicates BAT Updates"] pub struct BATUPD { register: ::vcell::VolatileCell<u32>, } #[doc = "Battery Update Indicates BAT Updates"] pub mod batupd; #[doc = "Temperature Last Measured Temperature in Degrees Celsius This register may be read while TEMPUPD.STAT = 1."] pub struct TEMP { register: ::vcell::VolatileCell<u32>, } #[doc = "Temperature Last Measured Temperature in Degrees Celsius This register may be read while TEMPUPD.STAT = 1."] pub mod temp; #[doc = "Temperature Update Indicates TEMP Updates"] pub struct TEMPUPD { register: ::vcell::VolatileCell<u32>, } #[doc = "Temperature Update Indicates TEMP Updates"] pub mod tempupd; #[doc = "Event Mask"] pub struct EVENTMASK { register: ::vcell::VolatileCell<u32>, } #[doc = "Event Mask"] pub mod eventmask; #[doc = "Event"] pub struct EVENT { register: ::vcell::VolatileCell<u32>, } #[doc = "Event"] pub mod event; #[doc = "Battery Upper Limit"] pub struct BATTUL { register: ::vcell::VolatileCell<u32>, } #[doc = "Battery Upper Limit"] pub mod battul; #[doc = "Battery Lower Limit"] pub struct BATTLL { register: ::vcell::VolatileCell<u32>, } #[doc = "Battery Lower Limit"] pub mod battll; #[doc = "Temperature Upper Limit"] pub struct TEMPUL { register: ::vcell::VolatileCell<u32>, } #[doc = "Temperature Upper Limit"] pub mod tempul; #[doc = "Temperature Lower Limit"] pub struct TEMPLL { register: ::vcell::VolatileCell<u32>, } #[doc = "Temperature Lower Limit"] pub mod templl;