AM64x MCU+ SDK  08.02.00

Introduction

Functions

uint16_t bsp_get_process_data_address (PRUICSS_Handle pruIcssHandle, uint16_t address, uint16_t len, int16_t *p_sm_index)
 Get the actual address of the buffer for PDI side read/write from host in 3-buffer mode. More...
 
void bsp_process_data_access_complete (PRUICSS_Handle pruIcssHandle, uint16_t address, uint16_t len, int16_t sm_index)
 This API is invoked after PDI side completes read/write to PD address returned by bsp_get_process_data_address to indicate this to firmware for swapping buffers etc. More...
 

Function Documentation

◆ bsp_get_process_data_address()

uint16_t bsp_get_process_data_address ( PRUICSS_Handle  pruIcssHandle,
uint16_t  address,
uint16_t  len,
int16_t *  p_sm_index 
)

Get the actual address of the buffer for PDI side read/write from host in 3-buffer mode.

Parameters
pruIcssHandlePRUSS Handle
addressSM buffer address for PDI side access
lenSM Buffer length for PDI side access
p_sm_indexMatching SM index corresponding to address
Return values
actualPDI address in memory. 0 in case of error, or lock unavailability (See LOCK_PD_BUF_CHECK_AVAILABILITY_RETRY_COUNT)

◆ bsp_process_data_access_complete()

void bsp_process_data_access_complete ( PRUICSS_Handle  pruIcssHandle,
uint16_t  address,
uint16_t  len,
int16_t  sm_index 
)

This API is invoked after PDI side completes read/write to PD address returned by bsp_get_process_data_address to indicate this to firmware for swapping buffers etc.

Parameters
pruIcssHandlePRUSS Handle
addressSM buffer address for PDI side access
lenSM buffer length for PDI side access
sm_indexSM index of this process data buffer