efm32hg322_pac/
prs.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Software Pulse Register"]
5    pub swpulse: crate::Reg<swpulse::SWPULSE_SPEC>,
6    #[doc = "0x04 - Software Level Register"]
7    pub swlevel: crate::Reg<swlevel::SWLEVEL_SPEC>,
8    #[doc = "0x08 - I/O Routing Register"]
9    pub route: crate::Reg<route::ROUTE_SPEC>,
10    _reserved3: [u8; 0x04],
11    #[doc = "0x10 - Channel Control Register"]
12    pub ch0_ctrl: crate::Reg<ch0_ctrl::CH0_CTRL_SPEC>,
13    #[doc = "0x14 - Channel Control Register"]
14    pub ch1_ctrl: crate::Reg<ch1_ctrl::CH1_CTRL_SPEC>,
15    #[doc = "0x18 - Channel Control Register"]
16    pub ch2_ctrl: crate::Reg<ch2_ctrl::CH2_CTRL_SPEC>,
17    #[doc = "0x1c - Channel Control Register"]
18    pub ch3_ctrl: crate::Reg<ch3_ctrl::CH3_CTRL_SPEC>,
19    #[doc = "0x20 - Channel Control Register"]
20    pub ch4_ctrl: crate::Reg<ch4_ctrl::CH4_CTRL_SPEC>,
21    #[doc = "0x24 - Channel Control Register"]
22    pub ch5_ctrl: crate::Reg<ch5_ctrl::CH5_CTRL_SPEC>,
23    _reserved9: [u8; 0x18],
24    #[doc = "0x40 - MTB Trace Control Register"]
25    pub tracectrl: crate::Reg<tracectrl::TRACECTRL_SPEC>,
26}
27#[doc = "SWPULSE register accessor: an alias for `Reg<SWPULSE_SPEC>`"]
28pub type SWPULSE = crate::Reg<swpulse::SWPULSE_SPEC>;
29#[doc = "Software Pulse Register"]
30pub mod swpulse;
31#[doc = "SWLEVEL register accessor: an alias for `Reg<SWLEVEL_SPEC>`"]
32pub type SWLEVEL = crate::Reg<swlevel::SWLEVEL_SPEC>;
33#[doc = "Software Level Register"]
34pub mod swlevel;
35#[doc = "ROUTE register accessor: an alias for `Reg<ROUTE_SPEC>`"]
36pub type ROUTE = crate::Reg<route::ROUTE_SPEC>;
37#[doc = "I/O Routing Register"]
38pub mod route;
39#[doc = "CH0_CTRL register accessor: an alias for `Reg<CH0_CTRL_SPEC>`"]
40pub type CH0_CTRL = crate::Reg<ch0_ctrl::CH0_CTRL_SPEC>;
41#[doc = "Channel Control Register"]
42pub mod ch0_ctrl;
43#[doc = "CH1_CTRL register accessor: an alias for `Reg<CH1_CTRL_SPEC>`"]
44pub type CH1_CTRL = crate::Reg<ch1_ctrl::CH1_CTRL_SPEC>;
45#[doc = "Channel Control Register"]
46pub mod ch1_ctrl;
47#[doc = "CH2_CTRL register accessor: an alias for `Reg<CH2_CTRL_SPEC>`"]
48pub type CH2_CTRL = crate::Reg<ch2_ctrl::CH2_CTRL_SPEC>;
49#[doc = "Channel Control Register"]
50pub mod ch2_ctrl;
51#[doc = "CH3_CTRL register accessor: an alias for `Reg<CH3_CTRL_SPEC>`"]
52pub type CH3_CTRL = crate::Reg<ch3_ctrl::CH3_CTRL_SPEC>;
53#[doc = "Channel Control Register"]
54pub mod ch3_ctrl;
55#[doc = "CH4_CTRL register accessor: an alias for `Reg<CH4_CTRL_SPEC>`"]
56pub type CH4_CTRL = crate::Reg<ch4_ctrl::CH4_CTRL_SPEC>;
57#[doc = "Channel Control Register"]
58pub mod ch4_ctrl;
59#[doc = "CH5_CTRL register accessor: an alias for `Reg<CH5_CTRL_SPEC>`"]
60pub type CH5_CTRL = crate::Reg<ch5_ctrl::CH5_CTRL_SPEC>;
61#[doc = "Channel Control Register"]
62pub mod ch5_ctrl;
63#[doc = "TRACECTRL register accessor: an alias for `Reg<TRACECTRL_SPEC>`"]
64pub type TRACECTRL = crate::Reg<tracectrl::TRACECTRL_SPEC>;
65#[doc = "MTB Trace Control Register"]
66pub mod tracectrl;