FlagStatus CAN_GetFlagStatus(uint_t32 CAN_FLAG)
CAN_FLAG | 説明 |
CAN_FLAG_EWG | Error Warning Flag |
CAN_FLAG_EPV | Error Passive Flag |
CAN_FLAG_BOF | Bus-Off Flag |
/* Test if the CAN warning limit has been reached */ FlagStatus Status; Status = CAN_GetFlagStatus(CAN_FLAG_EWG);