To prepare the file that provides the driver functionality:
This section includes an example of driver files, An example of a custom driver. Use this example as a template for building your driver code.
The driver methods and API functions that you can use are described in Available driver methods and Available API support functions.