Hardware manual

RX600 Series CAN Application Programming Interface
R01AN0339EU0203 Rev. 2.03 Page 7 of 29
Mar 23, 2013
R_CAN_SW_WAKEUP_ERR The CAN peripheral did not wake up from Sleep mode.
R_CAN_SW_SLEEP_ERR The CAN peripheral did enter Sleep mode.
R_CAN_SW_HALT_ERR The CAN peripheral did not enter Halt mode.
R_CAN_SW_RST_ERR The CAN peripheral did not enter Reset mode.
R_CAN_SW_TSRC_ERR Time Stamp error.
R_CAN_SW_SET_TX_TMO Waiting for previous transmission to finish timed out.
R_CAN_SW_SET_RX_TMO Waiting for previous reception to complete timed out.
R_CAN_SW_ABORT_ERR Wait for abort timed out.
R_CAN_MODULE_STOP_ERR Whole CAN peripheral is in stop state (low power). Perhaps the PRCR
register was not used to unlock the module stop register.
CAN bus status return codes
R_CAN_STATUS_ERROR_ACTIVE Bus Status: Normal operation.
R_CAN_STATUS_ERROR_PASSIVE Bus Status: The node has sent at least 127 Error frames for either
the Transmit Error Counter, or the Receive Error Counter.
R_CAN_STATUS_BUSOFF Bus Status: The node’s Transmit Error Counter has surpassed 255
due to the node’s failure to transmit correctly.