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

◆ hal_rpu_reg_read()

enum nrf_wifi_status hal_rpu_reg_read ( struct nrf_wifi_hal_dev_ctx hal_ctx,
unsigned int *  val,
unsigned int  rpu_reg_addr 
)

Read from an RPU register.

Parameters
hal_ctxPointer to HAL context.
valPointer to the host memory where the value read from the RPU register is to be copied.
rpu_reg_addrAbsolute value of RPU register address from which the value is to be read.

This function reads a 4 byte value from a RPU register and copies it to the host memory pointed to by the val parameter.

Returns
Status
  • Pass: NRF_WIFI_STATUS_SUCCESS
  • Error: NRF_WIFI_STATUS_FAIL