Hilscher netX microcontroller driver
V0.0.5.0
Documentation of the netX driver package
|
This file contains all the functions prototypes for the peripheral module driver. More...
Go to the source code of this file.
Data Structures | |
struct | DRV_MUTEX_T |
Defines the structure of the os free mutex implementation. More... | |
struct | DRV_TRACE_QUEUE_ELEMENT_T |
Trace structure used for debug tracing of the drivers. More... | |
Enumerations | |
enum | DRV_MUTEX_STATE_E { DRV_MUTEX_STATE_UNLOCKED = 0xBEEFCACEul, DRV_MUTEX_STATE_LOCKED = 0xABAD1DEAul } |
Enumerates the locking states of the os free mutex implementation. More... | |
enum | DRV_TRACE_KEY_E { DRV_TRACE_KEY_DEFAULT = 0x0ul, DRV_TRACE_KEY_DATA, DRV_TRACE_KEY_MODE, DRV_TRACE_KEY_BORDER, DRV_TRACE_KEY_COUNTER, DRV_TRACE_KEY_ITERATION, DRV_TRACE_KEY_LENGTH, DRV_TRACE_KEY_IRQ, DRV_TRACE_KEY_MSK, DRV_TRACE_KEY_STATE, DRV_TRACE_KEY_INFO, DRV_TRACE_KEY_11, DRV_TRACE_KEY_12, DRV_TRACE_KEY_13, DRV_TRACE_KEY_COUNT } |
Enumerates the keys used for the trace function. More... | |
Functions | |
__STATIC_FORCEINLINE DRV_STATUS_E | DRV_MUTEX_INIT (DRV_MUTEX_T *mutex) |
Inline function to initialize the os free mutex implementation. More... | |
void | TRACE (uint32_t ulKey, uint32_t ulValue) |
The trace function stores the given key and the given value in a cyclic list. More... | |
__STATIC_FORCEINLINE void | TRACE_PAUSE (void) |
Stop the trace. More... | |
__STATIC_FORCEINLINE void | TRACE_RUN (void) |
Start the trace. More... | |
void | TRACE_RESET (void) |
The trace reset is doing what its name tells. It resets the trace. More... | |
Variables | |
char const *const | g_pabDrvTraceKeySrings [] |
References the string array of the keys. More... | |
uint32_t volatile | g_ulQueueCounter |
references the counter that points to the next queue element. More... | |
uint32_t volatile | g_ulRunFlag |
references the running flag of the tracer. More... | |
uint32_t volatile | g_ulQueueSize |
References the ques size. More... | |
volatile DRV_TRACE_QUEUE_ELEMENT_T | g_atTraceQueue [] |
References the queue used for the debug trace functionality. More... | |
This file contains all the functions prototypes for the peripheral module driver.
Definition in file netx_drv.h.