diff options
Diffstat (limited to 'src/pm.rs')
| -rw-r--r-- | src/pm.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/pm.rs b/src/pm.rs new file mode 100644 index 0000000..9da2b0e --- /dev/null +++ b/src/pm.rs @@ -0,0 +1,18 @@ +#[doc = r"Register block"] +#[repr(C)] +pub struct RegisterBlock { + _reserved0: [u8; 0x01], + #[doc = "0x01 - Sleep Configuration"] + pub sleepcfg: crate::Reg<sleepcfg::SLEEPCFG_SPEC>, + _reserved1: [u8; 0x06], + #[doc = "0x08 - Standby Configuration"] + pub stdbycfg: crate::Reg<stdbycfg::STDBYCFG_SPEC>, +} +#[doc = "SLEEPCFG register accessor: an alias for `Reg<SLEEPCFG_SPEC>`"] +pub type SLEEPCFG = crate::Reg<sleepcfg::SLEEPCFG_SPEC>; +#[doc = "Sleep Configuration"] +pub mod sleepcfg; +#[doc = "STDBYCFG register accessor: an alias for `Reg<STDBYCFG_SPEC>`"] +pub type STDBYCFG = crate::Reg<stdbycfg::STDBYCFG_SPEC>; +#[doc = "Standby Configuration"] +pub mod stdbycfg; |
