![]() |
SDL API Guide for J721E
|
===========================================================================
Functions | |
| int32_t | SDL_TOG_getIntrCountInternal (uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc, uint32_t *pIntrCnt) |
| Read internal interrupt count. More... | |
| int32_t | SDL_TOG_setTimeoutVal (uint32_t baseAddr, uint32_t timeoutVal) |
| Set the timeout value. More... | |
| int32_t | SDL_TOG_setIntrPending (uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc) |
| Set interrupt source(s) More... | |
| int32_t SDL_TOG_getIntrCountInternal | ( | uint32_t | baseAddr, |
| SDL_TOG_IntrSrc | intrSrc, | ||
| uint32_t * | pIntrCnt | ||
| ) |
Read internal interrupt count.
This function reads the internal interrupt count.
| baseAddr | [IN] Base address of the Timeout gasket registers |
| intrSrc | [IN] Interrupt source(s) to set |
| pIntrCnt | [OUT] Pointer to interrupt source count |
| int32_t SDL_TOG_setTimeoutVal | ( | uint32_t | baseAddr, |
| uint32_t | timeoutVal | ||
| ) |
Set the timeout value.
This function sets the desired timeout value. Note the Timer runs on the VBUS clock and that determines the actual time.
| baseAddr | [IN] Base address of the Timeout gasket registers |
| timeoutVal | [IN] Timeout count value |
| int32_t SDL_TOG_setIntrPending | ( | uint32_t | baseAddr, |
| SDL_TOG_IntrSrc | intrSrc | ||
| ) |
Set interrupt source(s)
This function allows software to set the specified interrupt source(s).
The intrSrcs value is composed of a logical OR of the desired interrupt sources defined in SDL_TOG_IntrSrc.
| baseAddr | [IN] Base address of the Timeout gasket registers |
| intrSrc | [IN] Interrupt source(s) to set |