Home
last modified time | relevance | path

Searched refs:alert_semphr (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Dtwai.c82 SemaphoreHandle_t alert_semphr; member
269 if (p_twai_obj->alert_semphr != NULL && alert_req) { in twai_intr_handler_main()
271 xSemaphoreGiveFromISR(p_twai_obj->alert_semphr, &task_woken); in twai_intr_handler_main()
323 if (p_obj->alert_semphr != NULL) { in twai_free_driver_obj()
324 vSemaphoreDelete(p_obj->alert_semphr); in twai_free_driver_obj()
368 p_obj->alert_semphr = xSemaphoreCreateBinaryStatic(p_obj->semphr_struct); in twai_alloc_driver_obj()
369 if (p_obj->rx_queue == NULL || p_obj->alert_semphr == NULL) { in twai_alloc_driver_obj()
377 p_obj->alert_semphr = xSemaphoreCreateBinary(); in twai_alloc_driver_obj()
378 …ue_len > 0 && p_obj->tx_queue == NULL) || p_obj->rx_queue == NULL || p_obj->alert_semphr == NULL) { in twai_alloc_driver_obj()
615 if (xSemaphoreTake(p_twai_obj->alert_semphr, ticks_to_wait) == pdTRUE) { in twai_read_alerts()