mk20d7/rtc/
mod.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - RTC Time Seconds Register"]
5    pub tsr: TSR,
6    #[doc = "0x04 - RTC Time Prescaler Register"]
7    pub tpr: TPR,
8    #[doc = "0x08 - RTC Time Alarm Register"]
9    pub tar: TAR,
10    #[doc = "0x0c - RTC Time Compensation Register"]
11    pub tcr: TCR,
12    #[doc = "0x10 - RTC Control Register"]
13    pub cr: CR,
14    #[doc = "0x14 - RTC Status Register"]
15    pub sr: SR,
16    #[doc = "0x18 - RTC Lock Register"]
17    pub lr: LR,
18    #[doc = "0x1c - RTC Interrupt Enable Register"]
19    pub ier: IER,
20    _reserved0: [u8; 2016usize],
21    #[doc = "0x800 - RTC Write Access Register"]
22    pub war: WAR,
23    #[doc = "0x804 - RTC Read Access Register"]
24    pub rar: RAR,
25}
26#[doc = "RTC Time Seconds Register"]
27pub struct TSR {
28    register: ::vcell::VolatileCell<u32>,
29}
30#[doc = "RTC Time Seconds Register"]
31pub mod tsr;
32#[doc = "RTC Time Prescaler Register"]
33pub struct TPR {
34    register: ::vcell::VolatileCell<u32>,
35}
36#[doc = "RTC Time Prescaler Register"]
37pub mod tpr;
38#[doc = "RTC Time Alarm Register"]
39pub struct TAR {
40    register: ::vcell::VolatileCell<u32>,
41}
42#[doc = "RTC Time Alarm Register"]
43pub mod tar;
44#[doc = "RTC Time Compensation Register"]
45pub struct TCR {
46    register: ::vcell::VolatileCell<u32>,
47}
48#[doc = "RTC Time Compensation Register"]
49pub mod tcr;
50#[doc = "RTC Control Register"]
51pub struct CR {
52    register: ::vcell::VolatileCell<u32>,
53}
54#[doc = "RTC Control Register"]
55pub mod cr;
56#[doc = "RTC Status Register"]
57pub struct SR {
58    register: ::vcell::VolatileCell<u32>,
59}
60#[doc = "RTC Status Register"]
61pub mod sr;
62#[doc = "RTC Lock Register"]
63pub struct LR {
64    register: ::vcell::VolatileCell<u32>,
65}
66#[doc = "RTC Lock Register"]
67pub mod lr;
68#[doc = "RTC Interrupt Enable Register"]
69pub struct IER {
70    register: ::vcell::VolatileCell<u32>,
71}
72#[doc = "RTC Interrupt Enable Register"]
73pub mod ier;
74#[doc = "RTC Write Access Register"]
75pub struct WAR {
76    register: ::vcell::VolatileCell<u32>,
77}
78#[doc = "RTC Write Access Register"]
79pub mod war;
80#[doc = "RTC Read Access Register"]
81pub struct RAR {
82    register: ::vcell::VolatileCell<u32>,
83}
84#[doc = "RTC Read Access Register"]
85pub mod rar;