avr_device/devices/atmega2560/
tc5.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Timer/Counter5 Interrupt Flag register"]
5    pub tifr5: TIFR5,
6    _reserved1: [u8; 0x38],
7    #[doc = "0x39 - Timer/Counter5 Interrupt Mask Register"]
8    pub timsk5: TIMSK5,
9    _reserved2: [u8; 0xac],
10    #[doc = "0xe6 - Timer/Counter5 Control Register A"]
11    pub tccr5a: TCCR5A,
12    #[doc = "0xe7 - Timer/Counter5 Control Register B"]
13    pub tccr5b: TCCR5B,
14    #[doc = "0xe8 - Timer/Counter 5 Control Register C"]
15    pub tccr5c: TCCR5C,
16    _reserved5: [u8; 0x01],
17    #[doc = "0xea - Timer/Counter5 Bytes"]
18    pub tcnt5: TCNT5,
19    #[doc = "0xec - Timer/Counter5 Input Capture Register Bytes"]
20    pub icr5: ICR5,
21    #[doc = "0xee - Timer/Counter5 Output Compare Register A Bytes"]
22    pub ocr5a: OCR5A,
23    #[doc = "0xf0 - Timer/Counter5 Output Compare Register B Bytes"]
24    pub ocr5b: OCR5B,
25    #[doc = "0xf2 - Timer/Counter5 Output Compare Register B Bytes"]
26    pub ocr5c: OCR5C,
27}
28#[doc = "ICR5 (rw) register accessor: an alias for `Reg<ICR5_SPEC>`"]
29pub type ICR5 = crate::Reg<icr5::ICR5_SPEC>;
30#[doc = "Timer/Counter5 Input Capture Register Bytes"]
31pub mod icr5;
32#[doc = "OCR5A (rw) register accessor: an alias for `Reg<OCR5A_SPEC>`"]
33pub type OCR5A = crate::Reg<ocr5a::OCR5A_SPEC>;
34#[doc = "Timer/Counter5 Output Compare Register A Bytes"]
35pub mod ocr5a;
36#[doc = "OCR5B (rw) register accessor: an alias for `Reg<OCR5B_SPEC>`"]
37pub type OCR5B = crate::Reg<ocr5b::OCR5B_SPEC>;
38#[doc = "Timer/Counter5 Output Compare Register B Bytes"]
39pub mod ocr5b;
40#[doc = "OCR5C (rw) register accessor: an alias for `Reg<OCR5C_SPEC>`"]
41pub type OCR5C = crate::Reg<ocr5c::OCR5C_SPEC>;
42#[doc = "Timer/Counter5 Output Compare Register B Bytes"]
43pub mod ocr5c;
44#[doc = "TCCR5A (rw) register accessor: an alias for `Reg<TCCR5A_SPEC>`"]
45pub type TCCR5A = crate::Reg<tccr5a::TCCR5A_SPEC>;
46#[doc = "Timer/Counter5 Control Register A"]
47pub mod tccr5a;
48#[doc = "TCCR5B (rw) register accessor: an alias for `Reg<TCCR5B_SPEC>`"]
49pub type TCCR5B = crate::Reg<tccr5b::TCCR5B_SPEC>;
50#[doc = "Timer/Counter5 Control Register B"]
51pub mod tccr5b;
52#[doc = "TCCR5C (rw) register accessor: an alias for `Reg<TCCR5C_SPEC>`"]
53pub type TCCR5C = crate::Reg<tccr5c::TCCR5C_SPEC>;
54#[doc = "Timer/Counter 5 Control Register C"]
55pub mod tccr5c;
56#[doc = "TCNT5 (rw) register accessor: an alias for `Reg<TCNT5_SPEC>`"]
57pub type TCNT5 = crate::Reg<tcnt5::TCNT5_SPEC>;
58#[doc = "Timer/Counter5 Bytes"]
59pub mod tcnt5;
60#[doc = "TIFR5 (rw) register accessor: an alias for `Reg<TIFR5_SPEC>`"]
61pub type TIFR5 = crate::Reg<tifr5::TIFR5_SPEC>;
62#[doc = "Timer/Counter5 Interrupt Flag register"]
63pub mod tifr5;
64#[doc = "TIMSK5 (rw) register accessor: an alias for `Reg<TIMSK5_SPEC>`"]
65pub type TIMSK5 = crate::Reg<timsk5::TIMSK5_SPEC>;
66#[doc = "Timer/Counter5 Interrupt Mask Register"]
67pub mod timsk5;