Classes | Macros | Typedefs | Functions
ntcan.h File Reference
#include <stdint.h>
Include dependency graph for ntcan.h:

Go to the source code of this file.

Classes

struct  CAN_IF_STATUS
 
struct  CMSG
 
struct  CMSG_T
 
struct  CSCHED
 
struct  EVMSG
 

Macros

#define CALLTYPE
 
#define EXPORT
 
#define NTCAN_20B_BASE   0x20000000
 
#define NTCAN_AUTOBAUD   0x7FFFFFFE
 
#define NTCAN_BAUD_10   0xD
 
#define NTCAN_BAUD_100   0x7
 
#define NTCAN_BAUD_1000   0x0
 
#define NTCAN_BAUD_125   0x6
 
#define NTCAN_BAUD_20   0xB
 
#define NTCAN_BAUD_250   0x4
 
#define NTCAN_BAUD_50   0x9
 
#define NTCAN_BAUD_500   0x2
 
#define NTCAN_BAUD_800   0xE
 
#define NTCAN_BUSSTATE_BUSOFF   0xC0
 
#define NTCAN_BUSSTATE_ERRPASSIVE   0x80
 
#define NTCAN_BUSSTATE_OK   0x00
 
#define NTCAN_BUSSTATE_WARN   0x40
 
#define NTCAN_CONTR_BUSY   (NTCAN_ERRNO_BASE +6)
 
#define NTCAN_CONTR_ERR_PASSIVE   (NTCAN_ERRNO_BASE +22)
 
#define NTCAN_CONTR_OFF_BUS   (NTCAN_ERRNO_BASE +5)
 
#define NTCAN_CONTR_WARN   (NTCAN_ERRNO_BASE +7)
 
#define NTCAN_ERRNO_BASE   0x00000100
 
#define NTCAN_EV_BASE   0x40000000
 
#define NTCAN_EV_BAUD_CHANGE   (NTCAN_EV_BASE + 0x1)
 
#define NTCAN_EV_CAN_ERROR   NTCAN_EV_BASE
 
#define NTCAN_EV_CAN_ERROR_EXT   (NTCAN_EV_BASE + 0x2)
 
#define NTCAN_EV_LAST   0x400000FF
 
#define NTCAN_EV_USER   0x40000080
 
#define NTCAN_FEATURE_BASIC_20B   (1<<1)
 
#define NTCAN_FEATURE_CYCLIC_TX   (1<<3) /* Cyclic Tx support */
 
#define NTCAN_FEATURE_DEVICE_NET   (1<<2)
 
#define NTCAN_FEATURE_FULL_CAN   (1<<0)
 
#define NTCAN_FEATURE_LISTEN_ONLY_MODE   (1<<6) /* Listen-only-mode support */
 
#define NTCAN_FEATURE_RX_OBJECT_MODE   (1<<4) /* Receive object mode support */
 
#define NTCAN_FEATURE_SMART_DISCONNECT   (1<<7) /* Leave-bus-after-last-close */
 
#define NTCAN_FEATURE_TIMESTAMP   (1<<5) /* Timestamp support */
 
#define NTCAN_GCCATTR_DEPRECATED
 
#define NTCAN_HANDLE_FORCED_CLOSE   (NTCAN_ERRNO_BASE +20)
 
#define NTCAN_ID_ALREADY_ENABLED   (NTCAN_ERRNO_BASE +10)
 
#define NTCAN_ID_NOT_ENABLED   (NTCAN_ERRNO_BASE +11)
 
#define NTCAN_INSUFFICIENT_RESOURCES   ENOMEM
 
#define NTCAN_INTERACTION   0x20 /* only senseful in non obj-mode */
 
#define NTCAN_INVALID_DRIVER   (NTCAN_ERRNO_BASE +18)
 
#define NTCAN_INVALID_FIRMWARE   (NTCAN_ERRNO_BASE +13)
 
#define NTCAN_INVALID_HANDLE   EBADFD
 
#define NTCAN_INVALID_HARDWARE   (NTCAN_ERRNO_BASE +15)
 
#define NTCAN_INVALID_PARAMETER   EINVAL
 
