Skip to main content

esp8266/
timer.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - the load value into the counter"]
5    pub frc1_load: crate::Reg<frc1_load::FRC1_LOAD_SPEC>,
6    #[doc = "0x04 - the current value of the counter. It is a decreasingcounter."]
7    pub frc1_count: crate::Reg<frc1_count::FRC1_COUNT_SPEC>,
8    #[doc = "0x08 - FRC1_CTRL"]
9    pub frc1_ctrl: crate::Reg<frc1_ctrl::FRC1_CTRL_SPEC>,
10    #[doc = "0x0c - FRC1_INT"]
11    pub frc1_int: crate::Reg<frc1_int::FRC1_INT_SPEC>,
12    _reserved4: [u8; 0x10],
13    #[doc = "0x20 - the load value into the counter"]
14    pub frc2_load: crate::Reg<frc2_load::FRC2_LOAD_SPEC>,
15    #[doc = "0x24 - the current value of the counter. It is a increasingcounter."]
16    pub frc2_count: crate::Reg<frc2_count::FRC2_COUNT_SPEC>,
17    #[doc = "0x28 - FRC2_CTRL"]
18    pub frc2_ctrl: crate::Reg<frc2_ctrl::FRC2_CTRL_SPEC>,
19    #[doc = "0x2c - FRC2_INT"]
20    pub frc2_int: crate::Reg<frc2_int::FRC2_INT_SPEC>,
21    #[doc = "0x30 - the alarm value for the counter"]
22    pub frc2_alarm: crate::Reg<frc2_alarm::FRC2_ALARM_SPEC>,
23}
24#[doc = "FRC1_LOAD register accessor: an alias for `Reg<FRC1_LOAD_SPEC>`"]
25pub type FRC1_LOAD = crate::Reg<frc1_load::FRC1_LOAD_SPEC>;
26#[doc = "the load value into the counter"]
27pub mod frc1_load;
28#[doc = "FRC1_COUNT register accessor: an alias for `Reg<FRC1_COUNT_SPEC>`"]
29pub type FRC1_COUNT = crate::Reg<frc1_count::FRC1_COUNT_SPEC>;
30#[doc = "the current value of the counter. It is a decreasingcounter."]
31pub mod frc1_count;
32#[doc = "FRC1_CTRL register accessor: an alias for `Reg<FRC1_CTRL_SPEC>`"]
33pub type FRC1_CTRL = crate::Reg<frc1_ctrl::FRC1_CTRL_SPEC>;
34#[doc = "FRC1_CTRL"]
35pub mod frc1_ctrl;
36#[doc = "FRC1_INT register accessor: an alias for `Reg<FRC1_INT_SPEC>`"]
37pub type FRC1_INT = crate::Reg<frc1_int::FRC1_INT_SPEC>;
38#[doc = "FRC1_INT"]
39pub mod frc1_int;
40#[doc = "FRC2_LOAD register accessor: an alias for `Reg<FRC2_LOAD_SPEC>`"]
41pub type FRC2_LOAD = crate::Reg<frc2_load::FRC2_LOAD_SPEC>;
42#[doc = "the load value into the counter"]
43pub mod frc2_load;
44#[doc = "FRC2_COUNT register accessor: an alias for `Reg<FRC2_COUNT_SPEC>`"]
45pub type FRC2_COUNT = crate::Reg<frc2_count::FRC2_COUNT_SPEC>;
46#[doc = "the current value of the counter. It is a increasingcounter."]
47pub mod frc2_count;
48#[doc = "FRC2_CTRL register accessor: an alias for `Reg<FRC2_CTRL_SPEC>`"]
49pub type FRC2_CTRL = crate::Reg<frc2_ctrl::FRC2_CTRL_SPEC>;
50#[doc = "FRC2_CTRL"]
51pub mod frc2_ctrl;
52#[doc = "FRC2_INT register accessor: an alias for `Reg<FRC2_INT_SPEC>`"]
53pub type FRC2_INT = crate::Reg<frc2_int::FRC2_INT_SPEC>;
54#[doc = "FRC2_INT"]
55pub mod frc2_int;
56#[doc = "FRC2_ALARM register accessor: an alias for `Reg<FRC2_ALARM_SPEC>`"]
57pub type FRC2_ALARM = crate::Reg<frc2_alarm::FRC2_ALARM_SPEC>;
58#[doc = "the alarm value for the counter"]
59pub mod frc2_alarm;