s32k118.rs/src/pmc.rs

38 lines
1.2 KiB
Rust
Raw Normal View History

#[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,
_reserved0: [u8; 1usize],
2018-02-06 14:15:10 +00:00
#[doc = "0x04 - Low Power Oscillator Trim Register"]
pub lpotrim: LPOTRIM,
}
#[doc = "Low Voltage Detect Status and Control 1 Register"]
pub struct LVDSC1 {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u8>,
}
#[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>,
}
#[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>,
}
#[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>,
}
#[doc = "Low Power Oscillator Trim Register"]
pub mod lpotrim;