Registers & Bit-Fields in Firmware
Keep the C/C++ firmware code consistent with the single source specifications and derived hardware and documentation views. Automatically generate the following register abstractions for your product:
- Register and bit-field constants
- Most up-to-date register descriptions as comments
- Access macros that take care of indexing, bit shifting & masking
- Iterateable register and field data structures for looping and testing
- Regressible register hardware test
- Bit-field struct union per-register for convenient access
- Register classes for C++ object oriented paradigms
- Text diagram of the register fields
As is the case with all SpectaReg outputs, the coding style can be customized to your specifics.