s32k118.rs/src/lptmr0.rs

37 lines
1.0 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 Power Timer Control Status Register"]
pub csr: CSR,
#[doc = "0x04 - Low Power Timer Prescale Register"]
pub psr: PSR,
#[doc = "0x08 - Low Power Timer Compare Register"]
pub cmr: CMR,
#[doc = "0x0c - Low Power Timer Counter Register"]
pub cnr: CNR,
}
#[doc = "Low Power Timer Control Status Register"]
pub struct CSR {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Low Power Timer Control Status Register"]
pub mod csr;
#[doc = "Low Power Timer Prescale Register"]
pub struct PSR {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Low Power Timer Prescale Register"]
pub mod psr;
#[doc = "Low Power Timer Compare Register"]
pub struct CMR {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Low Power Timer Compare Register"]
pub mod cmr;
#[doc = "Low Power Timer Counter Register"]
pub struct CNR {
2019-01-16 14:39:25 +00:00
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Low Power Timer Counter Register"]
pub mod cnr;