15 (22)
13.1.6
simply_stop_can
Stops the CAN controller. Sets the CAN controller into mode
init
. Does not reset the message
filter of the CAN controller. Only stop the CAN controller when the
CAN_STATUS_PENDING
flag is not set.
bool simply_stop_can(void);
Return Value
Return value
Description
true
Function succeeded
false
Error occurred, call
simply_get_last_error
for more information.
Remarks
To ensure that all messages are transmitted before stopping the CAN controller, read the CAN
status until the
CAN_STATUS_PENDING
flag is no longer set.
13.1.7
simply_reset_can
Resets the CAN controller (hardware reset) and clears the message filter (open for all message
identifiers). Sets the CAN controller into mode
init
.
bool simply_reset_can(void);
Return Value
Return value
Description
true
Function succeeded
false
Error occurred, call
simply_get_last_error
for more information.
simplyCAN User Manual
4.01.0001.22001 1.0 en-US