PMC-Sierra PM5358 S/UNI 4x622 Power Screwdriver User Manual


 
PM5358 S/UNI-4x622 Driver Manual
RTOS Interface
Proprietary and Confidential to PMC-Sierra, Inc. 115
Document ID: PMC-2010419, Issue 1
Returning a DPV Buffer: sysSuni4x622DPVBufferRtn
This function returns a DPV buffer to the RTOS when the information in the block is no longer
needed by the DPR.
Format
#define sysSuni4x622DPVBufferRtn(pDPV)
Prototype
Void sysSuni4x622DPVBufferRtn(sSUNI4x622_DPV *pDPV)
Inputs
pDPV : (pointer to) a DPV buffer
Outputs
None
Returns
None
Stopping Buffer Management: sysSuni4x622BufferStop
This function alerts the RTOS that the driver no longer needs any of the ISV buffers or DPV
buffers and that if any special resources were created to handle these buffers, they can be deleted
now.
Format
#define sysSuni4x622BufferStop()
Prototype
Void sysSuni4x622BufferStop(void)
Inputs
None
Outputs
None
Returns
None
6.3 Timers
Sleeping a Task: sysSuni4x622TimerSleep
This function suspends execution of a driver task for a specified number of milliseconds.
Format
#define sysSuni4x622TimerSleep(time)
Prototype
Void sysSuni4x622TimerSleep(UINT4 time)
Inputs
time : sleep time in milliseconds
Outputs
None
Returns
Success = 0
Failure = <any other value>