diff options
Diffstat (limited to 'src/sys_tick.rs')
| -rw-r--r-- | src/sys_tick.rs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/sys_tick.rs b/src/sys_tick.rs new file mode 100644 index 0000000..b0fe7a5 --- /dev/null +++ b/src/sys_tick.rs @@ -0,0 +1,28 @@ +#[doc = r"Register block"] +#[repr(C)] +pub struct RegisterBlock { + #[doc = "0x00 - SysTick Control and Status Register"] + pub csr: crate::Reg<csr::CSR_SPEC>, + #[doc = "0x04 - SysTick Reload Value Register"] + pub rvr: crate::Reg<rvr::RVR_SPEC>, + #[doc = "0x08 - SysTick Current Value Register"] + pub cvr: crate::Reg<cvr::CVR_SPEC>, + #[doc = "0x0c - SysTick Calibration Value Register"] + pub calib: crate::Reg<calib::CALIB_SPEC>, +} +#[doc = "CSR register accessor: an alias for `Reg<CSR_SPEC>`"] +pub type CSR = crate::Reg<csr::CSR_SPEC>; +#[doc = "SysTick Control and Status Register"] +pub mod csr; +#[doc = "RVR register accessor: an alias for `Reg<RVR_SPEC>`"] +pub type RVR = crate::Reg<rvr::RVR_SPEC>; +#[doc = "SysTick Reload Value Register"] +pub mod rvr; +#[doc = "CVR register accessor: an alias for `Reg<CVR_SPEC>`"] +pub type CVR = crate::Reg<cvr::CVR_SPEC>; +#[doc = "SysTick Current Value Register"] +pub mod cvr; +#[doc = "CALIB register accessor: an alias for `Reg<CALIB_SPEC>`"] +pub type CALIB = crate::Reg<calib::CALIB_SPEC>; +#[doc = "SysTick Calibration Value Register"] +pub mod calib; |
