code/WPILib/Counter.cpp
/**
 * Set the edge sensitivity on an up counting source.
 * Set the up source to either detect rising edges or falling edges.
 */
Set the edge sensitivity on an up counting source.
Set the up source to either detect rising edges or falling edges.
Set the edge sensitivity on an up counting source . Set the up source to either detect rising edges or falling edges .
void Counter::SetUpSourceEdge(bool risingEdge, bool fallingEdge)
{
	wpi_assert(m_upSource != NULL);
	m_counter->writeConfig_UpRisingEdge(risingEdge, &status);
	m_counter->writeConfig_UpFallingEdge(fallingEdge, &status);
}
void Counter :: SetUpSourceEdge ( bool risingEdge , bool fallingEdge ) { wpi_assert ( m_upSource != NULL ) ; m_counter -> writeConfig_UpRisingEdge ( risingEdge , & status ) ; m_counter -> writeConfig_UpFallingEdge ( fallingEdge , & status ) ; }
Set the edge sensitivity on an up counting source.
Set the edge sensitivity on an up counting source .