_include: - "common/ac.yaml" - "common/wdt.yaml" - "timer/attiny85.yaml" AC: _modify: DIDR0: description: "Digital Input Disable Register 0" ADC: _modify: ADCSRA: description: "ADC Control and Status Register A" ADCSRA: ADPS: _replace_enum: PRESCALER_2: [1, "Prescaler Value 2"] PRESCALER_4: [2, "Prescaler Value 4"] PRESCALER_8: [3, "Prescaler Value 8"] PRESCALER_16: [4, "Prescaler Value 16"] PRESCALER_32: [5, "Prescaler Value 32"] PRESCALER_64: [6, "Prescaler Value 64"] PRESCALER_128: [7, "Prescaler Value 128"] ADCSRB: ADTS: _replace_enum: FREE: [0, "Free Running mode"] AC: [1, "Analog Comparator"] INT0: [2, "External Interrupt Request 0"] TC0_CMA: [3, "Timer/Counter0 Compare Match A"] TC0_OVF: [4, "Timer/Counter0 Overflow"] TC0_CMB: [5, "Timer/Counter0 Compare Match B"] PCIR: [6, "Pin Change Interrupt Request"] ADMUX: _modify: MUX: _write_constraint: enum REFS: _write_constraint: enum MUX: _replace_enum: ADC0: [0, "Single-ended Input ADC0"] ADC1: [1, "Single-ended Input ADC1"] ADC2: [2, "Single-ended Input ADC2"] ADC3: [3, "Single-ended Input ADC3"] ADC2_ADC2_G1: [4, "Differential Inputs Positive ADC2 Negative ADC2 1x Gain"] ADC2_ADC2_G20: [5, "Differential Inputs Positive ADC2 Negative ADC2 20x Gain"] ADC2_ADC3_G1: [6, "Differential Inputs Positive ADC2 Negative ADC3 1x Gain"] ADC2_ADC3_G20: [7, "Differential Inputs Positive ADC2 Negative ADC3 20x Gain"] ADC0_ADC0_G1: [8, "Differential Inputs Positive ADC0 Negative ADC0 1x Gain"] ADC0_ADC0_G20: [9, "Differential Inputs Positive ADC0 Negative ADC0 20x Gain"] ADC0_ADC1_G1: [10, "Differential Inputs Positive ADC0 Negative ADC1 1x Gain"] ADC0_ADC1_G20: [11, "Differential Inputs Postive ADC0 Negative ADC1 20x Gain"] ADC_VBG: [12, "Internal Reference (VBG)"] ADC_GND: [13, "0V (GND)"] TEMPSENS: [15, "Temperature sensor"] REFS: _replace_enum: VCC: [0, "Vcc used as Voltage Reference, disconnected from Aref"] AREF: [1, "External Voltage Reference at AREF pin, Internal Voltage Reference turned off"] INTERNAL: [2, "Internal Voltage Reference (1.1V when REFS2 is cleared, 2.56V when REFS2 is set) without external bypass"] INTERNAL_BYPASS: [3, "Internal 2.56V Voltage Reference with external bypass capacitor at AREF pin (REFS2 must be set)"] CPU: _modify: CLKPR: access: read-write MCUSR: access: read-write OSCCAL: access: read-write CLKPR: CLKPS: _replace_enum: PRESCALER_1: [0, "Prescaler Value 1"] PRESCALER_2: [1, "Prescaler Value 2"] PRESCALER_4: [2, "Prescaler Value 4"] PRESCALER_8: [3, "Prescaler Value 8"] PRESCALER_16: [4, "Prescaler Value 16"] PRESCALER_32: [5, "Prescaler Value 32"] PRESCALER_64: [6, "Prescaler Value 64"] PRESCALER_128: [7, "Prescaler Value 128"] PRESCALER_256: [8, "Prescaler Value 256"] MCUCR: _delete: ISC?: _add: BODS: description: "BOD Sleep (available on some devices)" bitOffset: 7 bitWidth: 1 access: read-write BODSE: description: "BOD Sleep Enable (available on some devices)" bitOffset: 2 bitWidth: 1 access: read-write OSCCAL: _modify: CAL: access: read-write PLLCSR: _modify: PLOCK: access: read-only EEPROM: EECR: EEPM: _replace_enum: ATOMIC: [0, "Atomic (erase and write in one operation)"] ERASE: [1, "Erase only"] WRITE: [2, "Write only"] EXINT: _modify: GIFR: access: read-write MCUCR: _delete: ISC??: _add: ISC0: description: "Interrupt Sense Control 0 bits" bitOffset: 0 bitWidth: 2 access: read-write ISC0: _replace_enum: LOW: [0, "The low level of INTx generates an interrupt request"] TOGGLE: [1, "Any logical change on INTx generates an interrupt request"] FALLING: [2, "The falling edge of INTx generates an interrupt request"] RISING: [3, "The rising edge of INTx generates an interrupt request"] USI: _modify: USISR: access: read-write USICR: _modify: USICLK: access: write-only USITC: access: write-only USIWM: _replace_enum: DISABLED: [0, "All detectors disabled. Port pins operates as normal."] THREE_WIRE: [1, "Three-wire mode. Uses DO, DI, and USCK pins."] TWO_WIRE_SLAVE: [2, "Two-wire mode (Slave). Uses SDA (DI) and SCL (USCK) pins."] TWO_WIRE_MASTER: [3, "Two-wire mode (Master). Uses SDA and SCL pins."] USICS: NO_CLOCK: [0, "No Clock/Software clock strobe"] TC0: [1, "Timer/Counter0 Compare Match"] EXT_POS: [2, "External, positive edge"] EXT_NEG: [3, "External, negative edge"] USISR: _modify: USIDC: access: read-only