Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ To add a new chip:
`cargo build --features <mcu>,rt`.
7. Also check the built documentation for inconsistencies, via
`cargo doc --features <mcu>,rt --open` (it will pop up in your browser).
8. Update this README.md, adding the MCU to the table.

## Internals
Since the vendor does not provide SVDs we can pass to [`svd2rust`][], we
Expand Down
369 changes: 369 additions & 0 deletions patch/attiny828.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,375 @@ _include:

- "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:
Expand Down
Loading