Home
last modified time | relevance | path

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

/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dtwai_ll.h64 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
613 static inline void twai_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, in twai_ll_format_frame_buffer() argument
620 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
641 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
657 …nline void twai_ll_parse_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_parse_frame_buffer() argument
661 *dlc = rx_frame->dlc; in twai_ll_parse_frame_buffer()
665 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_parse_frame_buffer()
687 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_parse_frame_buffer()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dtwai_ll.h64 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
613 static inline void twai_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, in twai_ll_format_frame_buffer() argument
620 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
641 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
657 …nline void twai_ll_parse_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_parse_frame_buffer() argument
661 *dlc = rx_frame->dlc; in twai_ll_parse_frame_buffer()
665 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_parse_frame_buffer()
687 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_parse_frame_buffer()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dtwai_ll.h64 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
613 static inline void twai_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, in twai_ll_format_frame_buffer() argument
620 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
641 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
657 …nline void twai_ll_parse_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_parse_frame_buffer() argument
661 *dlc = rx_frame->dlc; in twai_ll_parse_frame_buffer()
665 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_parse_frame_buffer()
687 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_parse_frame_buffer()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dtwai_ll.h66 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
620 static inline void twai_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, in twai_ll_format_frame_buffer() argument
627 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
648 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
664 …nline void twai_ll_parse_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_parse_frame_buffer() argument
668 *dlc = rx_frame->dlc; in twai_ll_parse_frame_buffer()
672 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_parse_frame_buffer()
694 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_parse_frame_buffer()
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dtwai_ll.h64 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
634 static inline void twai_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, in twai_ll_format_frame_buffer() argument
641 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
662 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
678 …nline void twai_ll_parse_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_parse_frame_buffer() argument
682 *dlc = rx_frame->dlc; in twai_ll_parse_frame_buffer()
686 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_parse_frame_buffer()
708 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_parse_frame_buffer()
/hal_espressif-latest/components/hal/esp32/include/hal/
Dtwai_ll.h66 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
711 static inline void twai_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, in twai_ll_format_frame_buffer() argument
718 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
739 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
755 …nline void twai_ll_parse_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_parse_frame_buffer() argument
759 *dlc = rx_frame->dlc; in twai_ll_parse_frame_buffer()
763 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_parse_frame_buffer()
785 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_parse_frame_buffer()