|
AM64x MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
91 typedef struct PRU_IPC_Attrs_s {
107 typedef struct PRU_IPC_Params_s {
114 typedef struct PRU_IPC_Object_s {
122 typedef struct PRU_IPC_Config_s {
int32_t PRU_IPC_sendData(PRU_IPC_Handle handle, void *container)
Send/Write data to the configured shared memory (generates interrupt to PRU if it is enabled)
uint16_t dataSize
Definition: pru_ipc.h:92
uint32_t enableTxInt
Definition: pru_ipc.h:102
struct PRU_IPC_Config_s * PRU_IPC_Handle
A handle that is returned from a PRU_IPC_open() call. This handle is required for calling other PRU_I...
Definition: pru_ipc.h:64
uint16_t noOfBlocks
Definition: pru_ipc.h:86
uint32_t bufferAddrs
Definition: pru_ipc.h:87
uint8_t dataSize
Definition: pru_ipc.h:83
uint32_t pruEvtoutNum
Definition: pru_ipc.h:99
PRU_IPC_Object * object
Definition: pru_ipc.h:124
uint32_t txEventNum
Definition: pru_ipc.h:103
Config_Mem_Struct * config
Definition: pru_ipc.h:97
int32_t PRU_IPC_getData(PRU_IPC_Handle handle, void *container)
Reads the data from the configured shared memory.
PRU_IPC_CallbackFxn transferCallbackFxn
Definition: pru_ipc.h:111
uint16_t blockSize
Definition: pru_ipc.h:93
void PRU_IPC_Params_init(PRU_IPC_Params *params)
Function to set default values of PRU_IPC_Params in params.
uint32_t * bufferAddrs
Definition: pru_ipc.h:96
void PRU_IPC_close(PRU_IPC_Handle handle)
To stop/end PRU_IPC instance.
PRU_IPC_Attrs const * attrs
Definition: pru_ipc.h:126
void PRU_IPC_deinit(void)
This function deinitializes the PRU_IPC module.
Definition: pru_ipc.h:114
uint16_t noOfBlocks
Definition: pru_ipc.h:94
PRU_IPC_Handle PRU_IPC_open(uint32_t idx, PRU_IPC_Params *params)
To initialize and configure PRU_IPC instance.
This struct is used to store configurables for PRU_IPC.
Definition: pru_ipc.h:122
Definition: pru_ipc.h:107
uint32_t sysEventNum
Definition: pru_ipc.h:100
uint16_t blockId
Definition: pru_ipc.h:82
uint16_t PRU_IPC_getBlockId(PRU_IPC_Handle handle)
Reads the id of last written block by PRU from the PRU-Config memory.
uint16_t blockSize
Definition: pru_ipc.h:85
uint32_t blockSizeBytes
Definition: pru_ipc.h:104
void PRU_IPC_init(void)
This function initializes the PRU_IPC module.
uint8_t noOfBuffers
Definition: pru_ipc.h:84
uint16_t noOfBuffers
Definition: pru_ipc.h:95
PRUICSS_Handle pruicssHandle
Definition: pru_ipc.h:109
void(* PRU_IPC_CallbackFxn)(void *args)
A Callback function required to register callback on data receive if receive interrupt is enabled.
Definition: pru_ipc.h:70
uint32_t enableRxInt
Definition: pru_ipc.h:98
struct PRUICSS_Config_s * PRUICSS_Handle
A handle that is returned from a PRUICSS_open() call. This handle is required for calling other APIs.
Definition: pruicss/g_v0/pruicss.h:235
uint32_t r5fIntrNum
Definition: pru_ipc.h:101
PRU_IPC_Params pruIpcParams
Definition: pru_ipc.h:116