avr_device/devices/attiny85/
tc1.rs
1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Dead time prescaler register"]
5 pub dtps: DTPS,
6 #[doc = "0x01 - Dead Time Value Register B"]
7 pub dt1b: DT1B,
8 #[doc = "0x02 - Dead Time Value Register A"]
9 pub dt1a: DT1A,
10 _reserved3: [u8; 0x05],
11 #[doc = "0x08 - Output Compare Register B"]
12 pub ocr1b: OCR1B,
13 #[doc = "0x09 - Timer counter control register"]
14 pub gtccr: GTCCR,
15 #[doc = "0x0a - Output Compare Register C"]
16 pub ocr1c: OCR1C,
17 #[doc = "0x0b - Output Compare Register A"]
18 pub ocr1a: OCR1A,
19 #[doc = "0x0c - Timer/Counter Register"]
20 pub tcnt1: TCNT1,
21 #[doc = "0x0d - Timer/Counter Control Register"]
22 pub tccr1: TCCR1,
23 _reserved9: [u8; 0x07],
24 #[doc = "0x15 - Timer/Counter Interrupt Flag Register"]
25 pub tifr: TIFR,
26 #[doc = "0x16 - Timer/Counter Interrupt Mask Register"]
27 pub timsk: TIMSK,
28}
29#[doc = "DT1A (rw) register accessor: an alias for `Reg<DT1A_SPEC>`"]
30pub type DT1A = crate::Reg<dt1a::DT1A_SPEC>;
31#[doc = "Dead Time Value Register A"]
32pub mod dt1a;
33#[doc = "DT1B (rw) register accessor: an alias for `Reg<DT1B_SPEC>`"]
34pub type DT1B = crate::Reg<dt1b::DT1B_SPEC>;
35#[doc = "Dead Time Value Register B"]
36pub mod dt1b;
37#[doc = "DTPS (rw) register accessor: an alias for `Reg<DTPS_SPEC>`"]
38pub type DTPS = crate::Reg<dtps::DTPS_SPEC>;
39#[doc = "Dead time prescaler register"]
40pub mod dtps;
41#[doc = "GTCCR (rw) register accessor: an alias for `Reg<GTCCR_SPEC>`"]
42pub type GTCCR = crate::Reg<gtccr::GTCCR_SPEC>;
43#[doc = "Timer counter control register"]
44pub mod gtccr;
45#[doc = "OCR1A (rw) register accessor: an alias for `Reg<OCR1A_SPEC>`"]
46pub type OCR1A = crate::Reg<ocr1a::OCR1A_SPEC>;
47#[doc = "Output Compare Register A"]
48pub mod ocr1a;
49#[doc = "OCR1B (rw) register accessor: an alias for `Reg<OCR1B_SPEC>`"]
50pub type OCR1B = crate::Reg<ocr1b::OCR1B_SPEC>;
51#[doc = "Output Compare Register B"]
52pub mod ocr1b;
53#[doc = "OCR1C (rw) register accessor: an alias for `Reg<OCR1C_SPEC>`"]
54pub type OCR1C = crate::Reg<ocr1c::OCR1C_SPEC>;
55#[doc = "Output Compare Register C"]
56pub mod ocr1c;
57#[doc = "TCCR1 (rw) register accessor: an alias for `Reg<TCCR1_SPEC>`"]
58pub type TCCR1 = crate::Reg<tccr1::TCCR1_SPEC>;
59#[doc = "Timer/Counter Control Register"]
60pub mod tccr1;
61#[doc = "TCNT1 (rw) register accessor: an alias for `Reg<TCNT1_SPEC>`"]
62pub type TCNT1 = crate::Reg<tcnt1::TCNT1_SPEC>;
63#[doc = "Timer/Counter Register"]
64pub mod tcnt1;
65#[doc = "TIFR (rw) register accessor: an alias for `Reg<TIFR_SPEC>`"]
66pub type TIFR = crate::Reg<tifr::TIFR_SPEC>;
67#[doc = "Timer/Counter Interrupt Flag Register"]
68pub mod tifr;
69#[doc = "TIMSK (rw) register accessor: an alias for `Reg<TIMSK_SPEC>`"]
70pub type TIMSK = crate::Reg<timsk::TIMSK_SPEC>;
71#[doc = "Timer/Counter Interrupt Mask Register"]
72pub mod timsk;