efm32zg210_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}
20#[doc = "SWPULSE register accessor: an alias for `Reg<SWPULSE_SPEC>`"]
21pub type SWPULSE = crate::Reg<swpulse::SWPULSE_SPEC>;
22#[doc = "Software Pulse Register"]
23pub mod swpulse;
24#[doc = "SWLEVEL register accessor: an alias for `Reg<SWLEVEL_SPEC>`"]
25pub type SWLEVEL = crate::Reg<swlevel::SWLEVEL_SPEC>;
26#[doc = "Software Level Register"]
27pub mod swlevel;
28#[doc = "ROUTE register accessor: an alias for `Reg<ROUTE_SPEC>`"]
29pub type ROUTE = crate::Reg<route::ROUTE_SPEC>;
30#[doc = "I/O Routing Register"]
31pub mod route;
32#[doc = "CH0_CTRL register accessor: an alias for `Reg<CH0_CTRL_SPEC>`"]
33pub type CH0_CTRL = crate::Reg<ch0_ctrl::CH0_CTRL_SPEC>;
34#[doc = "Channel Control Register"]
35pub mod ch0_ctrl;
36#[doc = "CH1_CTRL register accessor: an alias for `Reg<CH1_CTRL_SPEC>`"]
37pub type CH1_CTRL = crate::Reg<ch1_ctrl::CH1_CTRL_SPEC>;
38#[doc = "Channel Control Register"]
39pub mod ch1_ctrl;
40#[doc = "CH2_CTRL register accessor: an alias for `Reg<CH2_CTRL_SPEC>`"]
41pub type CH2_CTRL = crate::Reg<ch2_ctrl::CH2_CTRL_SPEC>;
42#[doc = "Channel Control Register"]
43pub mod ch2_ctrl;
44#[doc = "CH3_CTRL register accessor: an alias for `Reg<CH3_CTRL_SPEC>`"]
45pub type CH3_CTRL = crate::Reg<ch3_ctrl::CH3_CTRL_SPEC>;
46#[doc = "Channel Control Register"]
47pub mod ch3_ctrl;