Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/
Dtwai.c44 #define TWAI_MALLOC_CAPS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT) macro
48 #define TWAI_MALLOC_CAPS MALLOC_CAP_DEFAULT macro
341 twai_obj_t *p_obj = heap_caps_calloc(1, sizeof(twai_obj_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
348 … p_obj->tx_queue_buff = heap_caps_calloc(tx_queue_len, sizeof(twai_hal_frame_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
349 p_obj->tx_queue_struct = heap_caps_calloc(1, sizeof(StaticQueue_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
354 … p_obj->rx_queue_buff = heap_caps_calloc(rx_queue_len, sizeof(twai_hal_frame_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
355 p_obj->rx_queue_struct = heap_caps_calloc(1, sizeof(StaticQueue_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()
356 p_obj->semphr_struct = heap_caps_calloc(1, sizeof(StaticSemaphore_t), TWAI_MALLOC_CAPS); in twai_alloc_driver_obj()