Skip to content
Snippets Groups Projects
Commit e1c7216e authored by Marco Filho's avatar Marco Filho
Browse files

Use map to organize registers. Add SC register.

This commit organizes all possible register parameter lists in a map.

This is so findRegister can search each register map from a single data structure
instead of having to hardcode every new register parameter list in the findRegister function.

Now, to add a new register, developer should only need to:

  1 - Create the register parameter list and add it to the map in vmm_tbl.h:39-41
  2 - ... I think that's it(?)

Also, asynPrint should tell which hybrid, vmm and register are being affected by the operation now.
parent 4d3389a8
No related branches found
No related tags found
1 merge request!4Add arrays to set channels
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment