_include:
- "common/ac.yaml"
- "common/eeprom.yaml"
- "common/spi.yaml"
- "common/wdt.yaml"
- "timer/attiny828.yaml"
PORTA:
DDRA:
_add:
PA0:
description: "Pin A0"
bitRange: "[0:0]"
access: read-write
PA1:
description: "Pin A1"
bitRange: "[1:1]"
access: read-write
PA2:
description: "Pin A2"
bitRange: "[2:2]"
access: read-write
PA3:
description: "Pin A3"
bitRange: "[3:3]"
access: read-write
PA4:
description: "Pin A4"
bitRange: "[4:4]"
access: read-write
PA5:
description: "Pin A5"
bitRange: "[5:5]"
access: read-write
PA6:
description: "Pin A6"
bitRange: "[6:6]"
access: read-write
PA7:
description: "Pin A7"
bitRange: "[7:7]"
access: read-write
PINA:
_add:
PA0:
description: "Pin A0"
bitRange: "[0:0]"
access: read-write
PA1:
description: "Pin A1"
bitRange: "[1:1]"
access: read-write
PA2:
description: "Pin A2"
bitRange: "[2:2]"
access: read-write
PA3:
description: "Pin A3"
bitRange: "[3:3]"
access: read-write
PA4:
description: "Pin A4"
bitRange: "[4:4]"
access: read-write
PA5:
description: "Pin A5"
bitRange: "[5:5]"
access: read-write
PA6:
description: "Pin A6"
bitRange: "[6:6]"
access: read-write
PA7:
description: "Pin A7"
bitRange: "[7:7]"
access: read-write
PORTA:
_add:
PA0:
description: "Pin A0"
bitRange: "[0:0]"
access: read-write
PA1:
description: "Pin A1"
bitRange: "[1:1]"
access: read-write
PA2:
description: "Pin A2"
bitRange: "[2:2]"
access: read-write
PA3:
description: "Pin A3"
bitRange: "[3:3]"
access: read-write
PA4:
description: "Pin A4"
bitRange: "[4:4]"
access: read-write
PA5:
description: "Pin A5"
bitRange: "[5:5]"
access: read-write
PA6:
description: "Pin A6"
bitRange: "[6:6]"
access: read-write
PA7:
description: "Pin A7"
bitRange: "[7:7]"
access: read-write
PORTB:
DDRB:
_add:
PB0:
description: "Pin B0"
bitRange: "[0:0]"
access: read-write
PB1:
description: "Pin B1"
bitRange: "[1:1]"
access: read-write
PB2:
description: "Pin B2"
bitRange: "[2:2]"
access: read-write
PB3:
description: "Pin B3"
bitRange: "[3:3]"
access: read-write
PB4:
description: "Pin B4"
bitRange: "[4:4]"
access: read-write
PB5:
description: "Pin B5"
bitRange: "[5:5]"
access: read-write
PB6:
description: "Pin B6"
bitRange: "[6:6]"
access: read-write
PB7:
description: "Pin B7"
bitRange: "[7:7]"
access: read-write
PINB:
_add:
PB0:
description: "Pin B0"
bitRange: "[0:0]"
access: read-write
PB1:
description: "Pin B1"
bitRange: "[1:1]"
access: read-write
PB2:
description: "Pin B2"
bitRange: "[2:2]"
access: read-write
PB3:
description: "Pin B3"
bitRange: "[3:3]"
access: read-write
PB4:
description: "Pin B4"
bitRange: "[4:4]"
access: read-write
PB5:
description: "Pin B5"
bitRange: "[5:5]"
access: read-write
PB6:
description: "Pin B6"
bitRange: "[6:6]"
access: read-write
PB7:
description: "Pin B7"
bitRange: "[7:7]"
access: read-write
PORTB:
_add:
PB0:
description: "Pin B0"
bitRange: "[0:0]"
access: read-write
PB1:
description: "Pin B1"
bitRange: "[1:1]"
access: read-write
PB2:
description: "Pin B2"
bitRange: "[2:2]"
access: read-write
PB3:
description: "Pin B3"
bitRange: "[3:3]"
access: read-write
PB4:
description: "Pin B4"
bitRange: "[4:4]"
access: read-write
PB5:
description: "Pin B5"
bitRange: "[5:5]"
access: read-write
PB6:
description: "Pin B6"
bitRange: "[6:6]"
access: read-write
PB7:
description: "Pin B7"
bitRange: "[7:7]"
access: read-write
PORTC:
DDRC:
_add:
PC0:
description: "Pin C0"
bitRange: "[0:0]"
access: read-write
PC1:
description: "Pin C1"
bitRange: "[1:1]"
access: read-write
PC2:
description: "Pin C2"
bitRange: "[2:2]"
access: read-write
PC3:
description: "Pin C3"
bitRange: "[3:3]"
access: read-write
PC4:
description: "Pin C4"
bitRange: "[4:4]"
access: read-write
PC5:
description: "Pin C5"
bitRange: "[5:5]"
access: read-write
PC6:
description: "Pin C6"
bitRange: "[6:6]"
access: read-write
PC7:
description: "Pin C7"
bitRange: "[7:7]"
access: read-write
PINC:
_add:
PC0:
description: "Pin C0"
bitRange: "[0:0]"
access: read-write
PC1:
description: "Pin C1"
bitRange: "[1:1]"
access: read-write
PC2:
description: "Pin C2"
bitRange: "[2:2]"
access: read-write
PC3:
description: "Pin C3"
bitRange: "[3:3]"
access: read-write
PC4:
description: "Pin C4"
bitRange: "[4:4]"
access: read-write
PC5:
description: "Pin C5"
bitRange: "[5:5]"
access: read-write
PC6:
description: "Pin C6"
bitRange: "[6:6]"
access: read-write
PC7:
description: "Pin C7"
bitRange: "[7:7]"
access: read-write
PORTC:
_add:
PC0:
description: "Pin C0"
bitRange: "[0:0]"
access: read-write
PC1:
description: "Pin C1"
bitRange: "[1:1]"
access: read-write
PC2:
description: "Pin C2"
bitRange: "[2:2]"
access: read-write
PC3:
description: "Pin C3"
bitRange: "[3:3]"
access: read-write
PC4:
description: "Pin C4"
bitRange: "[4:4]"
access: read-write
PC5:
description: "Pin C5"
bitRange: "[5:5]"
access: read-write
PC6:
description: "Pin C6"
bitRange: "[6:6]"
access: read-write
PC7:
description: "Pin C7"
bitRange: "[7:7]"
access: read-write
PORTD:
DDRD:
_add:
PD0:
description: "Pin D0"
bitRange: "[0:0]"
access: read-write
PD1:
description: "Pin D1"
bitRange: "[1:1]"
access: read-write
PD2:
description: "Pin D2"
bitRange: "[2:2]"
access: read-write
PD3:
description: "Pin D3"
bitRange: "[3:3]"
access: read-write
PIND:
_add:
PD0:
description: "Pin D0"
bitRange: "[0:0]"
access: read-write
PD1:
description: "Pin D1"
bitRange: "[1:1]"
access: read-write
PD2:
description: "Pin D2"
bitRange: "[2:2]"
access: read-write
PD3:
description: "Pin D3"
bitRange: "[3:3]"
access: read-write
PORTD:
_add:
PD0:
description: "Pin D0"
bitRange: "[0:0]"
access: read-write
PD1:
description: "Pin D1"
bitRange: "[1:1]"
access: read-write
PD2:
description: "Pin D2"
bitRange: "[2:2]"
access: read-write
PD3:
description: "Pin D3"
bitRange: "[3:3]"
access: read-write
ADC:
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_RUNNING: [0, "Free Running Mode"]
ANALOG_COMPARATOR: [1, "Analog Comparator"]
EXTERNAL_INTERRUPT: [2, "External Interrupt Request 0"]
TIMER0_COMPARE_MATCH_A: [3, "Timer/Counter0 Compare Match A"]
TIMER0_OVERFLOW: [4, "Timer/Counter0 Overflow"]
TIMER1_COMPARE_MATCH_B: [5, "Timer/Counter1 Compare Match B"]
TIMER1_OVERFLOW: [6, "Timer/Counter1 Overflow"]
TIMER1_CAPTURE_EVENT: [7, "Timer/Counter1 Capture Event"]
ADMUXB:
REFS:
_replace_enum:
VCC: [0, "Vcc used as analog reference"]
INTERNAL: [1, "Internal 1.1V Voltage Reference"]
CPU:
SMCR:
SM:
_replace_enum:
IDLE: [ 0, "Idle" ]
ADC: [ 1, "ADC Noise Reduction" ]
PDOWN: [ 2, "Power Down" ]
EEPROM:
_delete:
- "EEAR"
EXINT:
EICRA:
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"]
USART:
UCSRA:
_modify:
UPE:
access: read-only
DOR:
access: read-only
FE:
access: read-only
UDRE:
access: read-only
TXC:
description: "USART Transmit Complete"
RXC:
access: read-only
UCSRB:
_modify:
RXB8:
access: read-only
UCSRC:
UMSEL:
_replace_enum:
USART_ASYNC: [0, "Asynchronous USART"]
USART_SYNC: [1, "Synchronous USART"]
SPI_MASTER: [3, "Master SPI (MSPIM)"]
UPM:
_replace_enum:
DISABLED: [0, "Disabled"]
PARITY_EVEN: [2, "Enabled, Even Parity"]
PARITY_ODD: [3, "Enabled, Odd Parity"]
USBS:
_replace_enum:
STOP1: [0, "1-bit"]
STOP2: [1, "2-bit"]
UCSZ:
_replace_enum:
CHR5: [0, "Character Size: 5 bit"]
CHR6: [1, "Character Size: 6 bit"]
CHR7: [2, "Character Size: 7 bit"]
CHR8: [3, "Character Size: 8 bit"]
UCPOL:
_replace_enum:
RISING_EDGE: [0, "Transmit on Rising XCKn Edge, Receive on Falling XCKn Edge"]
FALLING_EDGE: [1, "Transmit on Falling XCKn Edge, Receive on Rising XCKn Edge"]