/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | twai_ll.h | 506 static inline void twai_ll_set_tx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *tx_frame) in twai_ll_set_tx_buffer() argument 510 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer() 546 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument 552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer() 553 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer() 554 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer() 555 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer() 556 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer() 562 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() 567 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | twai_ll.h | 506 static inline void twai_ll_set_tx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *tx_frame) in twai_ll_set_tx_buffer() argument 510 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer() 546 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument 552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer() 553 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer() 554 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer() 555 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer() 556 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer() 562 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() 567 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | twai_ll.h | 506 static inline void twai_ll_set_tx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *tx_frame) in twai_ll_set_tx_buffer() argument 510 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer() 546 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument 552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer() 553 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer() 554 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer() 555 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer() 556 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer() 562 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() 567 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | twai_ll.h | 506 static inline void twai_ll_set_tx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *tx_frame) in twai_ll_set_tx_buffer() argument 510 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer() 546 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument 552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer() 553 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer() 554 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer() 555 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer() 556 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer() 562 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() 567 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32/include/hal/ |
D | twai_ll.h | 598 static inline void twai_ll_set_tx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *tx_frame) in twai_ll_set_tx_buffer() argument 602 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer() 638 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument 644 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer() 645 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer() 646 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer() 647 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer() 648 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer() 654 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() 659 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer() [all …]
|
D | can_ll.h | 211 static inline void can_ll_set_tx_buffer(can_dev_t *hw, can_ll_frame_buffer_t *tx_frame) in can_ll_set_tx_buffer() argument 213 twai_ll_set_tx_buffer(hw, tx_frame); in can_ll_set_tx_buffer() 222 uint32_t flags, can_ll_frame_buffer_t *tx_frame) in can_ll_format_frame_buffer() argument 224 twai_ll_format_frame_buffer(id, dlc, data, flags, tx_frame); in can_ll_format_frame_buffer()
|
D | can_hal.h | 127 …line void can_hal_set_tx_buffer_and_transmit(can_hal_context_t *hal_ctx, can_hal_frame_t *tx_frame) in can_hal_set_tx_buffer_and_transmit() argument 129 twai_hal_set_tx_buffer_and_transmit(hal_ctx, tx_frame); in can_hal_set_tx_buffer_and_transmit()
|
/hal_espressif-3.6.0/components/hal/ |
D | twai_hal_iram.c | 183 void twai_hal_set_tx_buffer_and_transmit(twai_hal_context_t *hal_ctx, twai_hal_frame_t *tx_frame) argument 186 twai_ll_set_tx_buffer(hal_ctx->dev, tx_frame); 188 if (tx_frame->self_reception) { 189 if (tx_frame->single_shot) { 194 } else if (tx_frame->single_shot){ 202 memcpy(&hal_ctx->tx_frame_save, tx_frame, sizeof(twai_hal_frame_t));
|
/hal_espressif-3.6.0/components/driver/ |
D | twai.c | 540 twai_hal_frame_t tx_frame; in twai_transmit() local 541 twai_hal_format_frame(message, &tx_frame); in twai_transmit() 546 twai_hal_set_tx_buffer_and_transmit(&twai_context, &tx_frame); in twai_transmit() 556 } else if (xQueueSend(p_twai_obj->tx_queue, &tx_frame, ticks_to_wait) == pdTRUE) { in twai_transmit() 566 int res = xQueueReceive(p_twai_obj->tx_queue, &tx_frame, 0); in twai_transmit() 569 twai_hal_set_tx_buffer_and_transmit(&twai_context, &tx_frame); in twai_transmit()
|
/hal_espressif-3.6.0/components/hal/include/hal/ |
D | twai_hal.h | 270 void twai_hal_set_tx_buffer_and_transmit(twai_hal_context_t *hal_ctx, twai_hal_frame_t *tx_frame);
|