1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Timer Interrupt Flag Register"] pub tifr: TIFR, _reserved0: [u8; 56usize], #[doc = "0x39 - Timer Interrupt Mask Register"] pub timsk: TIMSK, _reserved1: [u8; 20usize], #[doc = "0x4e - Input Capture Register Low Byte"] pub icr_l: ICR_L, #[doc = "0x4f - Input Capture Register High Byte"] pub icr_h: ICR_H, _reserved2: [u8; 8usize], #[doc = "0x58 - Timer/Counter Control Register A"] pub tccr_a: TCCR_A, #[doc = "0x59 - Timer/Counter Control Register B"] pub tccr_b: TCCR_B, #[doc = "0x5a - Timer/Counter Control Register C"] pub tccr_c: TCCR_C, _reserved3: [u8; 1usize], #[doc = "0x5c - Timer/Counter Register Low Byte"] pub tcnt_l: TCNT_L, #[doc = "0x5d - Timer/Counter Register High Byte"] pub tcnt_h: TCNT_H, _reserved4: [u8; 2usize], #[doc = "0x60 - Output Compare Register A Low Byte"] pub ocr_a_l: OCR_A_L, #[doc = "0x61 - Output Compare Register A High Byte"] pub ocr_a_h: OCR_A_H, #[doc = "0x62 - Output Compare Register B Low Byte"] pub ocr_b_l: OCR_B_L, #[doc = "0x63 - Output Compare Register B High Byte"] pub ocr_b_h: OCR_B_H, #[doc = "0x64 - Output Compare Register C Low Byte"] pub ocr_c_l: OCR_C_L, #[doc = "0x65 - Output Compare Register C High Byte"] pub ocr_c_h: OCR_C_H, } #[doc = "Timer Interrupt Flag Register"] pub struct TIFR { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer Interrupt Flag Register"] pub mod tifr; #[doc = "Timer Interrupt Mask Register"] pub struct TIMSK { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer Interrupt Mask Register"] pub mod timsk; #[doc = "Input Capture Register Low Byte"] pub struct ICR_L { register: ::vcell::VolatileCell<u8>, } #[doc = "Input Capture Register Low Byte"] pub mod icr_l; #[doc = "Input Capture Register High Byte"] pub struct ICR_H { register: ::vcell::VolatileCell<u8>, } #[doc = "Input Capture Register High Byte"] pub mod icr_h; #[doc = "Timer/Counter Control Register A"] pub struct TCCR_A { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer/Counter Control Register A"] pub mod tccr_a; #[doc = "Timer/Counter Control Register B"] pub struct TCCR_B { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer/Counter Control Register B"] pub mod tccr_b; #[doc = "Timer/Counter Control Register C"] pub struct TCCR_C { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer/Counter Control Register C"] pub mod tccr_c; #[doc = "Timer/Counter Register Low Byte"] pub struct TCNT_L { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer/Counter Register Low Byte"] pub mod tcnt_l; #[doc = "Timer/Counter Register High Byte"] pub struct TCNT_H { register: ::vcell::VolatileCell<u8>, } #[doc = "Timer/Counter Register High Byte"] pub mod tcnt_h; #[doc = "Output Compare Register A Low Byte"] pub struct OCR_A_L { register: ::vcell::VolatileCell<u8>, } #[doc = "Output Compare Register A Low Byte"] pub mod ocr_a_l; #[doc = "Output Compare Register A High Byte"] pub struct OCR_A_H { register: ::vcell::VolatileCell<u8>, } #[doc = "Output Compare Register A High Byte"] pub mod ocr_a_h; #[doc = "Output Compare Register B Low Byte"] pub struct OCR_B_L { register: ::vcell::VolatileCell<u8>, } #[doc = "Output Compare Register B Low Byte"] pub mod ocr_b_l; #[doc = "Output Compare Register B High Byte"] pub struct OCR_B_H { register: ::vcell::VolatileCell<u8>, } #[doc = "Output Compare Register B High Byte"] pub mod ocr_b_h; #[doc = "Output Compare Register C Low Byte"] pub struct OCR_C_L { register: ::vcell::VolatileCell<u8>, } #[doc = "Output Compare Register C Low Byte"] pub mod ocr_c_l; #[doc = "Output Compare Register C High Byte"] pub struct OCR_C_H { register: ::vcell::VolatileCell<u8>, } #[doc = "Output Compare Register C High Byte"] pub mod ocr_c_h;