rtp_read_cs_regs() function
Read the CoreSight registers needed during ROM Table Parsing (RTP).
Arguments
mode
Method to access the component (AP or MEM-AP).
ap
Pointer to AP containing the component.
component_base
On MEM-AP access method, base address of the component.
v
Pointer to the struct holding the value of registers.
Return value
ERROR_OK on success, else a fault code.