avr_device/devices/atmega328p/
tc1.rs

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