Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Dtwai_ll.h67 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
545 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
552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
573 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
588 …nline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
596 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_prase_frame_buffer()
618 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_prase_frame_buffer()
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dtwai_ll.h67 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
545 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
552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
573 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
588 …nline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
596 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_prase_frame_buffer()
618 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_prase_frame_buffer()
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dtwai_ll.h67 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
545 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
552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
573 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
588 …nline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
596 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_prase_frame_buffer()
618 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_prase_frame_buffer()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Dtwai_ll.h67 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
545 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
552 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
573 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
588 …nline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
596 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_prase_frame_buffer()
618 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_prase_frame_buffer()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dtwai_ll.h67 uint8_t dlc: 4; //Data length code (0 to 8) of the frame member
637 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
644 tx_frame->dlc = dlc; in twai_ll_format_frame_buffer()
665 for (int i = 0; (i < dlc) && (i < TWAI_FRAME_MAX_DLC); i++) { in twai_ll_format_frame_buffer()
680 …nline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in twai_ll_prase_frame_buffer() argument
684 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
688 flags_temp |= (rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_MSG_FLAG_DLC_NON_COMP : 0; in twai_ll_prase_frame_buffer()
710 …a_length = (rx_frame->rtr) ? 0 : ((rx_frame->dlc > TWAI_FRAME_MAX_DLC) ? TWAI_FRAME_MAX_DLC : rx_f… in twai_ll_prase_frame_buffer()
Dcan_ll.h221 static inline void can_ll_format_frame_buffer(uint32_t id, uint8_t dlc, const uint8_t *data, 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()
227 … inline void can_ll_prase_frame_buffer(can_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t *dlc, in can_ll_prase_frame_buffer() argument
230 twai_ll_prase_frame_buffer(rx_frame, id, dlc, data, flags); in can_ll_prase_frame_buffer()