Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Dtwai_ll.h522 static inline void twai_ll_get_rx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *rx_frame) in twai_ll_get_rx_buffer() argument
526 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
588 static inline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8… in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
594 flags_temp |= (rx_frame->frame_format) ? TWAI_MSG_FLAG_EXTD : 0; in twai_ll_prase_frame_buffer()
595 flags_temp |= (rx_frame->rtr) ? TWAI_MSG_FLAG_RTR : 0; 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()
600 if (rx_frame->frame_format) { in twai_ll_prase_frame_buffer()
603 id_temp |= rx_frame->extended.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
610 id_temp |= rx_frame->standard.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Dtwai_ll.h522 static inline void twai_ll_get_rx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *rx_frame) in twai_ll_get_rx_buffer() argument
526 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
588 static inline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8… in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
594 flags_temp |= (rx_frame->frame_format) ? TWAI_MSG_FLAG_EXTD : 0; in twai_ll_prase_frame_buffer()
595 flags_temp |= (rx_frame->rtr) ? TWAI_MSG_FLAG_RTR : 0; 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()
600 if (rx_frame->frame_format) { in twai_ll_prase_frame_buffer()
603 id_temp |= rx_frame->extended.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
610 id_temp |= rx_frame->standard.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
[all …]
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Dtwai_ll.h522 static inline void twai_ll_get_rx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *rx_frame) in twai_ll_get_rx_buffer() argument
526 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
588 static inline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8… in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
594 flags_temp |= (rx_frame->frame_format) ? TWAI_MSG_FLAG_EXTD : 0; in twai_ll_prase_frame_buffer()
595 flags_temp |= (rx_frame->rtr) ? TWAI_MSG_FLAG_RTR : 0; 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()
600 if (rx_frame->frame_format) { in twai_ll_prase_frame_buffer()
603 id_temp |= rx_frame->extended.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
610 id_temp |= rx_frame->standard.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
[all …]
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Dtwai_ll.h522 static inline void twai_ll_get_rx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *rx_frame) in twai_ll_get_rx_buffer() argument
526 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
588 static inline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8… in twai_ll_prase_frame_buffer() argument
592 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
594 flags_temp |= (rx_frame->frame_format) ? TWAI_MSG_FLAG_EXTD : 0; in twai_ll_prase_frame_buffer()
595 flags_temp |= (rx_frame->rtr) ? TWAI_MSG_FLAG_RTR : 0; 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()
600 if (rx_frame->frame_format) { in twai_ll_prase_frame_buffer()
603 id_temp |= rx_frame->extended.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
610 id_temp |= rx_frame->standard.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/
Drfc_l2cap_if.c300 event = rfc_parse_data (p_mcb, &rfc_cb.rfc.rx_frame, p_buf); in RFCOMM_BufDataInd()
308 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) { in RFCOMM_BufDataInd()
322 if (((p_port = port_find_mcb_dlci_port (p_mcb, rfc_cb.rfc.rx_frame.dlci)) == NULL) in RFCOMM_BufDataInd()
326 if (( p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) in RFCOMM_BufDataInd()
327 || (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd()
328 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); in RFCOMM_BufDataInd()
334 if ((p_port = port_find_dlci_port (rfc_cb.rfc.rx_frame.dlci)) == NULL) { in RFCOMM_BufDataInd()
335 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, TRUE); in RFCOMM_BufDataInd()
339 p_mcb->port_inx[rfc_cb.rfc.rx_frame.dlci] = p_port->inx; in RFCOMM_BufDataInd()
350 if (rfc_cb.rfc.rx_frame.credit != 0) { in RFCOMM_BufDataInd()
[all …]
Drfc_ts_frames.c259 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn()
442 *p_data++ = rfc_cb.rfc.rx_frame.ea | in rfc_send_nsc()
443 (rfc_cb.rfc.rx_frame.cr << RFCOMM_SHIFT_CR) | in rfc_send_nsc()
444 rfc_cb.rfc.rx_frame.type; in rfc_send_nsc()
703 MX_FRAME *p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dtwai_ll.h614 static inline void twai_ll_get_rx_buffer(twai_dev_t *hw, twai_ll_frame_buffer_t *rx_frame) in twai_ll_get_rx_buffer() argument
618 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
680 static inline void twai_ll_prase_frame_buffer(twai_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8… in twai_ll_prase_frame_buffer() argument
684 *dlc = rx_frame->dlc; in twai_ll_prase_frame_buffer()
686 flags_temp |= (rx_frame->frame_format) ? TWAI_MSG_FLAG_EXTD : 0; in twai_ll_prase_frame_buffer()
687 flags_temp |= (rx_frame->rtr) ? TWAI_MSG_FLAG_RTR : 0; 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()
692 if (rx_frame->frame_format) { in twai_ll_prase_frame_buffer()
695 id_temp |= rx_frame->extended.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
702 id_temp |= rx_frame->standard.id[i] << (8 * i); in twai_ll_prase_frame_buffer()
[all …]
Dcan_ll.h216 static inline void can_ll_get_rx_buffer(can_dev_t *hw, can_ll_frame_buffer_t *rx_frame) in can_ll_get_rx_buffer() argument
218 twai_ll_get_rx_buffer(hw, rx_frame); in can_ll_get_rx_buffer()
227 static inline void can_ll_prase_frame_buffer(can_ll_frame_buffer_t *rx_frame, uint32_t *id, uint8_t… 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()
Dcan_hal.h132 …inline void can_hal_read_rx_buffer_and_clear(can_hal_context_t *hal_ctx, can_hal_frame_t *rx_frame) in can_hal_read_rx_buffer_and_clear() argument
134 twai_hal_read_rx_buffer_and_clear(hal_ctx, rx_frame); in can_hal_read_rx_buffer_and_clear()
/hal_espressif-3.6.0/components/hal/include/hal/
Dtwai_hal.h286 …ine bool twai_hal_read_rx_buffer_and_clear(twai_hal_context_t *hal_ctx, twai_hal_frame_t *rx_frame) in twai_hal_read_rx_buffer_and_clear() argument
300 twai_ll_get_rx_buffer(hal_ctx->dev, rx_frame); in twai_hal_read_rx_buffer_and_clear()
/hal_espressif-3.6.0/components/driver/
Dtwai.c594 twai_hal_frame_t rx_frame; in twai_receive() local
595 if (xQueueReceive(p_twai_obj->rx_queue, &rx_frame, ticks_to_wait) != pdTRUE) { in twai_receive()
604 twai_hal_parse_frame(&rx_frame, message); in twai_receive()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/include/
Drfc_int.h211 MX_FRAME rx_frame; member