[][src]Function esp_idf_sys::can_reconfigure_alerts

pub unsafe extern "C" fn can_reconfigure_alerts(
    alerts_enabled: u32,
    current_alerts: *mut u32
) -> esp_err_t

@brief 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.

@param[in] alerts_enabled Bit field of alerts to enable (see documentation for alert flags) @param[out] current_alerts Bit field of currently raised alerts. Set to NULL if unused

@return - ESP_OK: Alerts reconfigured - ESP_ERR_INVALID_STATE: CAN driver is not installed