dap_queue_ap_read() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

dap_queue_ap_read() function

Queue an AP register read.

Syntax

static inline int dap_queue_ap_read(struct adiv5_ap *ap,     unsigned reg,     uint32_t *data);

Arguments

ap

The AP used for reading.

reg

The number of the AP register being read.

data

Pointer saying where to store the register's value (in host endianness).

Return value

ERROR_OK for success, else a fault code.

References

LocationReferrerText
arm_adi_v5.h:590
static inline int dap_queue_ap_read(struct adiv5_ap *ap,
arm_adi_v5.c:135mem_ap_read_tar()
int retval = dap_queue_ap_read(ap, MEM_AP_REG_TAR(ap->dap), &lower);
arm_adi_v5.c:137mem_ap_read_tar()
retval = dap_queue_ap_read(ap, MEM_AP_REG_TAR64(ap->dap), &upper);
arm_adi_v5.c:251mem_ap_read_u32()
return dap_queue_ap_read(ap, MEM_AP_REG_BD0(ap->dap) | (address & 0xC), value);
arm_adi_v5.c:391mem_ap_setup_transfer_verify_size_packing()
retval = dap_queue_ap_read(ap, MEM_AP_REG_CSW(ap->dap), &csw_readback);
arm_adi_v5.c:653mem_ap_read()
retval = dap_queue_ap_read(ap, MEM_AP_REG_DRW(dap), read_ptr++);
arm_adi_v5.c:897mem_ap_init()
retval = dap_queue_ap_read(ap, MEM_AP_REG_CFG(dap), &cfg);
arm_adi_v5.c:1124dap_find_get_ap()
int retval = dap_queue_ap_read(ap, AP_REG_IDR(dap), &id_val);
arm_adi_v5.c:1238dap_get_debugbase()
retval = dap_queue_ap_read(ap, MEM_AP_REG_CFG(dap), &ap->cfg_reg);
arm_adi_v5.c:1242dap_get_debugbase()
retval = dap_queue_ap_read(ap, MEM_AP_REG_BASE(dap), &baseptr_lower);
arm_adi_v5.c:1245dap_get_debugbase()
retval = dap_queue_ap_read(ap, AP_REG_IDR(dap), apid);
arm_adi_v5.c:1250dap_get_debugbase()
retval = dap_queue_ap_read(ap, MEM_AP_REG_BASE64(dap), &baseptr_upper);
arm_adi_v5.c:1331dap_queue_read_reg()
return dap_queue_ap_read(ap, reg, value);
arm_adi_v5.c:2589dap_baseaddr_command()
retval = dap_queue_ap_read(ap, MEM_AP_REG_BASE(dap), &baseaddr_lower);
arm_adi_v5.c:2592dap_baseaddr_command()
retval = dap_queue_ap_read(ap, MEM_AP_REG_CFG(dap), &ap->cfg_reg);
arm_adi_v5.c:2596dap_baseaddr_command()
retval = dap_queue_ap_read(ap, MEM_AP_REG_BASE64(dap), &baseaddr_upper);
arm_adi_v5.c:2758dap_apid_command()
retval = dap_queue_ap_read(ap, AP_REG_IDR(dap), &apid);
arm_adi_v5.c:2839dap_apreg_command()
retval = dap_queue_ap_read(ap, reg, &value);
cortex_m.c:1689dap_lpc55sx_start_debug_session()
retval = dap_queue_ap_read(ap, DM_AP_ID, &ap_id);
cortex_m.c:1716dap_lpc55sx_start_debug_session()
retval = dap_queue_ap_read(ap, DM_AP_CSW, &csw);
cortex_m.c:1737dap_lpc55sx_start_debug_session()
retval = dap_queue_ap_read(ap, DM_AP_RETURN, &ret);
kinetis.c:464kinetis_mdm_read_register()
int retval = dap_queue_ap_read(ap, reg, result);
kinetis.c:836kinetis_check_flash_security_status()
dap_queue_ap_read(ap, MDM_REG_STAT, &stats[i]);
kinetis_ke.c:172kinetis_ke_mdm_read_register()
int retval = dap_queue_ap_read(ap, reg, result);
sim3x.c:897ap_read_register()
int retval = dap_queue_ap_read(ap, reg, result);