Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dtwai_ll.h572 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
576 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
614 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument
620 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
621 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer()
622 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer()
623 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer()
624 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer()
630 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
635 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
[all …]
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dtwai_ll.h572 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
576 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
614 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument
620 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
621 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer()
622 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer()
623 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer()
624 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer()
630 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
635 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
[all …]
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dtwai_ll.h572 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
576 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
614 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument
620 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
621 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer()
622 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer()
623 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer()
624 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer()
630 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
635 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
[all …]
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dtwai_ll.h579 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
583 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
621 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument
627 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
628 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer()
629 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer()
630 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer()
631 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer()
637 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
642 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
[all …]
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dtwai_ll.h593 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
597 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
635 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument
641 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
642 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer()
643 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer()
644 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer()
645 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer()
651 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
656 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
[all …]
/hal_espressif-latest/components/hal/
Dtwai_hal_iram.c175 void twai_hal_set_tx_buffer_and_transmit(twai_hal_context_t *hal_ctx, twai_hal_frame_t *tx_frame) argument
178 twai_ll_set_tx_buffer(hal_ctx->dev, tx_frame);
180 if (tx_frame->self_reception) {
181 if (tx_frame->single_shot) {
186 } else if (tx_frame->single_shot){
194 memcpy(&hal_ctx->tx_frame_save, tx_frame, sizeof(twai_hal_frame_t));
/hal_espressif-latest/components/hal/esp32/include/hal/
Dtwai_ll.h670 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
674 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
712 uint32_t flags, twai_ll_frame_buffer_t *tx_frame) in twai_ll_format_frame_buffer() argument
718 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
719 tx_frame->frame_format = is_extd; in twai_ll_format_frame_buffer()
720 tx_frame->rtr = is_rtr; in twai_ll_format_frame_buffer()
721 tx_frame->self_reception = (flags & TWAI_MSG_FLAG_SELF) ? 1 : 0; in twai_ll_format_frame_buffer()
722 tx_frame->single_shot = (flags & TWAI_MSG_FLAG_SS) ? 1 : 0; in twai_ll_format_frame_buffer()
728 tx_frame->extended.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
733 tx_frame->standard.id[i] = (id_temp >> (8 * i)) & 0xFF; in twai_ll_format_frame_buffer()
[all …]
/hal_espressif-latest/components/hal/include/hal/
Dtwai_hal.h271 void twai_hal_set_tx_buffer_and_transmit(twai_hal_context_t *hal_ctx, twai_hal_frame_t *tx_frame);