avr_device/devices/atmega32u4/
tc0.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Timer/Counter0 Interrupt Flag register"]
5 pub tifr0: TIFR0,
6 _reserved1: [u8; 0x0d],
7 #[doc = "0x0e - General Timer/Counter Control Register"]
8 pub gtccr: GTCCR,
9 #[doc = "0x0f - Timer/Counter Control Register A"]
10 pub tccr0a: TCCR0A,
11 #[doc = "0x10 - Timer/Counter Control Register B"]
12 pub tccr0b: TCCR0B,
13 #[doc = "0x11 - Timer/Counter0"]
14 pub tcnt0: TCNT0,
15 #[doc = "0x12 - Timer/Counter0 Output Compare Register"]
16 pub ocr0a: OCR0A,
17 #[doc = "0x13 - Timer/Counter0 Output Compare Register"]
18 pub ocr0b: OCR0B,
19 _reserved7: [u8; 0x25],
20 #[doc = "0x39 - Timer/Counter0 Interrupt Mask Register"]
21 pub timsk0: TIMSK0,
22}
23#[doc = "GTCCR (rw) register accessor: an alias for `Reg<GTCCR_SPEC>`"]
24pub type GTCCR = crate::Reg<gtccr::GTCCR_SPEC>;
25#[doc = "General Timer/Counter Control Register"]
26pub mod gtccr;
27#[doc = "OCR0A (rw) register accessor: an alias for `Reg<OCR0A_SPEC>`"]
28pub type OCR0A = crate::Reg<ocr0a::OCR0A_SPEC>;
29#[doc = "Timer/Counter0 Output Compare Register"]
30pub mod ocr0a;
31#[doc = "OCR0B (rw) register accessor: an alias for `Reg<OCR0B_SPEC>`"]
32pub type OCR0B = crate::Reg<ocr0b::OCR0B_SPEC>;
33#[doc = "Timer/Counter0 Output Compare Register"]
34pub mod ocr0b;
35#[doc = "TCCR0A (rw) register accessor: an alias for `Reg<TCCR0A_SPEC>`"]
36pub type TCCR0A = crate::Reg<tccr0a::TCCR0A_SPEC>;
37#[doc = "Timer/Counter Control Register A"]
38pub mod tccr0a;
39#[doc = "TCCR0B (rw) register accessor: an alias for `Reg<TCCR0B_SPEC>`"]
40pub type TCCR0B = crate::Reg<tccr0b::TCCR0B_SPEC>;
41#[doc = "Timer/Counter Control Register B"]
42pub mod tccr0b;
43#[doc = "TCNT0 (rw) register accessor: an alias for `Reg<TCNT0_SPEC>`"]
44pub type TCNT0 = crate::Reg<tcnt0::TCNT0_SPEC>;
45#[doc = "Timer/Counter0"]
46pub mod tcnt0;
47#[doc = "TIFR0 (rw) register accessor: an alias for `Reg<TIFR0_SPEC>`"]
48pub type TIFR0 = crate::Reg<tifr0::TIFR0_SPEC>;
49#[doc = "Timer/Counter0 Interrupt Flag register"]
50pub mod tifr0;
51#[doc = "TIMSK0 (rw) register accessor: an alias for `Reg<TIMSK0_SPEC>`"]
52pub type TIMSK0 = crate::Reg<timsk0::TIMSK0_SPEC>;
53#[doc = "Timer/Counter0 Interrupt Mask Register"]
54pub mod timsk0;