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 - Version ID Register"]
|
|
|
|
pub verid: VERID,
|
|
|
|
#[doc = "0x04 - Parameter Register"]
|
|
|
|
pub param: PARAM,
|
|
|
|
#[doc = "0x08 - System Reset Status Register"]
|
|
|
|
pub srs: SRS,
|
|
|
|
#[doc = "0x0c - Reset Pin Control register"]
|
|
|
|
pub rpc: RPC,
|
2017-09-23 18:09:53 +00:00
|
|
|
_reserved0: [u8; 8usize],
|
2018-02-06 14:15:10 +00:00
|
|
|
#[doc = "0x18 - Sticky System Reset Status Register"]
|
|
|
|
pub ssrs: SSRS,
|
|
|
|
#[doc = "0x1c - System Reset Interrupt Enable Register"]
|
|
|
|
pub srie: SRIE,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Version ID Register"]
|
|
|
|
pub struct VERID {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u32>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Version ID Register"]
|
|
|
|
pub mod verid;
|
|
|
|
#[doc = "Parameter Register"]
|
|
|
|
pub struct PARAM {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u32>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Parameter Register"]
|
|
|
|
pub mod param;
|
|
|
|
#[doc = "System Reset Status Register"]
|
|
|
|
pub struct SRS {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u32>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "System Reset Status Register"]
|
|
|
|
pub mod srs;
|
|
|
|
#[doc = "Reset Pin Control register"]
|
|
|
|
pub struct RPC {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u32>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Reset Pin Control register"]
|
|
|
|
pub mod rpc;
|
|
|
|
#[doc = "Sticky System Reset Status Register"]
|
|
|
|
pub struct SSRS {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u32>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "Sticky System Reset Status Register"]
|
|
|
|
pub mod ssrs;
|
|
|
|
#[doc = "System Reset Interrupt Enable Register"]
|
|
|
|
pub struct SRIE {
|
2019-01-16 14:39:25 +00:00
|
|
|
register: ::vcell::VolatileCell<u32>,
|
2017-09-23 18:09:53 +00:00
|
|
|
}
|
|
|
|
#[doc = "System Reset Interrupt Enable Register"]
|
|
|
|
pub mod srie;
|