rggen / rggen

Code generation tool for control and status registers
MIT License
319 stars 43 forks source link

separating HW and SW access #163

Closed imerkado91 closed 1 year ago

imerkado91 commented 1 year ago

From my understanding, the attributes of Bit Field are both for HW and SW, is there a way to separate it? For example, I want it to be RO for HW but RW for SW, Is there a way to do it using the source? if not- can it be added as a new feature?

@arnonsha

taichi-ishitani commented 1 year ago

Hi @imerkado91, How about using the custom bit field type? https://github.com/rggen/rggen/wiki/%27custom%27-bit-field-type

taichi-ishitani commented 1 year ago

@imerkado91 Can you close this issue if you have no further topics?