7 term/Microprocessor-Systems-and-Tools/Lab 6/libs/CTS_Layer.c
/***************************************************************************/
/**
 * @brief   Update the baseling tracking algorithm tracking rates
 * @param   rate Rate of tracking changes in and against direction of intrest
 * @return  none
 ******************************************************************************/
@brief   Update the baseling tracking algorithm tracking rates
@param   rate Rate of tracking changes in and against direction of intrest
@return  none
@brief Update the baseling tracking algorithm tracking rates @param rate Rate of tracking changes in and against direction of intrest @return none
void TI_CAPT_Update_Tracking_Rate(uint8_t rate)
{
    ctsStatusReg &= ~(TRIDOI_FAST+TRADOI_VSLOW); 
    ctsStatusReg |= (rate & 0xF0); 
}
void TI_CAPT_Update_Tracking_Rate ( uint8_t rate ) { ctsStatusReg &= ~ ( TRIDOI_FAST + TRADOI_VSLOW ) ; ctsStatusReg |= ( rate & 0xF0 ) ; }
@brief   Update the baseling tracking algorithm tracking rates
 @param   rate Rate of tracking changes in and against direction of intrest
 @return  none
@brief Update the baseling tracking algorithm tracking rates @param rate Rate of tracking changes in and against direction of intrest @return none
// clear fields // update fields