/* Autonomous QTouch Group status change callback function example prototype. 
Autonomous QTouch status change interrupt callback function. This callback function is called by the Touch library in the CAT Autonomous QTouch status change Interrupt context, each time there is a status change in the Autonomous Touch sensor. */
void touch_at_status_change_interrupt_callback(touch_at_status *p_at_status)
/* Autonomous QTouch Group status change callback function example prototype. 
Autonomous QTouch status change interrupt callback function. This callback function is called by the Touch library in the CAT Autonomous QTouch status change Interrupt context, each time there is a status change in the Autonomous Touch sensor. */
void touch_at_status_change_interrupt_callback(touch_at_status *p_at_status)
{
  if (p_at_status->status_change == IN_TOUCH)
    {
      autonomous_qtouch_in_touch = 1u;
    }
  else
    {
      autonomous_qtouch_in_touch = 0u;
    }
}