The driver has two software components supplied by the user:
- Transport layer implementation – Mandatory
The driver code provides the required transport and bus interfaces.
The user must provide the function implementation per the transport layer chosen (SPI or UART), and the platform used. - OS Wrapper – Optional
The driver code provides the required OS wrapper interface.
To use an OS, first provide the function implementation per the OS and platform used.