code/WPILib/DigitalModule.cpp
/**
 * Check a DIO line to see if it is currently generating a pulse.
 */
Check a DIO line to see if it is currently generating a pulse.
Check a DIO line to see if it is currently generating a pulse .
bool DigitalModule::IsPulsing(UINT32 channel)
{
	UINT16 mask = 1 << RemapDigitalChannel(channel - 1);
	UINT16 pulseRegister = m_fpgaDIO->readPulse(&status);
	wpi_assertCleanStatus(status);
	return (pulseRegister & mask) != 0;
}
bool DigitalModule :: IsPulsing ( UINT32 channel ) { UINT16 mask = 1 << RemapDigitalChannel ( channel - 1 ) ; UINT16 pulseRegister = m_fpgaDIO -> readPulse ( & status ) ; wpi_assertCleanStatus ( status ) ; return ( pulseRegister & mask ) != 0 ; }
Check a DIO line to see if it is currently generating a pulse.
Check a DIO line to see if it is currently generating a pulse .