Microchip® Advanced Software Framework

uc3c_ek-can-lin-loopbacks-demo/controller.h File Reference

Application Controller for AT42QT1060 Touch Management.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"

Functions

void controller_init (uint32_t fcpu_hz, uint32_t fhsb_hz, uint32_t fpbb_hz, uint32_t fpba_hz)
 
bool controller_key_fct1 (void)
 Local definition for controller Key 1: Right Button (Input+Noise Signal) More...
 
bool controller_key_fct2 (void)
 Local definition for controller Key 2: Left Button (Input Signal) More...
 
bool controller_key_fct3 (void)
 Local definition for controller Key 3: Up Button (FPU Signal) More...
 
bool controller_key_fct4 (void)
 Local definition for controller Key 4: Down Button (FP Signal) More...
 
bool controller_key_fct5 (void)
 Local definition for controller Key 5: Middle Button (Noise Signal) More...
 
void controller_task (void)
 

void controller_init ( uint32_t  fcpu_hz,
uint32_t  fhsb_hz,
uint32_t  fpbb_hz,
uint32_t  fpba_hz 
)
bool controller_key_fct1 ( void  )

Local definition for controller Key 1: Right Button (Input+Noise Signal)

References at42qt1060_data::detect_status, and touch_data.

Referenced by controller_task(), and state_machine_task().

bool controller_key_fct2 ( void  )

Local definition for controller Key 2: Left Button (Input Signal)

References at42qt1060_data::detect_status, and touch_data.

Referenced by controller_task(), and state_machine_task().

bool controller_key_fct3 ( void  )

Local definition for controller Key 3: Up Button (FPU Signal)

References at42qt1060_data::detect_status, and touch_data.

Referenced by controller_task(), and state_machine_task().

bool controller_key_fct4 ( void  )

Local definition for controller Key 4: Down Button (FP Signal)

References at42qt1060_data::detect_status, and touch_data.

Referenced by controller_task(), and state_machine_task().

bool controller_key_fct5 ( void  )

Local definition for controller Key 5: Middle Button (Noise Signal)

References at42qt1060_data::detect_status, and touch_data.

Referenced by controller_task(), and state_machine_task().

void controller_task ( void  )