avr_device/devices/atmega32u4/
tc1.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Timer/Counter1 Interrupt Flag register"]
5    pub tifr1: TIFR1,
6    _reserved1: [u8; 0x38],
7    #[doc = "0x39 - Timer/Counter1 Interrupt Mask Register"]
8    pub timsk1: TIMSK1,
9    _reserved2: [u8; 0x10],
10    #[doc = "0x4a - Timer/Counter1 Control Register A"]
11    pub tccr1a: TCCR1A,
12    #[doc = "0x4b - Timer/Counter1 Control Register B"]
13    pub tccr1b: TCCR1B,
14    #[doc = "0x4c - Timer/Counter 1 Control Register C"]
15    pub tccr1c: TCCR1C,
16    _reserved5: [u8; 0x01],
17    #[doc = "0x4e - Timer/Counter1 Bytes"]
18    pub tcnt1: TCNT1,
19    #[doc = "0x50 - Timer/Counter1 Input Capture Register Bytes"]
20    pub icr1: ICR1,
21    #[doc = "0x52 - Timer/Counter1 Output Compare Register A Bytes"]
22    pub ocr1a: OCR1A,
23    #[doc = "0x54 - Timer/Counter1 Output Compare Register B Bytes"]
24    pub ocr1b: OCR1B,
25    #[doc = "0x56 - Timer/Counter1 Output Compare Register C Bytes"]
26    pub ocr1c: OCR1C,
27}
28#[doc = "ICR1 (rw) register accessor: an alias for `Reg<ICR1_SPEC>`"]
29pub type ICR1 = crate::Reg<icr1::ICR1_SPEC>;
30#[doc = "Timer/Counter1 Input Capture Register Bytes"]
31pub mod icr1;
32#[doc = "OCR1A (rw) register accessor: an alias for `Reg<OCR1A_SPEC>`"]
33pub type OCR1A = crate::Reg<ocr1a::OCR1A_SPEC>;
34#[doc = "Timer/Counter1 Output Compare Register A Bytes"]
35pub mod ocr1a;
36#[doc = "OCR1B (rw) register accessor: an alias for `Reg<OCR1B_SPEC>`"]
37pub type OCR1B = crate::Reg<ocr1b::OCR1B_SPEC>;
38#[doc = "Timer/Counter1 Output Compare Register B Bytes"]
39pub mod ocr1b;
40#[doc = "OCR1C (rw) register accessor: an alias for `Reg<OCR1C_SPEC>`"]
41pub type OCR1C = crate::Reg<ocr1c::OCR1C_SPEC>;
42#[doc = "Timer/Counter1 Output Compare Register C Bytes"]
43pub mod ocr1c;
44#[doc = "TCCR1A (rw) register accessor: an alias for `Reg<TCCR1A_SPEC>`"]
45pub type TCCR1A = crate::Reg<tccr1a::TCCR1A_SPEC>;
46#[doc = "Timer/Counter1 Control Register A"]
47pub mod tccr1a;
48#[doc = "TCCR1B (rw) register accessor: an alias for `Reg<TCCR1B_SPEC>`"]
49pub type TCCR1B = crate::Reg<tccr1b::TCCR1B_SPEC>;
50#[doc = "Timer/Counter1 Control Register B"]
51pub mod tccr1b;
52#[doc = "TCCR1C (rw) register accessor: an alias for `Reg<TCCR1C_SPEC>`"]
53pub type TCCR1C = crate::Reg<tccr1c::TCCR1C_SPEC>;
54#[doc = "Timer/Counter 1 Control Register C"]
55pub mod tccr1c;
56#[doc = "TCNT1 (rw) register accessor: an alias for `Reg<TCNT1_SPEC>`"]
57pub type TCNT1 = crate::Reg<tcnt1::TCNT1_SPEC>;
58#[doc = "Timer/Counter1 Bytes"]
59pub mod tcnt1;
60#[doc = "TIFR1 (rw) register accessor: an alias for `Reg<TIFR1_SPEC>`"]
61pub type TIFR1 = crate::Reg<tifr1::TIFR1_SPEC>;
62#[doc = "Timer/Counter1 Interrupt Flag register"]
63pub mod tifr1;
64#[doc = "TIMSK1 (rw) register accessor: an alias for `Reg<TIMSK1_SPEC>`"]
65pub type TIMSK1 = crate::Reg<timsk1::TIMSK1_SPEC>;
66#[doc = "Timer/Counter1 Interrupt Mask Register"]
67pub mod timsk1;