![]() |
PDK API Guide for J721E
|
============================================================================
Data Structures | |
struct | CSL_ProxyThreadCfg |
This structure contains configuration parameters for each proxy thread. More... | |
struct | CSL_ProxyTargetParams |
This structure contains configuration parameters for each proxy target. More... | |
struct | CSL_ProxyCfg |
This structure contains configuration parameters for the proxy IP. More... | |
Typedefs | |
typedef void(* | CSL_ProxyMemAccessCbFxnPtr) (uintptr_t addr, uint8_t *pAppData, uint32_t elemSizeBytes, uint32_t elemCnt) |
Callback function used to write/read to/from memory. More... | |
typedef void(* CSL_ProxyMemAccessCbFxnPtr) (uintptr_t addr, uint8_t *pAppData, uint32_t elemSizeBytes, uint32_t elemCnt) |
Callback function used to write/read to/from memory.
This typedef defines a callback function that is used to write data into or read data from memory. In the write case, data is copied from pAppData to pProxyData. In the read case, data is copied from pProxyData to pAppData.
The parameters of this function are:
addr | [IN] Address of the proxy data memory (src addr for reads, dst addr for writes) |
pAppData | [IN] Pointer to the application data memory (src addr for writes, dst addr for reads) |
elemSizeBytes | [IN] Size in bytes of each data element. This value is typically 1 (for byte accesses) or 4 (for 32-bit accesses). |
elemCnt | [IN] Number of elements to write/read. The total of bytes written/read is (elemCnt * |