I sort-of thought that the .h files included in studio were automatically generated from the ARM-standardized CMSIS ".svd" files.
But in fooling around with parsing the .svd files, I don't see how this can be the case:
- The .svd files don't provide the division into the components/*.h (I guess that they COULD...)
- PORTGROUP isn't mentioned anywhere in (say) ATSAMD21G18A.svd
- the elements of PORT are dimensioned "oddly" - it seems that registers are accessed via PORT.DIR[portnum] and similar instead of PORTS[portnum].dir, or something like that...
Am I missing something?
(The goal is essentially to generate assembly-style definition files instead of C .h files...)