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... | |
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.
pruIcssHandle | PRUSS Handle |
address | SM buffer address for PDI side access |
len | SM Buffer length for PDI side access |
p_sm_index | Matching SM index corresponding to address |
actual | PDI address in memory. 0 in case of error, or lock unavailability (See LOCK_PD_BUF_CHECK_AVAILABILITY_RETRY_COUNT) |
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.
pruIcssHandle | PRUSS Handle |
address | SM buffer address for PDI side access |
len | SM buffer length for PDI side access |
sm_index | SM index of this process data buffer |