twai_reconfigure_alerts() function
Reconfigure which alerts are enabled This function reconfigures which alerts are enabled. If there are alerts which have not been read whilst reconfiguring, this function can read those alerts.
Arguments
alerts_enabled
Bit field of alerts to enable (see documentation for alert flags)
current_alerts
Bit field of currently raised alerts. Set to NULL if unused
Return value
- ESP_OK: Alerts reconfigured - ESP_ERR_INVALID_STATE: TWAI driver is not installed
twai_reconfigure_alerts() calls 1 function:
![]()
twai_reconfigure_alerts()
twai_reconfigure_alerts() reads 1 variable:
![]()
twai_reconfigure_alerts()