efm32g230_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    _reserved2: [u8; 0x08],
9    #[doc = "0x10 - Channel Control Register"]
10    pub ch0_ctrl: crate::Reg<ch0_ctrl::CH0_CTRL_SPEC>,
11    #[doc = "0x14 - Channel Control Register"]
12    pub ch1_ctrl: crate::Reg<ch1_ctrl::CH1_CTRL_SPEC>,
13    #[doc = "0x18 - Channel Control Register"]
14    pub ch2_ctrl: crate::Reg<ch2_ctrl::CH2_CTRL_SPEC>,
15    #[doc = "0x1c - Channel Control Register"]
16    pub ch3_ctrl: crate::Reg<ch3_ctrl::CH3_CTRL_SPEC>,
17    #[doc = "0x20 - Channel Control Register"]
18    pub ch4_ctrl: crate::Reg<ch4_ctrl::CH4_CTRL_SPEC>,
19    #[doc = "0x24 - Channel Control Register"]
20    pub ch5_ctrl: crate::Reg<ch5_ctrl::CH5_CTRL_SPEC>,
21    #[doc = "0x28 - Channel Control Register"]
22    pub ch6_ctrl: crate::Reg<ch6_ctrl::CH6_CTRL_SPEC>,
23    #[doc = "0x2c - Channel Control Register"]
24    pub ch7_ctrl: crate::Reg<ch7_ctrl::CH7_CTRL_SPEC>,
25}
26#[doc = "SWPULSE register accessor: an alias for `Reg<SWPULSE_SPEC>`"]
27pub type SWPULSE = crate::Reg<swpulse::SWPULSE_SPEC>;
28#[doc = "Software Pulse Register"]
29pub mod swpulse;
30#[doc = "SWLEVEL register accessor: an alias for `Reg<SWLEVEL_SPEC>`"]
31pub type SWLEVEL = crate::Reg<swlevel::SWLEVEL_SPEC>;
32#[doc = "Software Level Register"]
33pub mod swlevel;
34#[doc = "CH0_CTRL register accessor: an alias for `Reg<CH0_CTRL_SPEC>`"]
35pub type CH0_CTRL = crate::Reg<ch0_ctrl::CH0_CTRL_SPEC>;
36#[doc = "Channel Control Register"]
37pub mod ch0_ctrl;
38#[doc = "CH1_CTRL register accessor: an alias for `Reg<CH1_CTRL_SPEC>`"]
39pub type CH1_CTRL = crate::Reg<ch1_ctrl::CH1_CTRL_SPEC>;
40#[doc = "Channel Control Register"]
41pub mod ch1_ctrl;
42#[doc = "CH2_CTRL register accessor: an alias for `Reg<CH2_CTRL_SPEC>`"]
43pub type CH2_CTRL = crate::Reg<ch2_ctrl::CH2_CTRL_SPEC>;
44#[doc = "Channel Control Register"]
45pub mod ch2_ctrl;
46#[doc = "CH3_CTRL register accessor: an alias for `Reg<CH3_CTRL_SPEC>`"]
47pub type CH3_CTRL = crate::Reg<ch3_ctrl::CH3_CTRL_SPEC>;
48#[doc = "Channel Control Register"]
49pub mod ch3_ctrl;
50#[doc = "CH4_CTRL register accessor: an alias for `Reg<CH4_CTRL_SPEC>`"]
51pub type CH4_CTRL = crate::Reg<ch4_ctrl::CH4_CTRL_SPEC>;
52#[doc = "Channel Control Register"]
53pub mod ch4_ctrl;
54#[doc = "CH5_CTRL register accessor: an alias for `Reg<CH5_CTRL_SPEC>`"]
55pub type CH5_CTRL = crate::Reg<ch5_ctrl::CH5_CTRL_SPEC>;
56#[doc = "Channel Control Register"]
57pub mod ch5_ctrl;
58#[doc = "CH6_CTRL register accessor: an alias for `Reg<CH6_CTRL_SPEC>`"]
59pub type CH6_CTRL = crate::Reg<ch6_ctrl::CH6_CTRL_SPEC>;
60#[doc = "Channel Control Register"]
61pub mod ch6_ctrl;
62#[doc = "CH7_CTRL register accessor: an alias for `Reg<CH7_CTRL_SPEC>`"]
63pub type CH7_CTRL = crate::Reg<ch7_ctrl::CH7_CTRL_SPEC>;
64#[doc = "Channel Control Register"]
65pub mod ch7_ctrl;