1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 4usize],
5 #[doc = "0x04 - Cluster CH%s, containing ?CR1, ?CR2, ?FRCR, ?SLOTR, ?IM, ?SR, ?CLRFR, ?DR"]
6 pub cha: CH,
7 #[doc = "0x24 - Cluster CH%s, containing ?CR1, ?CR2, ?FRCR, ?SLOTR, ?IM, ?SR, ?CLRFR, ?DR"]
8 pub chb: CH,
9}
10#[doc = r" Register block"]
11#[repr(C)]
12pub struct CH {
13 #[doc = "0x00 - AConfiguration register 1"]
14 pub cr1: self::ch::CR1,
15 #[doc = "0x04 - AConfiguration register 2"]
16 pub cr2: self::ch::CR2,
17 #[doc = "0x08 - AFRCR"]
18 pub frcr: self::ch::FRCR,
19 #[doc = "0x0c - ASlot register"]
20 pub slotr: self::ch::SLOTR,
21 #[doc = "0x10 - AInterrupt mask register2"]
22 pub im: self::ch::IM,
23 #[doc = "0x14 - AStatus register"]
24 pub sr: self::ch::SR,
25 #[doc = "0x18 - AClear flag register"]
26 pub clrfr: self::ch::CLRFR,
27 #[doc = "0x1c - AData register"]
28 pub dr: self::ch::DR,
29}
30#[doc = r" Register block"]
31#[doc = "Cluster CH%s, containing ?CR1, ?CR2, ?FRCR, ?SLOTR, ?IM, ?SR, ?CLRFR, ?DR"]
32pub mod ch;