#define NTCAN_IOCTL_ABORT_RX   0x0009 /* Abort a pending read */
 
#define NTCAN_IOCTL_ABORT_TX   0x000A /* Abort pending write */
 
#define NTCAN_IOCTL_FLUSH_RX_FIFO   0x0001 /* Flush Rx FIFO */
 
#define NTCAN_IOCTL_GET_RX_MSG_COUNT   0x0002 /* Ret # CMSG in Rx FIFO */
 
#define NTCAN_IOCTL_GET_RX_TIMEOUT   0x0003 /* Ret configured Rx tout */
 
#define NTCAN_IOCTL_GET_SERIAL   0x0006 /* Get HW serial number */
 
#define NTCAN_IOCTL_GET_TIMESTAMP   0x0008 /* Get timestamp counter */
 
#define NTCAN_IOCTL_GET_TIMESTAMP_FREQ   0x0007 /* Get timestamp frequency in Hz */
 
#define NTCAN_IOCTL_GET_TX_TIMEOUT   0x0004 /* Ret configured Tx tout */
 
#define NTCAN_IOCTL_SET_20B_HND_FILTER   0x0005 /* Configure 20B filter */
 
#define NTCAN_IOCTL_SET_RX_TIMEOUT   0x000B /* Change rx-timeout parameter */
 
#define NTCAN_IOCTL_SET_TX_TIMEOUT   0x000C /* Change tx-timeout parameter */
 
#define NTCAN_IOCTL_TX_OBJ_AUTOANSWER_OFF   0x000F /* Switch autoanswer off,arg->CMSG*/
 
#define NTCAN_IOCTL_TX_OBJ_AUTOANSWER_ON   0x000E /* Switch autoanswer on,arg->CMSG */
 
#define NTCAN_IOCTL_TX_OBJ_CREATE   0x000D /* Create obj, arg->CMSG */
 
#define NTCAN_IOCTL_TX_OBJ_DESTROY   0x0011 /* Destroy obj, arg->id */
 
#define NTCAN_IOCTL_TX_OBJ_SCHEDULE   0x0015 /* Set sched. for obj,arg->CSCHED */
 
#define NTCAN_IOCTL_TX_OBJ_SCHEDULE_START   0x0013 /* Start scheduling for handle */
 
#define NTCAN_IOCTL_TX_OBJ_SCHEDULE_STOP   0x0014 /* Stop scheduling for handle */
 
#define NTCAN_IOCTL_TX_OBJ_UPDATE   0x0010 /* update obj, arg->CMSG */
 
#define NTCAN_LISTEN_ONLY_MODE   0x40000000
 
#define NTCAN_MAX_RX_QUEUESIZE   2047
 
#define NTCAN_MAX_TX_QUEUESIZE   2047
 
#define NTCAN_MESSAGE_LOST   (NTCAN_ERRNO_BASE +14)
 
#define NTCAN_MODE_OBJECT   0x10000000 /* Open for Rx object mode */
 
#define NTCAN_MODE_OVERLAPPED   0x20000000
 
#define NTCAN_NET_NOT_FOUND   ENODEV
 
#define NTCAN_NO_BAUDRATE   0x7FFFFFFF
 
#define NTCAN_NO_DATA   0x20 /* only senseful in obj-mode */
 
#define NTCAN_NO_ID_ENABLED   (NTCAN_ERRNO_BASE +9)
 
#define NTCAN_NO_QUEUE   -1
 
#define NTCAN_NOT_IMPLEMENTED   ENOSYS
 
#define NTCAN_NOT_SUPPORTED   (NTCAN_ERRNO_BASE +21)
 
#define NTCAN_OPERATION_ABORTED   EINTR
 
#define NTCAN_PENDING_READ   (NTCAN_ERRNO_BASE +17)
 
#define NTCAN_PENDING_WRITE   (NTCAN_ERRNO_BASE +16)
 
#define NTCAN_RTR   0x10
 
#define NTCAN_RX_TIMEOUT   (NTCAN_ERRNO_BASE +1)
 
#define NTCAN_SOCK_CMD_TIMEOUT   (NTCAN_ERRNO_BASE + 0x81)
 
#define NTCAN_SOCK_CONN_TIMEOUT   (NTCAN_ERRNO_BASE + 0x80)
 
#define NTCAN_SOCK_HOST_NOT_FOUND   (NTCAN_ERRNO_BASE + 0x82) /* gethostbyname() failed */
 
#define NTCAN_SUCCESS   0
 
#define NTCAN_TX_ERROR   (NTCAN_ERRNO_BASE +4)
 
#define NTCAN_TX_TIMEOUT   (NTCAN_ERRNO_BASE +2)
 
#define NTCAN_USER_BAUD   0x80000000 /* DEPRECATED, please use the define below, as described in CAN-API manual */
 
#define NTCAN_USER_BAUDRATE   0x80000000
 
#define NTCAN_USER_BAUDRATE_NUM   0x20000000
 
#define NTCAN_WRONG_DEVICE_STATE   (NTCAN_ERRNO_BASE +19)
 

Typedefs

typedef int32_t HANDLE NTCAN_GCCATTR_DEPRECATED
 
typedef int32_t NTCAN_HANDLE
 
typedef int32_t NTCAN_RESULT
 
typedef int32_t OVERLAPPED
 

Functions

EXPORT NTCAN_RESULT CALLTYPE canClose (NTCAN_HANDLE handle)
 
EXPORT NTCAN_RESULT CALLTYPE canGetBaudrate (NTCAN_HANDLE handle, uint32_t *baud)
 
EXPORT NTCAN_RESULT CALLTYPE canGetOverlappedResult (NTCAN_HANDLE handle, OVERLAPPED *ovrlppd, int32_t *len, int32_t bWait)
 
EXPORT NTCAN_RESULT CALLTYPE canIdAdd (NTCAN_HANDLE handle, int32_t id)
 
EXPORT NTCAN_RESULT CALLTYPE canIdDelete (NTCAN_HANDLE handle, int32_t id)
 
EXPORT NTCAN_RESULT CALLTYPE canIoctl (NTCAN_HANDLE handle, uint32_t ulCmd, void *pArg)
 
EXPORT NTCAN_RESULT CALLTYPE canOpen (int32_t net, uint32_t flags, int32_t txqueuesize, int32_t rxqueuesize, int32_t txtimeout, int32_t rxtimeout, NTCAN_HANDLE *handle)
 
EXPORT NTCAN_RESULT CALLTYPE canRead (NTCAN_HANDLE handle, CMSG *cmsg, int32_t *len, OVERLAPPED *ovrlppd)
 
EXPORT NTCAN_RESULT CALLTYPE canReadEvent (NTCAN_HANDLE handle, EVMSG *evmsg, OVERLAPPED *ovrlppd)
 
EXPORT NTCAN_RESULT CALLTYPE canReadT (NTCAN_HANDLE handle, CMSG_T *cmsg_t, int32_t *len, OVERLAPPED *ovrlppd)
 
EXPORT NTCAN_RESULT CALLTYPE canSend (NTCAN_HANDLE handle, CMSG *cmsg, int32_t *len)
 
EXPORT NTCAN_RESULT CALLTYPE canSendEvent (NTCAN_HANDLE handle, EVMSG *evmsg)
 
EXPORT NTCAN_RESULT CALLTYPE canSendT (NTCAN_HANDLE handle, CMSG_T *cmsg, int32_t *len)
 
EXPORT NTCAN_RESULT CALLTYPE canSetBaudrate (NTCAN_HANDLE handle, uint32_t baud)
 
EXPORT NTCAN_RESULT CALLTYPE canStatus (NTCAN_HANDLE handle, CAN_IF_STATUS *cstat)
 
EXPORT NTCAN_RESULT CALLTYPE canTake (NTCAN_HANDLE handle, CMSG *cmsg, int32_t *len)
 
EXPORT NTCAN_RESULT CALLTYPE canTakeT (NTCAN_HANDLE handle, CMSG_T *cmsg_t, int32_t *len)
 
EXPORT NTCAN_RESULT CALLTYPE canWrite (NTCAN_HANDLE handle, CMSG *cmsg, int32_t *len, OVERLAPPED *ovrlppd)
 
EXPORT NTCAN_RESULT CALLTYPE canWriteT (NTCAN_HANDLE handle, CMSG_T *cmsg, int32_t *len, OVERLAPPED *ovrlppd)
 

Macro Definition Documentation

#define CALLTYPE

Definition at line 41 of file ntcan.h.

#define EXPORT

Definition at line 37 of file ntcan.h.

#define NTCAN_20B_BASE   0x20000000

Definition at line 53 of file ntcan.h.

#define NTCAN_AUTOBAUD   0x7FFFFFFE

Definition at line 74 of file ntcan.h.

#define NTCAN_BAUD_10   0xD

Definition at line 85 of file ntcan.h.

#define NTCAN_BAUD_100   0x7

Definition at line 82 of file ntcan.h.

#define NTCAN_BAUD_1000   0x0

Definition at line 77 of file ntcan.h.

#define NTCAN_BAUD_125   0x6

Definition at line 81 of file ntcan.h.

#define NTCAN_BAUD_20   0xB

Definition at line 84 of file ntcan.h.

#define NTCAN_BAUD_250   0x4

Definition at line 80 of file ntcan.h.

#define NTCAN_BAUD_50   0x9

Definition at line 83 of file ntcan.h.

#define NTCAN_BAUD_500   0x2

Definition at line 79 of file ntcan.h.

#define NTCAN_BAUD_800   0xE

Definition at line 78 of file ntcan.h.

#define NTCAN_BUSSTATE_BUSOFF   0xC0

Definition at line 216 of file ntcan.h.

#define NTCAN_BUSSTATE_ERRPASSIVE   0x80

Definition at line 215 of file ntcan.h.

#define NTCAN_BUSSTATE_OK   0x00

Definition at line 213 of file ntcan.h.

#define NTCAN_BUSSTATE_WARN   0x40

Definition at line 214 of file ntcan.h.

#define NTCAN_CONTR_BUSY   (NTCAN_ERRNO_BASE +6)

Definition at line 102 of file ntcan.h.

#define NTCAN_CONTR_ERR_PASSIVE   (NTCAN_ERRNO_BASE +22)

Definition at line 132 of file ntcan.h.

#define NTCAN_CONTR_OFF_BUS   (NTCAN_ERRNO_BASE +5)

Definition at line 101 of file ntcan.h.

#define NTCAN_CONTR_WARN   (NTCAN_ERRNO_BASE +7)

Definition at line 103 of file ntcan.h.

#define NTCAN_ERRNO_BASE   0x00000100

Definition at line 93 of file ntcan.h.

#define NTCAN_EV_BASE   0x40000000

Definition at line 49 of file ntcan.h.

#define NTCAN_EV_BAUD_CHANGE   (NTCAN_EV_BASE + 0x1)

Definition at line 60 of file ntcan.h.

#define NTCAN_EV_CAN_ERROR   NTCAN_EV_BASE

Definition at line 59 of file ntcan.h.

#define NTCAN_EV_CAN_ERROR_EXT   (NTCAN_EV_BASE + 0x2)

Definition at line 61 of file ntcan.h.

#define NTCAN_EV_LAST   0x400000FF

Definition at line 51 of file ntcan.h.

#define NTCAN_EV_USER   0x40000080

Definition at line 50 of file ntcan.h.

#define NTCAN_FEATURE_BASIC_20B   (1<<1)

Definition at line 204 of file ntcan.h.

#define NTCAN_FEATURE_CYCLIC_TX   (1<<3) /* Cyclic Tx support */

Definition at line 206 of file ntcan.h.

#define NTCAN_FEATURE_DEVICE_NET   (1<<2)

Definition at line 205 of file ntcan.h.

#define NTCAN_FEATURE_FULL_CAN   (1<<0)

Definition at line 203 of file ntcan.h.

#define NTCAN_FEATURE_LISTEN_ONLY_MODE   (1<<6) /* Listen-only-mode support */

Definition at line 209 of file ntcan.h.

#define NTCAN_FEATURE_RX_OBJECT_MODE   (1<<4) /* Receive object mode support */

Definition at line 207 of file ntcan.h.

#define NTCAN_FEATURE_SMART_DISCONNECT   (1<<7) /* Leave-bus-after-last-close */

Definition at line 210 of file ntcan.h.

#define NTCAN_FEATURE_TIMESTAMP   (1<<5) /* Timestamp support */

Definition at line 208 of file ntcan.h.

Definition at line 31 of file ntcan.h.

#define NTCAN_HANDLE_FORCED_CLOSE   (NTCAN_ERRNO_BASE +20)

Definition at line 129 of file ntcan.h.

#define NTCAN_ID_ALREADY_ENABLED   (NTCAN_ERRNO_BASE +10)

Definition at line 105 of file ntcan.h.

#define NTCAN_ID_NOT_ENABLED   (NTCAN_ERRNO_BASE +11)

Definition at line 106 of file ntcan.h.

#define NTCAN_INSUFFICIENT_RESOURCES   ENOMEM

Definition at line 125 of file ntcan.h.

#define NTCAN_INTERACTION   0x20 /* only senseful in non obj-mode */

Definition at line 57 of file ntcan.h.

#define NTCAN_INVALID_DRIVER   (NTCAN_ERRNO_BASE +18)

Definition at line 114 of file ntcan.h.

#define NTCAN_INVALID_FIRMWARE   (NTCAN_ERRNO_BASE +13)

Definition at line 108 of file ntcan.h.

#define NTCAN_INVALID_HANDLE   EBADFD

Definition at line 121 of file ntcan.h.

#define NTCAN_INVALID_HARDWARE   (NTCAN_ERRNO_BASE +15)

Definition at line 110 of file ntcan.h.

#define NTCAN_INVALID_PARAMETER   EINVAL

Definition at line 120 of file ntcan.h.

#define NTCAN_IOCTL_ABORT_RX   0x0009 /* Abort a pending read */

Definition at line 234 of file ntcan.h.

#define NTCAN_IOCTL_ABORT_TX   0x000A /* Abort pending write */

Definition at line 235 of file ntcan.h.

#define NTCAN_IOCTL_FLUSH_RX_FIFO   0x0001 /* Flush Rx FIFO */

Definition at line 221 of file ntcan.h.

#define NTCAN_IOCTL_GET_RX_MSG_COUNT   0x0002 /* Ret # CMSG in Rx FIFO */

Definition at line 222 of file ntcan.h.

#define NTCAN_IOCTL_GET_RX_TIMEOUT   0x0003 /* Ret configured Rx tout */

Definition at line 223 of file ntcan.h.

#define NTCAN_IOCTL_GET_SERIAL   0x0006 /* Get HW serial number */

Definition at line 231 of file ntcan.h.

#define NTCAN_IOCTL_GET_TIMESTAMP   0x0008 /* Get timestamp counter */

Definition at line 233 of file ntcan.h.

#define NTCAN_IOCTL_GET_TIMESTAMP_FREQ   0x0007 /* Get timestamp frequency in Hz */

Definition at line 232 of file ntcan.h.

#define NTCAN_IOCTL_GET_TX_TIMEOUT   0x0004 /* Ret configured Tx tout */

Definition at line 224 of file ntcan.h.

#define NTCAN_IOCTL_SET_20B_HND_FILTER   0x0005 /* Configure 20B filter */

Definition at line 230 of file ntcan.h.

#define NTCAN_IOCTL_SET_RX_TIMEOUT   0x000B /* Change rx-timeout parameter */

Definition at line 236 of file ntcan.h.

#define NTCAN_IOCTL_SET_TX_TIMEOUT   0x000C /* Change tx-timeout parameter */

Definition at line 237 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_AUTOANSWER_OFF   0x000F /* Switch autoanswer off,arg->CMSG*/

Definition at line 240 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_AUTOANSWER_ON   0x000E /* Switch autoanswer on,arg->CMSG */

Definition at line 239 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_CREATE   0x000D /* Create obj, arg->CMSG */

