AM64x MCU+ SDK  08.02.00
pru_ipc.h File Reference

Go to the source code of this file.

Data Structures

struct  PRU_IPC_Attrs
 
struct  PRU_IPC_Params
 
struct  PRU_IPC_Object
 
struct  PRU_IPC_Config
 This struct is used to store configurables for PRU_IPC. More...
 

Typedefs

typedef 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_IPC APIs. More...
 
typedef void(* PRU_IPC_CallbackFxn) (void *args)
 A Callback function required to register callback on data receive if receive interrupt is enabled. More...
 

Functions

void PRU_IPC_init (void)
 This function initializes the PRU_IPC module. More...
 
void PRU_IPC_deinit (void)
 This function deinitializes the PRU_IPC module. More...
 
void PRU_IPC_Params_init (PRU_IPC_Params *params)
 Function to set default values of PRU_IPC_Params in params. More...
 
PRU_IPC_Handle PRU_IPC_open (uint32_t idx, PRU_IPC_Params *params)
 To initialize and configure PRU_IPC instance. More...
 
void PRU_IPC_close (PRU_IPC_Handle handle)
 To stop/end PRU_IPC instance. More...
 
uint16_t PRU_IPC_getBlockId (PRU_IPC_Handle handle)
 Reads the id of last written block by PRU from the PRU-Config memory. More...
 
int32_t PRU_IPC_getData (PRU_IPC_Handle handle, void *container)
 Reads the data from the configured shared memory. More...
 
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) More...