Skip to content
Commit c0da8a79 authored by Alexander Wachter's avatar Alexander Wachter Committed by Jukka Rissanen
Browse files

drivers: can: Extend CAN API for bus-state management.



This commit extends the CAN API with the following functions:
- can_get_state
- can_recover
- can_register_state_change_isr

This functions can be used to get the error-counters and the state
of the CAN controller. The recover function can be used to recover
from bus-off state when automatic recovery is disabled.

Signed-off-by: default avatarAlexander Wachter <alexander.wachter@student.tugraz.at>
parent 1f046d86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment