nrf52840_pac/
ppi.rs
1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00..0x30 - Channel group tasks"]
5 pub tasks_chg: [TASKS_CHG; 6],
6 _reserved1: [u8; 0x04d0],
7 #[doc = "0x500 - Channel enable register"]
8 pub chen: CHEN,
9 #[doc = "0x504 - Channel enable set register"]
10 pub chenset: CHENSET,
11 #[doc = "0x508 - Channel enable clear register"]
12 pub chenclr: CHENCLR,
13 _reserved4: [u8; 0x04],
14 #[doc = "0x510..0x5b0 - PPI Channel"]
15 pub ch: [CH; 20],
16 _reserved5: [u8; 0x0250],
17 #[doc = "0x800..0x818 - Description collection\\[n\\]: Channel group n"]
18 pub chg: [CHG; 6],
19 _reserved6: [u8; 0xf8],
20 #[doc = "0x910..0x990 - Fork"]
21 pub fork: [FORK; 32],
22}
23#[doc = "Channel group tasks"]
24pub use tasks_chg::TASKS_CHG;
25#[doc = r"Cluster"]
26#[doc = "Channel group tasks"]
27pub mod tasks_chg;
28#[doc = "CHEN (rw) register accessor: an alias for `Reg<CHEN_SPEC>`"]
29pub type CHEN = crate::Reg<chen::CHEN_SPEC>;
30#[doc = "Channel enable register"]
31pub mod chen;
32#[doc = "CHENSET (rw) register accessor: an alias for `Reg<CHENSET_SPEC>`"]
33pub type CHENSET = crate::Reg<chenset::CHENSET_SPEC>;
34#[doc = "Channel enable set register"]
35pub mod chenset;
36#[doc = "CHENCLR (rw) register accessor: an alias for `Reg<CHENCLR_SPEC>`"]
37pub type CHENCLR = crate::Reg<chenclr::CHENCLR_SPEC>;
38#[doc = "Channel enable clear register"]
39pub mod chenclr;
40#[doc = "PPI Channel"]
41pub use ch::CH;
42#[doc = r"Cluster"]
43#[doc = "PPI Channel"]
44pub mod ch;
45#[doc = "CHG (rw) register accessor: an alias for `Reg<CHG_SPEC>`"]
46pub type CHG = crate::Reg<chg::CHG_SPEC>;
47#[doc = "Description collection\\[n\\]: Channel group n"]
48pub mod chg;
49#[doc = "Fork"]
50pub use fork::FORK;
51#[doc = r"Cluster"]
52#[doc = "Fork"]
53pub mod fork;