Microchip® Advanced Software Framework

hid_example.c File Reference
#include <stdio.h>
#include "compiler.h"
#include "board.h"
#include "print_funcs.h"
#include "intc.h"
#include "gpio.h"
#include "power_clocks_lib.h"
#include "FreeRTOS.h"
#include "task.h"
#include "conf_usb.h"
#include "usb_task.h"
#include "device_mouse_hid_task.h"
#include "host_mouse_hid_task.h"
#include "hid_example.h"

Functions

int main (void)
 Main function. Execution starts here. More...
 
void touch_button_isr (void)
 Touch sensor ISR. This ISR is used to control the remote wakeup function. More...
 

Variables

System Clock Frequencies
static pcl_freq_param_t pcl_freq_param
 

void touch_button_isr ( void  )

Touch sensor ISR. This ISR is used to control the remote wakeup function.

References gpio_clear_pin_interrupt_flag(), gpio_disable_pin_interrupt(), QT1081_TOUCH_SENSOR_ENTER, Usb_initiate_remote_wake_up, and Usb_unfreeze_clock.

Referenced by main().

pcl_freq_param_t pcl_freq_param
static
Initial value:
=
{
.cpu_f = FCPU_HZ,
.pba_f = FPBA_HZ,
.osc0_f = FOSC0,
.osc0_startup = OSC0_STARTUP
}
#define FPBA_HZ
Definition: hid_example.h:55
#define FCPU_HZ
Definition: hid_example.h:52
#define FOSC0
Osc0 frequency: Hz.
Definition: evk1105.h:63
#define OSC0_STARTUP
Osc0 startup time: RCOsc periods.
Definition: evk1105.h:64

Referenced by main().