avr_device/devices/atmega2560/
tc4.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Timer/Counter4 Interrupt Flag register"]
5    pub tifr4: TIFR4,
6    _reserved1: [u8; 0x38],
7    #[doc = "0x39 - Timer/Counter4 Interrupt Mask Register"]
8    pub timsk4: TIMSK4,
9    _reserved2: [u8; 0x2d],
10    #[doc = "0x67 - Timer/Counter4 Control Register A"]
11    pub tccr4a: TCCR4A,
12    #[doc = "0x68 - Timer/Counter4 Control Register B"]
13    pub tccr4b: TCCR4B,
14    #[doc = "0x69 - Timer/Counter 4 Control Register C"]
15    pub tccr4c: TCCR4C,
16    _reserved5: [u8; 0x01],
17    #[doc = "0x6b - Timer/Counter4 Bytes"]
18    pub tcnt4: TCNT4,
19    #[doc = "0x6d - Timer/Counter4 Input Capture Register Bytes"]
20    pub icr4: ICR4,
21    #[doc = "0x6f - Timer/Counter4 Output Compare Register A Bytes"]
22    pub ocr4a: OCR4A,
23    #[doc = "0x71 - Timer/Counter4 Output Compare Register B Bytes"]
24    pub ocr4b: OCR4B,
25    #[doc = "0x73 - Timer/Counter4 Output Compare Register B Bytes"]
26    pub ocr4c: OCR4C,
27}
28#[doc = "ICR4 (rw) register accessor: an alias for `Reg<ICR4_SPEC>`"]
29pub type ICR4 = crate::Reg<icr4::ICR4_SPEC>;
30#[doc = "Timer/Counter4 Input Capture Register Bytes"]
31pub mod icr4;
32#[doc = "OCR4A (rw) register accessor: an alias for `Reg<OCR4A_SPEC>`"]
33pub type OCR4A = crate::Reg<ocr4a::OCR4A_SPEC>;
34#[doc = "Timer/Counter4 Output Compare Register A Bytes"]
35pub mod ocr4a;
36#[doc = "OCR4B (rw) register accessor: an alias for `Reg<OCR4B_SPEC>`"]
37pub type OCR4B = crate::Reg<ocr4b::OCR4B_SPEC>;
38#[doc = "Timer/Counter4 Output Compare Register B Bytes"]
39pub mod ocr4b;
40#[doc = "OCR4C (rw) register accessor: an alias for `Reg<OCR4C_SPEC>`"]
41pub type OCR4C = crate::Reg<ocr4c::OCR4C_SPEC>;
42#[doc = "Timer/Counter4 Output Compare Register B Bytes"]
43pub mod ocr4c;
44#[doc = "TCCR4A (rw) register accessor: an alias for `Reg<TCCR4A_SPEC>`"]
45pub type TCCR4A = crate::Reg<tccr4a::TCCR4A_SPEC>;
46#[doc = "Timer/Counter4 Control Register A"]
47pub mod tccr4a;
48#[doc = "TCCR4B (rw) register accessor: an alias for `Reg<TCCR4B_SPEC>`"]
49pub type TCCR4B = crate::Reg<tccr4b::TCCR4B_SPEC>;
50#[doc = "Timer/Counter4 Control Register B"]
51pub mod tccr4b;
52#[doc = "TCCR4C (rw) register accessor: an alias for `Reg<TCCR4C_SPEC>`"]
53pub type TCCR4C = crate::Reg<tccr4c::TCCR4C_SPEC>;
54#[doc = "Timer/Counter 4 Control Register C"]
55pub mod tccr4c;
56#[doc = "TCNT4 (rw) register accessor: an alias for `Reg<TCNT4_SPEC>`"]
57pub type TCNT4 = crate::Reg<tcnt4::TCNT4_SPEC>;
58#[doc = "Timer/Counter4 Bytes"]
59pub mod tcnt4;
60#[doc = "TIFR4 (rw) register accessor: an alias for `Reg<TIFR4_SPEC>`"]
61pub type TIFR4 = crate::Reg<tifr4::TIFR4_SPEC>;
62#[doc = "Timer/Counter4 Interrupt Flag register"]
63pub mod tifr4;
64#[doc = "TIMSK4 (rw) register accessor: an alias for `Reg<TIMSK4_SPEC>`"]
65pub type TIMSK4 = crate::Reg<timsk4::TIMSK4_SPEC>;
66#[doc = "Timer/Counter4 Interrupt Mask Register"]
67pub mod timsk4;