LCD_TFT_Driver/CTS_Layer.c
/***************************************************************************/
/**
 * @brief   Update the Baseline Tracking algorithm Direction of Interest
 * @param   direction Direction of increasing or decreasing capacitance
 * @return  none
 ******************************************************************************/
@brief   Update the Baseline Tracking algorithm Direction of Interest
@param   direction Direction of increasing or decreasing capacitance
@return  none
@brief Update the Baseline Tracking algorithm Direction of Interest @param direction Direction of increasing or decreasing capacitance @return none
void TI_CAPT_Update_Tracking_DOI(uint8_t direction)
{
	if(direction)
	{
		ctsStatusReg |= DOI_INC;
	}
	else
	{
		ctsStatusReg &= ~DOI_INC;
	}
}
void TI_CAPT_Update_Tracking_DOI ( uint8_t direction ) { if ( direction ) { ctsStatusReg |= DOI_INC ; } else { ctsStatusReg &= ~ DOI_INC ; } }
@brief   Update the Baseline Tracking algorithm Direction of Interest
 @param   direction Direction of increasing or decreasing capacitance
 @return  none
@brief Update the Baseline Tracking algorithm Direction of Interest @param direction Direction of increasing or decreasing capacitance @return none