nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ hal_rpu_mem_read()

enum nrf_wifi_status hal_rpu_mem_read ( struct nrf_wifi_hal_dev_ctx hal_ctx,
void *  host_addr,
unsigned int  rpu_mem_addr,
unsigned int  len 
)

Read from the RPU memory.

This function reads a specified number of bytes from the RPU memory and copies them to the host memory.

Parameters
hal_ctxPointer to HAL context.
host_addrPointer to the host memory where the contents read from the RPU memory are to be copied.
rpu_mem_addrAbsolute value of the RPU memory address from which the contents are to be read.
lenThe length (in bytes) of the contents to be read from the RPU memory.
Returns
Status
  • Pass: NRF_WIFI_STATUS_SUCCESS
  • Error: NRF_WIFI_STATUS_FAIL