Modify ↓
Opened 12 years ago
Closed 12 years ago
#67 closed enhancement (duplicate)
Extend pcilib_register_description_t with min/max fields
Reported by: | Matthias Vogelgesang | Owned by: | Suren A. Chilingaryan |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | pcilib | Version: | |
Keywords: | Cc: | Suren A. Chilingaryan |
Description
There is already a default value field. However, it would be extremely helpful to have minimum and maximum possible values (this is possible with GParamSpec) for each register (AFAICT the CMOSIS spec provides them).
Attachments (0)
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Well, I hope that your driver checks the register values, because I cannot restrict the valid range of inputs from the user without this information.
comment:3 Changed 12 years ago by
Yes, it is clear. I also hope, Michele checks the inputs in FPGA ;)
comment:4 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Joined with ticket #77 and now active as #104
Note: See
TracTickets for help on using
tickets.
Yes, it is a good idea. Generally, I was thinking about minimalistic type system which will allow to directly map the registers to the HTML forms. However, I'd postpone this until new XML-based register model if you can leave without for now.