| ioPAC RTU Controllers C/C++ Sample Code Programming Guide

- Main Page
- Modules
- Data Structures
- Files

Macros
CanStatus
Library » Can

## Macros
#define | CAN_STATUS_BUS_OFF 0x00000080
#define | CAN_STATUS_EWARN 0x00000040
#define | CAN_STATUS_EPASS 0x00000020
#define | CAN_STATUS_RXOK 0x00000010
#define | CAN_STATUS_TXOK 0x00000008
#define | CAN_STATUS_LEC_MASK 0x00000007
#define | CAN_STATUS_LEC_NONE 0x00000000
#define | CAN_STATUS_LEC_STUFF 0x00000001
#define | CAN_STATUS_LEC_FORM 0x00000002
#define | CAN_STATUS_LEC_ACK 0x00000003
#define | CAN_STATUS_LEC_BIT1 0x00000004
#define | CAN_STATUS_LEC_BIT0 0x00000005
#define | CAN_STATUS_LEC_CRC 0x00000006

## Detailed Description

## Macro Definition Documentation

#define CAN_STATUS_BUS_OFF 0x00000080

#define CAN_STATUS_EWARN 0x00000040

#define CAN_STATUS_EPASS 0x00000020

#define CAN_STATUS_RXOK 0x00000010

#define CAN_STATUS_TXOK 0x00000008

#define CAN_STATUS_LEC_MASK 0x00000007

#define CAN_STATUS_LEC_NONE 0x00000000

#define CAN_STATUS_LEC_STUFF 0x00000001

#define CAN_STATUS_LEC_FORM 0x00000002

#define CAN_STATUS_LEC_ACK 0x00000003

#define CAN_STATUS_LEC_BIT1 0x00000004

#define CAN_STATUS_LEC_BIT0 0x00000005

#define CAN_STATUS_LEC_CRC 0x00000006