| /hal_nordic-latest/nrfx/drivers/src/ |
| D | nrfx_uarte.c | 482 if (p_config->tx_cache.length == 0) in nrfx_uarte_init() 484 p_cb->tx.cache.length = 0; in nrfx_uarte_init() 488 p_cb->tx.cache.length = p_config->tx_cache.length - 1; in nrfx_uarte_init() 490 if (p_config->rx_cache.length >= UARTE_HW_RX_FIFO_SIZE) in nrfx_uarte_init() 493 p_cb->rx.flush.length = 0; in nrfx_uarte_init() 496 if (p_config->rx_cache.length < (UARTE_HW_RX_FIFO_SIZE + MIN_RX_CACHE_SIZE)) in nrfx_uarte_init() 500 size_t cache_len = p_config->rx_cache.length - UARTE_HW_RX_FIFO_SIZE; in nrfx_uarte_init() 708 uint32_t length, in wait_for_endtx() argument 735 err = ((p_tx == p_buf) && (length > amount)) ? NRFX_ERROR_FORBIDDEN : NRFX_SUCCESS; in wait_for_endtx() 779 p_cb->tx.cache.p_buffer[p_cb->tx.cache.length] = *p_byte; in poll_out() [all …]
|
| D | nrfx_qspi.c | 123 size_t length, in qspi_xfer() argument 149 nrf_qspi_write_buffer_set(NRF_QSPI, p_buffer, length, address); in qspi_xfer() 154 nrf_qspi_read_buffer_set(NRF_QSPI, p_buffer, length, address); in qspi_xfer() 176 m_cb.size_secondary = length; in qspi_xfer() 182 m_cb.size_primary = length; in qspi_xfer() 553 nrf_qspi_cinstrdata_set(NRF_QSPI, p_config->length, p_tx_buffer); in nrfx_qspi_cinstr_xfer() 574 nrf_qspi_cinstrdata_get(NRF_QSPI, p_config->length, p_rx_buffer); in nrfx_qspi_cinstr_xfer() 581 nrf_qspi_cinstr_len_t length, in nrfx_qspi_cinstr_quick_send() argument 587 nrf_qspi_cinstr_conf_t config = NRFX_QSPI_DEFAULT_CINSTR(opcode, length); in nrfx_qspi_cinstr_quick_send() 594 NRFX_ASSERT(p_config->length == NRF_QSPI_CINSTR_LEN_1B); in nrfx_qspi_lfm_start() [all …]
|
| D | nrfx_twim.c | 150 (nrfy_twim_txd_amount_get(p_twim) != p_cb->xfer_desc_primary.length)) || in xfer_completeness_check() 152 (nrfy_twim_txd_amount_get(p_twim) != p_cb->xfer_desc_secondary.length))) in xfer_completeness_check() 158 if ((nrfy_twim_txd_amount_get(p_twim) != p_cb->xfer_desc_primary.length) || in xfer_completeness_check() 159 (nrfy_twim_rxd_amount_get(p_twim) != p_cb->xfer_desc_secondary.length)) in xfer_completeness_check() 165 if (nrfy_twim_txd_amount_get(p_twim) != p_cb->xfer_desc_primary.length) in xfer_completeness_check() 171 if (nrfy_twim_rxd_amount_get(p_twim) != p_cb->xfer_desc_primary.length) in xfer_completeness_check() 486 p_cb->xfer_desc_primary.length = p_xfer_desc->primary_length; in twim_xfer() 488 p_cb->xfer_desc_secondary.length = p_xfer_desc->secondary_length; in twim_xfer() 770 event.xfer_desc.primary_length = p_cb->xfer_desc_primary.length; in irq_handler() 772 event.xfer_desc.secondary_length = p_cb->xfer_desc_secondary.length; in irq_handler() [all …]
|
| D | nrfx_pwm.c | 392 p_sequence->length); in nrfx_pwm_simple_playback() 395 p_sequence->length * sizeof(uint16_t)); in nrfx_pwm_simple_playback() 433 p_sequence_0->length); in nrfx_pwm_complex_playback() 436 p_sequence_1->length); in nrfx_pwm_complex_playback() 439 p_sequence_0->length * sizeof(uint16_t)); in nrfx_pwm_complex_playback() 442 p_sequence_1->length * sizeof(uint16_t)); in nrfx_pwm_complex_playback()
|
| D | nrfx_uart.c | 337 size_t length) in nrfx_uart_tx() argument 343 NRFX_ASSERT(length > 0); in nrfx_uart_tx() 355 p_cb->tx_buffer_length = length; in nrfx_uart_tx() 422 size_t length) in nrfx_uart_rx() argument 428 NRFX_ASSERT(length > 0); in nrfx_uart_rx() 459 p_cb->rx_buffer_length = length; in nrfx_uart_rx() 467 p_cb->rx_secondary_buffer_length = length; in nrfx_uart_rx() 470 NRFX_LOG_INFO("Transfer rx_len: %d.", length); in nrfx_uart_rx()
|
| /hal_nordic-latest/nrfx/templates/ |
| D | nrfx_log.h | 95 #define NRFX_LOG_HEXDUMP_ERROR(p_memory, length) argument 103 #define NRFX_LOG_HEXDUMP_WARNING(p_memory, length) argument 111 #define NRFX_LOG_HEXDUMP_INFO(p_memory, length) argument 119 #define NRFX_LOG_HEXDUMP_DEBUG(p_memory, length) argument
|
| /hal_nordic-latest/nrfx/helpers/ |
| D | nrfx_ram_ctrl.c | 231 size_t length, in ram_ctrl_block_section_iterate() argument 236 NRFX_ASSERT(length); in ram_ctrl_block_section_iterate() 240 size_t obj_end_addr = rel_obj_adr + length; in ram_ctrl_block_section_iterate() 274 void nrfx_ram_ctrl_power_enable_set(void const * p_object, size_t length, bool enable) in nrfx_ram_ctrl_power_enable_set() argument 277 length, in nrfx_ram_ctrl_power_enable_set() 282 void nrfx_ram_ctrl_retention_enable_set(void const * p_object, size_t length, bool enable) in nrfx_ram_ctrl_retention_enable_set() argument 285 length, in nrfx_ram_ctrl_retention_enable_set()
|
| D | nrfx_ram_ctrl.h | 69 void nrfx_ram_ctrl_power_enable_set(void const * p_object, size_t length, bool enable); 79 void nrfx_ram_ctrl_retention_enable_set(void const * p_object, size_t length, bool enable);
|
| /hal_nordic-latest/nrfx/drivers/include/ |
| D | nrfx_uarte.h | 282 .length = 0 \ 287 .length = 0 \ 310 size_t length; ///< Amount of received data. member 317 size_t length; ///< Amount of transferred data. member 472 size_t length, 545 size_t length); 593 size_t length);
|
| D | nrf_bitmask.h | 121 size_t length) in nrf_bitmask_masks_or() argument 126 for (size_t i = 0; i < length; i++) in nrf_bitmask_masks_or() 143 size_t length) in nrf_bitmask_masks_and() argument 148 for (size_t i = 0; i < length; i++) in nrf_bitmask_masks_and()
|
| D | nrfx_spi.h | 182 #define NRFX_SPI_XFER_TX(p_buf, length) \ argument 183 NRFX_SPI_SINGLE_XFER(p_buf, length, NULL, 0) 186 #define NRFX_SPI_XFER_RX(p_buf, length) \ argument 187 NRFX_SPI_SINGLE_XFER(NULL, 0, p_buf, length)
|
| D | nrfx_twi.h | 158 #define NRFX_TWI_XFER_DESC_TX(addr, p_data, length) \ argument 162 .primary_length = (length), \ 169 #define NRFX_TWI_XFER_DESC_RX(addr, p_data, length) \ argument 173 .primary_length = (length), \
|
| D | nrfx_twim.h | 174 #define NRFX_TWIM_XFER_DESC_TX(addr, p_data, length) \ argument 175 NRFX_TWIM_XFER_DESC(NRFX_TWIM_XFER_TX, addr, p_data, length, NULL, 0) 178 #define NRFX_TWIM_XFER_DESC_RX(addr, p_data, length) \ argument 179 NRFX_TWIM_XFER_DESC(NRFX_TWIM_XFER_RX, addr, p_data, length, NULL, 0)
|
| D | nrfx_spim.h | 224 #define NRFX_SPIM_XFER_TX(p_buf, length) \ argument 225 NRFX_SPIM_SINGLE_XFER(p_buf, length, NULL, 0) 228 #define NRFX_SPIM_XFER_RX(p_buf, length) \ argument 229 NRFX_SPIM_SINGLE_XFER(NULL, 0, p_buf, length)
|
| D | nrfx_qspi.h | 130 .length = (len), \ 380 nrfx_err_t nrfx_qspi_erase(nrf_qspi_erase_len_t length, 484 nrf_qspi_cinstr_len_t length,
|
| /hal_nordic-latest/nrfx/hal/ |
| D | nrf_twis.h | 435 size_t length); 455 NRF_STATIC_INLINE void nrf_twis_rx_prepare(NRF_TWIS_Type * p_reg, uint8_t * p_buf, size_t length); 475 size_t length); 497 size_t length); 808 NRF_STATIC_INLINE void nrf_twis_rx_buffer_set(NRF_TWIS_Type * p_reg, uint8_t * p_buf, size_t length) in nrf_twis_rx_buffer_set() argument 812 p_reg->DMA.RX.MAXCNT = (uint32_t)length; in nrf_twis_rx_buffer_set() 815 p_reg->RXD.MAXCNT = length; in nrf_twis_rx_buffer_set() 828 NRF_STATIC_INLINE void nrf_twis_rx_prepare(NRF_TWIS_Type * p_reg, uint8_t * p_buf, size_t length) in nrf_twis_rx_prepare() argument 830 nrf_twis_rx_buffer_set(p_reg, p_buf, length); in nrf_twis_rx_prepare() 845 size_t length) in nrf_twis_tx_buffer_set() argument [all …]
|
| D | nrf_qspi.h | 245 nrf_qspi_cinstr_len_t length; /**< Length of the custom instruction data. */ member 534 uint32_t length, 547 uint32_t length, 618 nrf_qspi_cinstr_len_t length, 629 nrf_qspi_cinstr_len_t length, 671 nrf_qspi_cinstr_len_t length, 898 uint32_t length, in nrf_qspi_write_buffer_set() argument 903 p_reg->WRITE.CNT = length; in nrf_qspi_write_buffer_set() 908 uint32_t length, in nrf_qspi_read_buffer_set() argument 913 p_reg->READ.CNT = length; in nrf_qspi_read_buffer_set() [all …]
|
| D | nrf_pwm.h | 293 uint16_t length; ///< Number of 16-bit values in the array pointed by @p values. member 567 uint16_t length); 816 nrf_pwm_seq_cnt_set( p_reg, seq_id, p_seq->length); in nrf_pwm_sequence_set() 836 uint16_t length) in nrf_pwm_seq_cnt_set() argument 839 NRFX_ASSERT(length != 0); in nrf_pwm_seq_cnt_set() 841 NRFX_ASSERT(length * sizeof(uint16_t) <= PWM_DMA_SEQ_MAXCNT_MAXCNT_Msk); in nrf_pwm_seq_cnt_set() 842 p_reg->DMA.SEQ[seq_id].MAXCNT = length * sizeof(uint16_t); in nrf_pwm_seq_cnt_set() 844 NRFX_ASSERT(length <= PWM_SEQ_CNT_CNT_Msk); in nrf_pwm_seq_cnt_set() 845 p_reg->SEQ[seq_id].CNT = length; in nrf_pwm_seq_cnt_set()
|
| D | nrf_spis.h | 508 size_t length); 519 size_t length); 943 size_t length) in nrf_spis_tx_buffer_set() argument 947 p_reg->MAXTX = length; in nrf_spis_tx_buffer_set() 950 p_reg->DMA.TX.MAXCNT = length; in nrf_spis_tx_buffer_set() 953 p_reg->TXD.MAXCNT = length; in nrf_spis_tx_buffer_set() 959 size_t length) in nrf_spis_rx_buffer_set() argument 963 p_reg->MAXRX = length; in nrf_spis_rx_buffer_set() 966 p_reg->DMA.RX.MAXCNT = length; in nrf_spis_rx_buffer_set() 969 p_reg->RXD.MAXCNT = length; in nrf_spis_rx_buffer_set()
|
| D | nrf_uarte.h | 662 size_t length); 691 size_t length); 937 size_t length) in nrf_uarte_tx_buffer_set() argument 941 p_reg->DMA.TX.MAXCNT = length; in nrf_uarte_tx_buffer_set() 944 p_reg->TXD.MAXCNT = length; in nrf_uarte_tx_buffer_set() 968 size_t length) in nrf_uarte_rx_buffer_set() argument 972 p_reg->DMA.RX.MAXCNT = length; in nrf_uarte_rx_buffer_set() 975 p_reg->RXD.MAXCNT = length; in nrf_uarte_rx_buffer_set()
|
| D | nrf_gpio.h | 712 uint32_t length, 836 uint32_t length, 849 uint32_t length, 1333 uint32_t length, in nrf_gpio_ports_read() argument 1338 NRFX_ASSERT(start_port + length <= GPIO_COUNT); in nrf_gpio_ports_read() 1341 for (i = start_port; i < (start_port + length); i++) in nrf_gpio_ports_read() 1421 uint32_t length, in nrf_gpio_latches_read() argument 1427 for (i = start_port; i < (start_port + length); i++) in nrf_gpio_latches_read() 1435 uint32_t length, in nrf_gpio_latches_read_and_clear() argument 1441 for (i = start_port; i < (start_port + length); i++) in nrf_gpio_latches_read_and_clear()
|
| /hal_nordic-latest/nrfx/haly/ |
| D | nrfy_gpio.h | 307 uint32_t length, in nrfy_gpio_ports_read() argument 311 nrf_gpio_ports_read(start_port, length, p_masks); in nrfy_gpio_ports_read() 318 uint32_t length, in nrfy_gpio_latches_read() argument 322 nrf_gpio_latches_read(start_port, length, p_masks); in nrfy_gpio_latches_read() 328 uint32_t length, in nrfy_gpio_latches_read_and_clear() argument 332 nrf_gpio_latches_read_and_clear(start_port, length, p_masks); in nrfy_gpio_latches_read_and_clear()
|
| D | nrfy_twim.h | 102 size_t length; ///< Number of bytes transferred. member 195 NRFY_CACHE_WB(p_xfer->p_buffer, p_xfer->length); in nrfy_twim_tx_buffer_set() 197 nrf_twim_tx_buffer_set(p_reg, p_xfer->p_buffer, p_xfer->length); in nrfy_twim_tx_buffer_set() 210 nrf_twim_rx_buffer_set(p_reg, p_xfer->p_buffer, p_xfer->length); in nrfy_twim_rx_buffer_set() 226 if (p_xfer->length == 0) in nrfy_twim_tx_start() 299 if (p_xfer->length == 0) in nrfy_twim_rx_start() 718 NRFY_CACHE_INV(p_xfer->p_buffer, p_xfer->length); in __nrfy_internal_twim_events_process() 722 NRFY_CACHE_INV(p_xfer->p_buffer, p_xfer->length); in __nrfy_internal_twim_events_process()
|
| D | nrfy_uarte.h | 104 size_t length; ///< Data length. member 232 if (p_xfer && p_xfer->length) in nrfy_uarte_stop() 576 size_t length) in nrfy_uarte_tx_buffer_set() argument 580 NRFY_CACHE_WB(p_buffer, length); in nrfy_uarte_tx_buffer_set() 581 nrf_uarte_tx_buffer_set(p_reg, p_buffer, length); in nrfy_uarte_tx_buffer_set() 607 size_t length) in nrfy_uarte_rx_buffer_set() argument 609 nrf_uarte_rx_buffer_set(p_reg, p_buffer, length); in nrfy_uarte_rx_buffer_set() 686 NRFY_CACHE_INV(p_xfer->p_buffer, p_xfer->length); in __nrfy_internal_uarte_events_process()
|
| /hal_nordic-latest/drivers/nrf_802154/serialization/src/include/ |
| D | nrf_802154_spinel_datatypes.h | 505 #define NRF_802154_HDATA_ENCODE(handle, data, length) \ argument 506 handle, data, NRF_802154_HDATA_LENGTH(length) 511 #define NRF_802154_HDATA_DECODE(handle, data, length) \ argument 512 (&handle), &data, &length 1140 (metadata).data.transmitted.length, \ 1158 &(metadata).data.transmitted.length, \
|