avr_device/devices/atmega32u4/
tc3.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Timer/Counter3 Interrupt Flag register"]
5    pub tifr3: TIFR3,
6    _reserved1: [u8; 0x38],
7    #[doc = "0x39 - Timer/Counter3 Interrupt Mask Register"]
8    pub timsk3: TIMSK3,
9    _reserved2: [u8; 0x1e],
10    #[doc = "0x58 - Timer/Counter3 Control Register A"]
11    pub tccr3a: TCCR3A,
12    #[doc = "0x59 - Timer/Counter3 Control Register B"]
13    pub tccr3b: TCCR3B,
14    #[doc = "0x5a - Timer/Counter 3 Control Register C"]
15    pub tccr3c: TCCR3C,
16    _reserved5: [u8; 0x01],
17    #[doc = "0x5c - Timer/Counter3 Bytes"]
18    pub tcnt3: TCNT3,
19    #[doc = "0x5e - Timer/Counter3 Input Capture Register Bytes"]
20    pub icr3: ICR3,
21    #[doc = "0x60 - Timer/Counter3 Output Compare Register A Bytes"]
22    pub ocr3a: OCR3A,
23    #[doc = "0x62 - Timer/Counter3 Output Compare Register B Bytes"]
24    pub ocr3b: OCR3B,
25    #[doc = "0x64 - Timer/Counter3 Output Compare Register B Bytes"]
26    pub ocr3c: OCR3C,
27}
28#[doc = "ICR3 (rw) register accessor: an alias for `Reg<ICR3_SPEC>`"]
29pub type ICR3 = crate::Reg<icr3::ICR3_SPEC>;
30#[doc = "Timer/Counter3 Input Capture Register Bytes"]
31pub mod icr3;
32#[doc = "OCR3A (rw) register accessor: an alias for `Reg<OCR3A_SPEC>`"]
33pub type OCR3A = crate::Reg<ocr3a::OCR3A_SPEC>;
34#[doc = "Timer/Counter3 Output Compare Register A Bytes"]
35pub mod ocr3a;
36#[doc = "OCR3B (rw) register accessor: an alias for `Reg<OCR3B_SPEC>`"]
37pub type OCR3B = crate::Reg<ocr3b::OCR3B_SPEC>;
38#[doc = "Timer/Counter3 Output Compare Register B Bytes"]
39pub mod ocr3b;
40#[doc = "OCR3C (rw) register accessor: an alias for `Reg<OCR3C_SPEC>`"]
41pub type OCR3C = crate::Reg<ocr3c::OCR3C_SPEC>;
42#[doc = "Timer/Counter3 Output Compare Register B Bytes"]
43pub mod ocr3c;
44#[doc = "TCCR3A (rw) register accessor: an alias for `Reg<TCCR3A_SPEC>`"]
45pub type TCCR3A = crate::Reg<tccr3a::TCCR3A_SPEC>;
46#[doc = "Timer/Counter3 Control Register A"]
47pub mod tccr3a;
48#[doc = "TCCR3B (rw) register accessor: an alias for `Reg<TCCR3B_SPEC>`"]
49pub type TCCR3B = crate::Reg<tccr3b::TCCR3B_SPEC>;
50#[doc = "Timer/Counter3 Control Register B"]
51pub mod tccr3b;
52#[doc = "TCCR3C (rw) register accessor: an alias for `Reg<TCCR3C_SPEC>`"]
53pub type TCCR3C = crate::Reg<tccr3c::TCCR3C_SPEC>;
54#[doc = "Timer/Counter 3 Control Register C"]
55pub mod tccr3c;
56#[doc = "TCNT3 (rw) register accessor: an alias for `Reg<TCNT3_SPEC>`"]
57pub type TCNT3 = crate::Reg<tcnt3::TCNT3_SPEC>;
58#[doc = "Timer/Counter3 Bytes"]
59pub mod tcnt3;
60#[doc = "TIFR3 (rw) register accessor: an alias for `Reg<TIFR3_SPEC>`"]
61pub type TIFR3 = crate::Reg<tifr3::TIFR3_SPEC>;
62#[doc = "Timer/Counter3 Interrupt Flag register"]
63pub mod tifr3;
64#[doc = "TIMSK3 (rw) register accessor: an alias for `Reg<TIMSK3_SPEC>`"]
65pub type TIMSK3 = crate::Reg<timsk3::TIMSK3_SPEC>;
66#[doc = "Timer/Counter3 Interrupt Mask Register"]
67pub mod timsk3;