Home |
RTTarget-32 Programming Manual Function RTWait Function RTSetDLLNameTranslation System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTWaitRTWait is called by various modules contained in Rtt32.lib whenever the software must wait for some external event to occur. It is intended to allow the installation of idle processing. void RTWait(void); RTWait calls the current IdleHandler, or, if that is NULL, returns immediately. The IdleHandler is declared as follows: extern void (RTTAPI * RTIdleHandler)(void); Its default value is NULL. You may assign your own idle handler or function RTHalt to RTIdleHandler to install your own idle handler. All loops that wait for an external event can call RTWait to signal that they are currently idle.
|