avr_device/devices/atmega4809/
tcb1.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control A"]
5    pub ctrla: CTRLA,
6    #[doc = "0x01 - Control Register B"]
7    pub ctrlb: CTRLB,
8    _reserved2: [u8; 0x02],
9    #[doc = "0x04 - Event Control"]
10    pub evctrl: EVCTRL,
11    #[doc = "0x05 - Interrupt Control"]
12    pub intctrl: INTCTRL,
13    #[doc = "0x06 - Interrupt Flags"]
14    pub intflags: INTFLAGS,
15    #[doc = "0x07 - Status"]
16    pub status: STATUS,
17    #[doc = "0x08 - Debug Control"]
18    pub dbgctrl: DBGCTRL,
19    #[doc = "0x09 - Temporary Value"]
20    pub temp: TEMP,
21    #[doc = "0x0a - Count"]
22    pub cnt: CNT,
23    #[doc = "0x0c - Compare or Capture"]
24    pub ccmp: CCMP,
25}
26#[doc = "CCMP (rw) register accessor: an alias for `Reg<CCMP_SPEC>`"]
27pub type CCMP = crate::Reg<ccmp::CCMP_SPEC>;
28#[doc = "Compare or Capture"]
29pub mod ccmp;
30#[doc = "CNT (rw) register accessor: an alias for `Reg<CNT_SPEC>`"]
31pub type CNT = crate::Reg<cnt::CNT_SPEC>;
32#[doc = "Count"]
33pub mod cnt;
34#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
35pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
36#[doc = "Control A"]
37pub mod ctrla;
38#[doc = "CTRLB (rw) register accessor: an alias for `Reg<CTRLB_SPEC>`"]
39pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>;
40#[doc = "Control Register B"]
41pub mod ctrlb;
42#[doc = "DBGCTRL (rw) register accessor: an alias for `Reg<DBGCTRL_SPEC>`"]
43pub type DBGCTRL = crate::Reg<dbgctrl::DBGCTRL_SPEC>;
44#[doc = "Debug Control"]
45pub mod dbgctrl;
46#[doc = "EVCTRL (rw) register accessor: an alias for `Reg<EVCTRL_SPEC>`"]
47pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>;
48#[doc = "Event Control"]
49pub mod evctrl;
50#[doc = "INTCTRL (rw) register accessor: an alias for `Reg<INTCTRL_SPEC>`"]
51pub type INTCTRL = crate::Reg<intctrl::INTCTRL_SPEC>;
52#[doc = "Interrupt Control"]
53pub mod intctrl;
54#[doc = "INTFLAGS (rw) register accessor: an alias for `Reg<INTFLAGS_SPEC>`"]
55pub type INTFLAGS = crate::Reg<intflags::INTFLAGS_SPEC>;
56#[doc = "Interrupt Flags"]
57pub mod intflags;
58#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
59pub type STATUS = crate::Reg<status::STATUS_SPEC>;
60#[doc = "Status"]
61pub mod status;
62#[doc = "TEMP (rw) register accessor: an alias for `Reg<TEMP_SPEC>`"]
63pub type TEMP = crate::Reg<temp::TEMP_SPEC>;
64#[doc = "Temporary Value"]
65pub mod temp;