TSIP_OSAL_API

Defines

#define Tsip_osalEnterCriticalSection   Osal_tsipEnterCriticalSection
 The macro is used by the TSIP driver to protect its internal shared "resources". The macro needs to be defined accounting for the system architecture in which the TSIP driver is being used.
#define Tsip_osalExitCriticalSection   Osal_tsipExitCriticalSection
 The macro is used by the TSIP driver to protect its internal shared "resources". The macro is called by the TSIP driver when its exits the shared resource modification.

Define Documentation

#define Tsip_osalEnterCriticalSection   Osal_tsipEnterCriticalSection

The macro is used by the TSIP driver to protect its internal shared "resources". The macro needs to be defined accounting for the system architecture in which the TSIP driver is being used.

This is called by the TSIP driver when it enters the shared resource modification

Prototype: The following is the C prototype for the expected OSAL API.

       void Osal_tsipEnterCriticalSection(unsigned int *intState)
    

Parameter
intState is memory location where current state of protection is saved for future use while restoring it via Osal_tsipExitCriticalSection().

Return Value
None

#define Tsip_osalExitCriticalSection   Osal_tsipExitCriticalSection

The macro is used by the TSIP driver to protect its internal shared "resources". The macro is called by the TSIP driver when its exits the shared resource modification.

Prototype: The following is the C prototype for the expected OSAL API.

       void  Osal_tsipExitCriticalSection(void* critSectHandle)
    

Parameter
intState is original state of protection at time when the corresponding Osal_tsipEnterCriticalSection() was called

Return Value
None


Copyright 2012, Texas Instruments Incorporated