Hilscher netX microcontroller driver  V0.0.5.0
Documentation of the netX driver package
netx_drv_def.h File Reference

This file contains the peripheral driver common defines, enumeration, macros and structures definitions. More...

#include "netx_drv.h"
#include <stddef.h>
Include dependency graph for netx_drv_def.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

This file contains the peripheral driver common defines, enumeration, macros and structures definitions.

Revision
4646
Date
2018-12-19 08:47:36 +0100 (Mi, 19 Dez 2018)
Note
Exclusion of Liability for this demo software: The following software is intended for and must only be used for reference and in an evaluation laboratory environment. It is provided without charge and is subject to alterations. There is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied. Please refer to the Agreement in README_DISCLAIMER.txt, provided together with this file! By installing or otherwise using the software, you accept the terms of this Agreement. If you do not agree to the terms of this Agreement, then do not install or use the Software!

Definition in file netx_drv_def.h.