Closed vkottler closed 1 year ago
Union field seems kind of stupid, don't see any reason why you can't just define an arbitrary amount of bit-fields for a given register (and just use the base name..)
Maybe we should just allow a field's name
to be a list... and turn that into a union. otherwise we could add an aliases
thing or something?
This is next up, after this we need bit fields (https://github.com/vkottler/ifgen/issues/42).
The schema + data plumbing for derived bit fields is there, we just need to add the code-generation side for it.
Fully implemented here: https://github.com/vkottler/ifgen/pull/43.
Example: