1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Control Register"]
    pub ctrl: CTRL,
    #[doc = "0x04 - Command Register"]
    pub cmd: CMD,
    #[doc = "0x08 - Synchronization Busy Register"]
    pub syncbusy: SYNCBUSY,
    #[doc = "0x0c - PRS Control Register"]
    pub pch0_prsctrl: PCH0_PRSCTRL,
    #[doc = "0x10 - PRS Control Register"]
    pub pch1_prsctrl: PCH1_PRSCTRL,
    _reserved0: [u8; 8usize],
    #[doc = "0x1c - Watchdog Interrupt Flags"]
    pub if_: IF,
    #[doc = "0x20 - Interrupt Flag Set Register"]
    pub ifs: IFS,
    #[doc = "0x24 - Interrupt Flag Clear Register"]
    pub ifc: IFC,
    #[doc = "0x28 - Interrupt Enable Register"]
    pub ien: IEN,
}
#[doc = "Control Register"]
pub struct CTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Control Register"]
pub mod ctrl;
#[doc = "Command Register"]
pub struct CMD {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Command Register"]
pub mod cmd;
#[doc = "Synchronization Busy Register"]
pub struct SYNCBUSY {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Synchronization Busy Register"]
pub mod syncbusy;
#[doc = "PRS Control Register"]
pub struct PCH0_PRSCTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "PRS Control Register"]
pub mod pch0_prsctrl;
#[doc = "PRS Control Register"]
pub struct PCH1_PRSCTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "PRS Control Register"]
pub mod pch1_prsctrl;
#[doc = "Watchdog Interrupt Flags"]
pub struct IF {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Watchdog Interrupt Flags"]
pub mod if_;
#[doc = "Interrupt Flag Set Register"]
pub struct IFS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Flag Set Register"]
pub mod ifs;
#[doc = "Interrupt Flag Clear Register"]
pub struct IFC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Flag Clear Register"]
pub mod ifc;
#[doc = "Interrupt Enable Register"]
pub struct IEN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Interrupt Enable Register"]
pub mod ien;