SDL API Guide for J7200
MTOG Functions

Introduction

===========================================================================


Functions

int32_t SDL_MTOG_setTimeoutVal (SDL_MTOG_Regs *pRegs, SDL_MTOGVal timeOut)
 Set the timeout value. More...
 

Function Documentation

◆ SDL_MTOG_setTimeoutVal()

int32_t SDL_MTOG_setTimeoutVal ( SDL_MTOG_Regs *  pRegs,
SDL_MTOGVal  timeOut 
)

Set the timeout value.

This function sets the desired timeout value. This function should only be called when the timeout is disabled.

Parameters
pRegs[IN] Pointer to the desired VBUSM Master Timeout Gasket Control register
timeOut[IN] Timeout count value. See SDL_MTOGVal for a list of valid timeout values.
Returns
SDL_PASS Function completed successfully SDL_EFAIL Timeout value cannot be set when the timeout counter is running. Call SDL_MTOG_reset first. SDL_EBADARGS pRegs is NULL