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 Suren A. Chilingaryan

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.

comment:2 Changed 12 years ago by Matthias Vogelgesang

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 Suren A. Chilingaryan

Yes, it is clear. I also hope, Michele checks the inputs in FPGA ;)

comment:4 Changed 12 years ago by Suren A. Chilingaryan

Resolution: duplicate
Status: newclosed

Joined with ticket #77 and now active as #104

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Suren A. Chilingaryan.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.