Esempio n. 1
0
VOID
DacDelay(
    VOID
    )

/*++

Routine Description:

    Delay for the Inmos G332 DAC. If we write too fast to this
    piece of hardware we get unpredictable results.

Arguments:

    None.

Return Value:

    None.

--*/
{

    VideoPortStallExecution(40);

}
Esempio n. 2
0
/* --------------------------------------------------------------------- */
void NewDelaySeconds( int seconds )
{
#ifndef LINUX_XF86
    int j ;
#endif
    int i ;


    for( i = 0 ; i < seconds ; i++ )
    {
#ifdef TC
        delay( 1000 ) ;
#endif

#ifdef WIN2000

        for ( j = 0 ; j < 20000 ; j++ )
            VideoPortStallExecution( 50 ) ;
#endif

#ifdef WINCE_HEADER
#endif

#ifdef LINUX_KERNEL
#endif
    }
}