2017-09-23 18:09:53 +00:00
|
|
|
#[doc = r" Register block"]
|
|
|
|
#[repr(C)]
|
|
|
|
pub struct RegisterBlock {
|
2018-02-06 14:15:10 +00:00
|
|
|
#[doc = "0x00 - Low Voltage Detect Status and Control 1 Register"]
|
|
|
|
pub lvdsc1: LVDSC1,
|
|
|
|
#[doc = "0x01 - Low Voltage Detect Status and Control 2 Register"]
|
|
|
|
pub lvdsc2: LVDSC2,
|
|
|
|
#[doc = "0x02 - Regulator Status and Control Register"]
|
|
|
|
pub regsc: REGSC,
|
2017-09-23 18:09:53 +00:00
|
|
|
_reserved0: [u8; 1usize],
|
2018-02-06 14:15:10 +00:00
|
|
|
#[doc = "0x04 - Low Power Oscillator Trim Register"]
|
|
|
|
pub lpotrim: LPOTRIM,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Low Voltage Detect Status and Control 1 Register"]
|
|
|
|
pub struct LVDSC1 {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u8>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Low Voltage Detect Status and Control 1 Register"]
|
|
|
|
pub mod lvdsc1;
|
|
|
|
#[doc = "Low Voltage Detect Status and Control 2 Register"]
|
|
|
|
pub struct LVDSC2 {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u8>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Low Voltage Detect Status and Control 2 Register"]
|
|
|
|
pub mod lvdsc2;
|
|
|
|
#[doc = "Regulator Status and Control Register"]
|
|
|
|
pub struct REGSC {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u8>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Regulator Status and Control Register"]
|
|
|
|
pub mod regsc;
|
|
|
|
#[doc = "Low Power Oscillator Trim Register"]
|
|
|
|
pub struct LPOTRIM {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u8>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Low Power Oscillator Trim Register"]
|
|
|
|
pub mod lpotrim;
|