1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 _reserved_0_count8: [u8; 0x38],
5}
6impl RegisterBlock {
7 #[doc = "0x00..0x38 - 32-bit Counter Mode"]
8 #[inline(always)]
9 pub const fn count32(&self) -> &Count32 {
10 unsafe { &*(self as *const Self).cast::<u8>().add(0).cast() }
11 }
12 #[doc = "0x00..0x34 - 16-bit Counter Mode"]
13 #[inline(always)]
14 pub const fn count16(&self) -> &Count16 {
15 unsafe { &*(self as *const Self).cast::<u8>().add(0).cast() }
16 }
17 #[doc = "0x00..0x32 - 8-bit Counter Mode"]
18 #[inline(always)]
19 pub const fn count8(&self) -> &Count8 {
20 unsafe { &*(self as *const Self).cast::<u8>().add(0).cast() }
21 }
22}
23#[doc = "8-bit Counter Mode"]
24pub use self::count8::Count8;
25#[doc = r"Cluster"]
26#[doc = "8-bit Counter Mode"]
27pub mod count8;
28#[doc = "16-bit Counter Mode"]
29pub use self::count16::Count16;
30#[doc = r"Cluster"]
31#[doc = "16-bit Counter Mode"]
32pub mod count16;
33#[doc = "32-bit Counter Mode"]
34pub use self::count32::Count32;
35#[doc = r"Cluster"]
36#[doc = "32-bit Counter Mode"]
37pub mod count32;