|
|
At this point in the driver code, we've defined all the necessary elements needed by the various channel operations that will do the work of the driver and interface otherwise with the UDI environment. Now we define the channel operations.
Both the udi_cmos and pseudod sample drivers define three groups of channel operations:
The remainder of the code for both the udi_cmos and pseudod sample drivers defines the operations for these channels.
See Function Call Classifications and Calling Sequence and Naming Conventions in the UDI Core Specification for a review of driver function types, channel operations, and callback function conventions.