1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    _reserved_0_mode0: [u8; 0xa0],
}
impl RegisterBlock {
    #[doc = "0x00..0xa0 - Clock/Calendar with Alarm"]
    #[inline(always)]
    pub const fn mode2(&self) -> &MODE2 {
        unsafe { &*(self as *const Self).cast::<u8>().add(0usize).cast() }
    }
    #[doc = "0x00..0xa0 - 16-bit Counter with Two 16-bit Compares"]
    #[inline(always)]
    pub const fn mode1(&self) -> &MODE1 {
        unsafe { &*(self as *const Self).cast::<u8>().add(0usize).cast() }
    }
    #[doc = "0x00..0xa0 - 32-bit Counter with Single 32-bit Compare"]
    #[inline(always)]
    pub const fn mode0(&self) -> &MODE0 {
        unsafe { &*(self as *const Self).cast::<u8>().add(0usize).cast() }
    }
}
#[doc = "32-bit Counter with Single 32-bit Compare"]
pub use self::mode0::MODE0;
#[doc = r"Cluster"]
#[doc = "32-bit Counter with Single 32-bit Compare"]
pub mod mode0;
#[doc = "16-bit Counter with Two 16-bit Compares"]
pub use self::mode1::MODE1;
#[doc = r"Cluster"]
#[doc = "16-bit Counter with Two 16-bit Compares"]
pub mod mode1;
#[doc = "Clock/Calendar with Alarm"]
pub use self::mode2::MODE2;
#[doc = r"Cluster"]
#[doc = "Clock/Calendar with Alarm"]
pub mod mode2;