Hilscher netX microcontroller driver
V0.0.5.0
Documentation of the netX driver package
|
This file contains the peripheral driver common defines, enumeration, macros and structures definitions. More...
Go to the source code of this file.
Macros | |
#define | UNUSED(x) ((void)(x)) |
If there is the need to outsmart the compiler or linter. More... | |
Typedefs | |
typedef void(* | DRV_CALLBACK_F) (void *pvDriverHandle, void *pvUserHandle) |
The definition of callbacks used in the driver. More... | |
typedef enum DRV_STATUS_Etag * | DRV_STATUS_EP |
Enumerations | |
enum | DRV_STATUS_E { DRV_OK = 0U, DRV_ERROR = -1, DRV_BUSY = -2, DRV_TOUT = -3, DRV_NSUPP = -4, DRV_NIMPL = -5, DRV_ERROR_PARAM = -6, DRV_LOCKED = -7, DRV_ERROR_BUFFER = -8 } |
DRV Status structures definition. More... | |
enum | DRV_OPERATION_MODE_E { DRV_OPERATION_MODE_POLL = 0x0u, DRV_OPERATION_MODE_IRQ = 0x1u, DRV_OPERATION_MODE_DMA = 0x2u, DRV_OPERATION_MODE_MIN = DRV_OPERATION_MODE_POLL, DRV_OPERATION_MODE_MAX = DRV_OPERATION_MODE_DMA } |
Enumeration of the operation mode. More... | |
This file contains the peripheral driver common defines, enumeration, macros and structures definitions.
Definition in file netx_drv_def.h.