//*****************************************************************************
//! This data type is used to identify which of several status registers to
//! read when calling the CANStatusGet() function.
//*****************************************************************************
typedef enum
{
//! Read the full CAN controller status.
CAN_STS_CONTROL,
//! Read the full 32-bit mask of message objects with a transmit request
//! set.
CAN_STS_TXREQUEST,
//! Read the full 32-bit mask of message objects with new data available.
CAN_STS_NEWDAT,
//! Read the full 32-bit mask of message objects that are enabled.
CAN_STS_MSGVAL
}
tCANStsReg;
CANStatusGet()只定义了这些东西 怎么判断中断是接收中断啊?
Seven Han:
请问使用的哪个例程?