Definition at line 238 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_DESTROY   0x0011 /* Destroy obj, arg->id */

Definition at line 242 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_SCHEDULE   0x0015 /* Set sched. for obj,arg->CSCHED */

Definition at line 246 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_SCHEDULE_START   0x0013 /* Start scheduling for handle */

Definition at line 244 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_SCHEDULE_STOP   0x0014 /* Stop scheduling for handle */

Definition at line 245 of file ntcan.h.

#define NTCAN_IOCTL_TX_OBJ_UPDATE   0x0010 /* update obj, arg->CMSG */

Definition at line 241 of file ntcan.h.

#define NTCAN_LISTEN_ONLY_MODE   0x40000000

Definition at line 89 of file ntcan.h.

#define NTCAN_MAX_RX_QUEUESIZE   2047

Definition at line 69 of file ntcan.h.

#define NTCAN_MAX_TX_QUEUESIZE   2047

Definition at line 68 of file ntcan.h.

#define NTCAN_MESSAGE_LOST   (NTCAN_ERRNO_BASE +14)

Definition at line 109 of file ntcan.h.

#define NTCAN_MODE_OBJECT   0x10000000 /* Open for Rx object mode */

Definition at line 65 of file ntcan.h.

#define NTCAN_MODE_OVERLAPPED   0x20000000

Definition at line 64 of file ntcan.h.

#define NTCAN_NET_NOT_FOUND   ENODEV

Definition at line 124 of file ntcan.h.

#define NTCAN_NO_BAUDRATE   0x7FFFFFFF

Definition at line 73 of file ntcan.h.

#define NTCAN_NO_DATA   0x20 /* only senseful in obj-mode */

Definition at line 56 of file ntcan.h.

#define NTCAN_NO_ID_ENABLED   (NTCAN_ERRNO_BASE +9)

Definition at line 104 of file ntcan.h.

#define NTCAN_NO_QUEUE   -1

Definition at line 70 of file ntcan.h.

#define NTCAN_NOT_IMPLEMENTED   ENOSYS

Definition at line 130 of file ntcan.h.

#define NTCAN_NOT_SUPPORTED   (NTCAN_ERRNO_BASE +21)

Definition at line 131 of file ntcan.h.

#define NTCAN_OPERATION_ABORTED   EINTR

Definition at line 127 of file ntcan.h.

#define NTCAN_PENDING_READ   (NTCAN_ERRNO_BASE +17)

Definition at line 113 of file ntcan.h.

#define NTCAN_PENDING_WRITE   (NTCAN_ERRNO_BASE +16)

Definition at line 112 of file ntcan.h.

#define NTCAN_RTR   0x10

Definition at line 55 of file ntcan.h.

#define NTCAN_RX_TIMEOUT   (NTCAN_ERRNO_BASE +1)

Definition at line 97 of file ntcan.h.

#define NTCAN_SOCK_CMD_TIMEOUT   (NTCAN_ERRNO_BASE + 0x81)

Definition at line 117 of file ntcan.h.

#define NTCAN_SOCK_CONN_TIMEOUT   (NTCAN_ERRNO_BASE + 0x80)

Definition at line 116 of file ntcan.h.

#define NTCAN_SOCK_HOST_NOT_FOUND   (NTCAN_ERRNO_BASE + 0x82) /* gethostbyname() failed */

Definition at line 118 of file ntcan.h.

#define NTCAN_SUCCESS   0

Definition at line 95 of file ntcan.h.

#define NTCAN_TX_ERROR   (NTCAN_ERRNO_BASE +4)

Definition at line 100 of file ntcan.h.

#define NTCAN_TX_TIMEOUT   (NTCAN_ERRNO_BASE +2)

Definition at line 98 of file ntcan.h.

#define NTCAN_USER_BAUD   0x80000000 /* DEPRECATED, please use the define below, as described in CAN-API manual */

Definition at line 87 of file ntcan.h.

#define NTCAN_USER_BAUDRATE   0x80000000

Definition at line 88 of file ntcan.h.

#define NTCAN_USER_BAUDRATE_NUM   0x20000000

