-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,558 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
_svd: ../svd/atmega328pb.svd | ||
|
||
# Remove index suffix from all registers and fields | ||
SPI0: | ||
_strip_end: | ||
- "0" | ||
SPI1: | ||
_strip_end: | ||
- "1" | ||
SPSR: | ||
_strip_end: | ||
- "1" | ||
SPCR: | ||
_strip_end: | ||
- "1" | ||
|
||
# Remove index suffix from all registers and fields | ||
TWI0: | ||
_strip_end: | ||
- "0" | ||
TWI1: | ||
_strip_end: | ||
- "1" | ||
TWCR: | ||
_strip_end: | ||
- "1" | ||
TWSR: | ||
_strip_end: | ||
- "1" | ||
|
||
_include: | ||
- "common/ac.yaml" | ||
- "common/adc.yaml" | ||
- "common/port.yaml" | ||
- "common/usart.yaml" | ||
- "common/spi.yaml" | ||
- "common/twi.yaml" | ||
- "common/wdt.yaml" | ||
|
||
- "timer/atmega328pb.yaml" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# This intermediate file is needed because peripheral-level includes are not | ||
# supported in top-level files. | ||
|
||
TC0: | ||
_include: | ||
- "dev/8bit.yaml" | ||
|
||
TC1: | ||
_include: | ||
- "dev/16bit.yaml" | ||
|
||
TC2: | ||
_include: | ||
- "dev/8bit-async.yaml" | ||
|
||
TC3: | ||
TCCR3B: | ||
# Merge WGM32 and WGM33 | ||
_delete: | ||
- "WGM3*" | ||
_add: | ||
WGM3: | ||
description: Waveform Generation Mode | ||
bitOffset: 3 | ||
bitWidth: 2 | ||
access: read-write | ||
_include: | ||
- "dev/16bit.yaml" | ||
|
||
TC4: | ||
TCCR4B: | ||
# Merge WGM42 and WGM43 | ||
_delete: | ||
- "WGM4*" | ||
_add: | ||
WGM4: | ||
description: Waveform Generation Mode | ||
bitOffset: 3 | ||
bitWidth: 2 | ||
access: read-write | ||
|
||
_include: | ||
- "dev/16bit.yaml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.