EmSACAN_ResetChannel
Prototype
emsacan_result_t EmSACAN_ResetChannel(
emsacan_handle_t Handle,
uint8_t ChannelNumber );
Description
Resets a specific CAN port.
Parameters
| Parameter | Direction | Type | Description |
|---|---|---|---|
Handle | in | emsacan_handle_t | Session handle from EmSACAN_Connect. |
ChannelNumber | in | uint8_t | Zero-based port index. |
Example
if (EmSACAN_ResetChannel(handle, 0) != EMSACAN_OK)
{ /* reset failed */ }
