ZigEmbeddedGroup / regz

Generate zig code from ATDF or SVD files for microcontrollers.
MIT License
82 stars 29 forks source link

Peripheral mode for fields. #78

Open mattnite opened 1 year ago

mattnite commented 1 year ago

For ATmega3208, there are instances of registers with duplicated names. This is because the same register has different fields for different modes. Instead of representing this as variants of a single register, just have a single register that contains all the fields, and each of those fields has an associated mode.