Definition at line 90 of file ntcan.h.

#define NTCAN_WRONG_DEVICE_STATE   (NTCAN_ERRNO_BASE +19)

Definition at line 128 of file ntcan.h.

Typedef Documentation

typedef int32_t HANDLE NTCAN_GCCATTR_DEPRECATED

Definition at line 144 of file ntcan.h.

typedef int32_t NTCAN_HANDLE

Definition at line 147 of file ntcan.h.

typedef int32_t NTCAN_RESULT

Definition at line 146 of file ntcan.h.

typedef int32_t OVERLAPPED

Definition at line 142 of file ntcan.h.

Function Documentation

EXPORT NTCAN_RESULT CALLTYPE canClose ( NTCAN_HANDLE  handle)
EXPORT NTCAN_RESULT CALLTYPE canGetBaudrate ( NTCAN_HANDLE  handle,
uint32_t *  baud 
)
EXPORT NTCAN_RESULT CALLTYPE canGetOverlappedResult ( NTCAN_HANDLE  handle,
OVERLAPPED ovrlppd,
int32_t *  len,
int32_t  bWait 
)
EXPORT NTCAN_RESULT CALLTYPE canIdAdd ( NTCAN_HANDLE  handle,
int32_t  id 
)
EXPORT NTCAN_RESULT CALLTYPE canIdDelete ( NTCAN_HANDLE  handle,
int32_t  id 
)
EXPORT NTCAN_RESULT CALLTYPE canIoctl ( NTCAN_HANDLE  handle,
uint32_t  ulCmd,
void *  pArg 
)
EXPORT NTCAN_RESULT CALLTYPE canOpen ( int32_t  net,
uint32_t  flags,
int32_t  txqueuesize,
int32_t  rxqueuesize,
int32_t  txtimeout,
int32_t  rxtimeout,
NTCAN_HANDLE handle 
)
EXPORT NTCAN_RESULT CALLTYPE canRead ( NTCAN_HANDLE  handle,
CMSG cmsg,
int32_t *  len,
OVERLAPPED ovrlppd 
)
EXPORT NTCAN_RESULT CALLTYPE canReadEvent ( NTCAN_HANDLE  handle,
EVMSG evmsg,
OVERLAPPED ovrlppd 
)
EXPORT NTCAN_RESULT CALLTYPE canReadT ( NTCAN_HANDLE  handle,
CMSG_T cmsg_t,
int32_t *  len,
OVERLAPPED ovrlppd 
)
EXPORT NTCAN_RESULT CALLTYPE canSend ( NTCAN_HANDLE  handle,
CMSG cmsg,
int32_t *  len 
)
EXPORT NTCAN_RESULT CALLTYPE canSendEvent ( NTCAN_HANDLE  handle,
EVMSG evmsg 
)
EXPORT NTCAN_RESULT CALLTYPE canSendT ( NTCAN_HANDLE  handle,
CMSG_T cmsg,
int32_t *  len 
)
EXPORT NTCAN_RESULT CALLTYPE canSetBaudrate ( NTCAN_HANDLE  handle,
uint32_t  baud 
)
EXPORT NTCAN_RESULT CALLTYPE canStatus ( NTCAN_HANDLE  handle,
CAN_IF_STATUS cstat 
)
EXPORT NTCAN_RESULT CALLTYPE canTake ( NTCAN_HANDLE  handle,
CMSG cmsg,
int32_t *  len 
)
EXPORT NTCAN_RESULT CALLTYPE canTakeT ( NTCAN_HANDLE  handle,
CMSG_T cmsg_t,
int32_t *  len 
)
EXPORT NTCAN_RESULT CALLTYPE canWrite ( NTCAN_HANDLE  handle,
CMSG cmsg,
int32_t *  len,
OVERLAPPED ovrlppd 
)
EXPORT NTCAN_RESULT CALLTYPE canWriteT ( NTCAN_HANDLE  handle,
CMSG_T cmsg,
int32_t *  len,
OVERLAPPED ovrlppd 
)


libntcan
Author(s): Florian Weisshardt
autogenerated on Tue Jun 2 2020 03:34:30