Hilscher netX microcontroller driver
V0.0.5.0
Documentation of the netX driver package
|
The netX driver packages general definitions and functionalities. More...
Modules | |
MUTEX | |
Precompiler Loop | |
Precompiler defines to generate a loop. | |
TRACE | |
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... | |
The netX driver packages general definitions and functionalities.
Those are general definitions and functionalities around the driver.
#define UNUSED | ( | x | ) | ((void)(x)) |
If there is the need to outsmart the compiler or linter.
Definition at line 40 of file netx_drv_def.h.
typedef void(* DRV_CALLBACK_F) (void *pvDriverHandle, void *pvUserHandle) |
The definition of callbacks used in the driver.
In the dio, the ptDriverHandle is a DRV_DIO_ID_T so one should cast as following: (DRV_DIO_ID_T) ptDriverHandle; to get an integer of the given pointer
Definition at line 48 of file netx_drv_def.h.
typedef enum DRV_STATUS_Etag * DRV_STATUS_EP |
enum DRV_OPERATION_MODE_E |
Enumeration of the operation mode.
Definition at line 69 of file netx_drv_def.h.
enum DRV_STATUS_E |
DRV Status structures definition.
Definition at line 53 of file netx_drv_def.h.