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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - RTC_I2C_SCL_LOW_PERIOD"]
    pub scl_low_period: crate::Reg<scl_low_period::SCL_LOW_PERIOD_SPEC>,
    #[doc = "0x04 - RTC_I2C_CTRL"]
    pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
    #[doc = "0x08 - RTC_I2C_DEBUG_STATUS"]
    pub debug_status: crate::Reg<debug_status::DEBUG_STATUS_SPEC>,
    #[doc = "0x0c - RTC_I2C_TIMEOUT"]
    pub timeout: crate::Reg<timeout::TIMEOUT_SPEC>,
    #[doc = "0x10 - RTC_I2C_SLAVE_ADDR"]
    pub slave_addr: crate::Reg<slave_addr::SLAVE_ADDR_SPEC>,
    _reserved5: [u8; 12usize],
    #[doc = "0x20 - RTC_I2C_INT_RAW"]
    pub int_raw: crate::Reg<int_raw::INT_RAW_SPEC>,
    #[doc = "0x24 - RTC_I2C_INT_CLR"]
    pub int_clr: crate::Reg<int_clr::INT_CLR_SPEC>,
    _reserved7: [u8; 8usize],
    #[doc = "0x30 - RTC_I2C_SDA_DUTY"]
    pub sda_duty: crate::Reg<sda_duty::SDA_DUTY_SPEC>,
    _reserved8: [u8; 4usize],
    #[doc = "0x38 - RTC_I2C_SCL_HIGH_PERIOD"]
    pub scl_high_period: crate::Reg<scl_high_period::SCL_HIGH_PERIOD_SPEC>,
    _reserved9: [u8; 4usize],
    #[doc = "0x40 - RTC_I2C_SCL_START_PERIOD"]
    pub scl_start_period: crate::Reg<scl_start_period::SCL_START_PERIOD_SPEC>,
    #[doc = "0x44 - RTC_I2C_SCL_STOP_PERIOD"]
    pub scl_stop_period: crate::Reg<scl_stop_period::SCL_STOP_PERIOD_SPEC>,
}
#[doc = "SCL_LOW_PERIOD register accessor: an alias for `Reg<SCL_LOW_PERIOD_SPEC>`"]
pub type SCL_LOW_PERIOD = crate::Reg<scl_low_period::SCL_LOW_PERIOD_SPEC>;
#[doc = "RTC_I2C_SCL_LOW_PERIOD"]
pub mod scl_low_period;
#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
#[doc = "RTC_I2C_CTRL"]
pub mod ctrl;
#[doc = "DEBUG_STATUS register accessor: an alias for `Reg<DEBUG_STATUS_SPEC>`"]
pub type DEBUG_STATUS = crate::Reg<debug_status::DEBUG_STATUS_SPEC>;
#[doc = "RTC_I2C_DEBUG_STATUS"]
pub mod debug_status;
#[doc = "TIMEOUT register accessor: an alias for `Reg<TIMEOUT_SPEC>`"]
pub type TIMEOUT = crate::Reg<timeout::TIMEOUT_SPEC>;
#[doc = "RTC_I2C_TIMEOUT"]
pub mod timeout;
#[doc = "SLAVE_ADDR register accessor: an alias for `Reg<SLAVE_ADDR_SPEC>`"]
pub type SLAVE_ADDR = crate::Reg<slave_addr::SLAVE_ADDR_SPEC>;
#[doc = "RTC_I2C_SLAVE_ADDR"]
pub mod slave_addr;
#[doc = "INT_RAW register accessor: an alias for `Reg<INT_RAW_SPEC>`"]
pub type INT_RAW = crate::Reg<int_raw::INT_RAW_SPEC>;
#[doc = "RTC_I2C_INT_RAW"]
pub mod int_raw;
#[doc = "INT_CLR register accessor: an alias for `Reg<INT_CLR_SPEC>`"]
pub type INT_CLR = crate::Reg<int_clr::INT_CLR_SPEC>;
#[doc = "RTC_I2C_INT_CLR"]
pub mod int_clr;
#[doc = "SDA_DUTY register accessor: an alias for `Reg<SDA_DUTY_SPEC>`"]
pub type SDA_DUTY = crate::Reg<sda_duty::SDA_DUTY_SPEC>;
#[doc = "RTC_I2C_SDA_DUTY"]
pub mod sda_duty;
#[doc = "SCL_HIGH_PERIOD register accessor: an alias for `Reg<SCL_HIGH_PERIOD_SPEC>`"]
pub type SCL_HIGH_PERIOD = crate::Reg<scl_high_period::SCL_HIGH_PERIOD_SPEC>;
#[doc = "RTC_I2C_SCL_HIGH_PERIOD"]
pub mod scl_high_period;
#[doc = "SCL_START_PERIOD register accessor: an alias for `Reg<SCL_START_PERIOD_SPEC>`"]
pub type SCL_START_PERIOD = crate::Reg<scl_start_period::SCL_START_PERIOD_SPEC>;
#[doc = "RTC_I2C_SCL_START_PERIOD"]
pub mod scl_start_period;
#[doc = "SCL_STOP_PERIOD register accessor: an alias for `Reg<SCL_STOP_PERIOD_SPEC>`"]
pub type SCL_STOP_PERIOD = crate::Reg<scl_stop_period::SCL_STOP_PERIOD_SPEC>;
#[doc = "RTC_I2C_SCL_STOP_PERIOD"]
pub mod scl_stop_period;