Searched refs:xfer_desc (Results 1 – 11 of 11) sorted by relevance
280 if (p_cb->bytes_transferred < p_cb->evt.xfer_desc.rx_length) in transfer_byte()282 p_cb->evt.xfer_desc.p_rx_buffer[p_cb->bytes_transferred] = rx_data; in transfer_byte()298 if (bytes_used < p_cb->evt.xfer_desc.tx_length) in transfer_byte()300 p_cb->evt.xfer_desc.tx_length = bytes_used; in transfer_byte()302 if (bytes_used < p_cb->evt.xfer_desc.rx_length) in transfer_byte()304 p_cb->evt.xfer_desc.rx_length = bytes_used; in transfer_byte()308 if (bytes_used < p_cb->evt.xfer_desc.tx_length) in transfer_byte()310 nrf_spi_txd_set(p_spi, p_cb->evt.xfer_desc.p_tx_buffer[bytes_used]); in transfer_byte()313 else if (bytes_used < p_cb->evt.xfer_desc.rx_length) in transfer_byte()319 return (p_cb->bytes_transferred < p_cb->evt.xfer_desc.tx_length || in transfer_byte()[all …]
725 event.xfer_desc.type = p_cb->xfer_type; in irq_handler()726 event.xfer_desc.address = p_cb->address; in irq_handler()727 event.xfer_desc.p_primary_buf = p_cb->xfer_desc_primary.p_buffer; in irq_handler()728 event.xfer_desc.primary_length = p_cb->xfer_desc_primary.length; in irq_handler()729 event.xfer_desc.p_secondary_buf = p_cb->xfer_desc_secondary.p_buffer; in irq_handler()730 event.xfer_desc.secondary_length = p_cb->xfer_desc_secondary.length; in irq_handler()766 event.xfer_desc.type = p_cb->xfer_type; in irq_handler()767 event.xfer_desc.address = p_cb->address; in irq_handler()768 event.xfer_desc.p_primary_buf = p_cb->xfer_desc_primary.p_buffer; in irq_handler()769 event.xfer_desc.primary_length = p_cb->xfer_desc_primary.length; in irq_handler()[all …]
100 nrfx_twi_xfer_desc_t xfer_desc; member633 p_cb->xfer_desc = *p_xfer_desc; in twi_xfer()712 ((p_cb->xfer_desc.type == NRFX_TWI_XFER_TXRX) || in irq_handler()713 (p_cb->xfer_desc.type == NRFX_TWI_XFER_TXTX)) && in irq_handler()714 p_cb->p_curr_buf == p_cb->xfer_desc.p_primary_buf) in irq_handler()716 p_cb->p_curr_buf = p_cb->xfer_desc.p_secondary_buf; in irq_handler()717 p_cb->curr_length = p_cb->xfer_desc.secondary_length; in irq_handler()721 if (p_cb->xfer_desc.type == NRFX_TWI_XFER_TXTX) in irq_handler()733 event.xfer_desc = p_cb->xfer_desc; in irq_handler()
733 nrfy_spim_xfer_desc_t xfer_desc = *p_xfer_desc; in spim_xfer() local738 xfer_desc.tx_length = 0; in spim_xfer()739 xfer_desc.rx_length = 0; in spim_xfer()743 nrfy_spim_buffers_set(p_spim, &xfer_desc); in spim_xfer()750 nrfy_spim_xfer_start(p_spim, p_cb->handler ? NULL : &xfer_desc); in spim_xfer()827 p_cb->evt.xfer_desc = *p_xfer_desc; in nrfx_spim_xfer()859 nrfy_spim_buffers_set(p_spim, &p_cb->evt.xfer_desc); in irq_handler()867 &p_cb->evt.xfer_desc)) in irq_handler()
312 nrfy_uarte_xfer_desc_t xfer_desc = { in nrfx_uarte_uninit() local316 nrfy_uarte_stop(p_instance->p_reg, &xfer_desc); in nrfx_uarte_uninit()472 nrfy_uarte_xfer_desc_t xfer_desc = { in nrfx_uarte_rx() local477 evt_mask = nrfy_uarte_rx_start(p_instance->p_reg, !p_cb->handler ? &xfer_desc : NULL); in nrfx_uarte_rx()573 nrfy_uarte_xfer_desc_t xfer_desc = { in irq_handler() local583 &xfer_desc); in irq_handler()
165 size_t tx_length = p_event->xfer_desc.tx_length; in spim_handler()166 size_t rx_length = p_event->xfer_desc.rx_length; in spim_handler()
87 NRFX_LOG_INFO("Message received: %s", p_event->xfer_desc.p_rx_buffer); in spim_handler()
202 nrfx_spi_xfer_desc_t xfer_desc; ///< Transfer details. member
193 nrfx_twim_xfer_desc_t xfer_desc; ///< Transfer details. member
205 nrfx_twi_xfer_desc_t xfer_desc; ///< Transfer details. member
235 nrfx_spim_xfer_desc_t xfer_desc; ///< Transfer details. member