code/WPILib/Counter.cpp
/**
 * Set the edge sensitivity on a down counting source.
 * Set the down source to either detect rising edges or falling edges.
 */
Set the edge sensitivity on a down counting source.
Set the down source to either detect rising edges or falling edges.
Set the edge sensitivity on a down counting source . Set the down source to either detect rising edges or falling edges .
void Counter::SetDownSourceEdge(bool risingEdge, bool fallingEdge)
{
	wpi_assert(m_downSource != NULL);
	m_counter->writeConfig_DownRisingEdge(risingEdge, &status);
	m_counter->writeConfig_DownFallingEdge(fallingEdge, &status);
}
void Counter :: SetDownSourceEdge ( bool risingEdge , bool fallingEdge ) { wpi_assert ( m_downSource != NULL ) ; m_counter -> writeConfig_DownRisingEdge ( risingEdge , & status ) ; m_counter -> writeConfig_DownFallingEdge ( fallingEdge , & status ) ; }
Set the edge sensitivity on a down counting source.
Set the edge sensitivity on a down counting source .