Microchip® Advanced Software Framework

device_hid_qtouch_debug_task.h File Reference
#include "conf_usb.h"

Functions

void device_generic_hid_task (void)
 Entry point of the HID generic communication task This function manages IN/OUT report management. More...
 
void device_generic_hid_task_init (void)
 This function initializes the hardware/software resources required for device generic HID task. More...
 
void fill_tx_buffer (void)
 Send data report to USB HID Host. More...
 
void hid_check_vbus (void)
 check if USB VBUS active. More...
 
void usb_sof_action (void)
 usb_sof_action More...
 

void device_generic_hid_task ( void  )

Entry point of the HID generic communication task This function manages IN/OUT report management.

References fill_tx_buffer(), hid_check_vbus(), hid_report_in(), hid_report_out(), and Is_device_enumerated.

Referenced by main().

void hid_check_vbus ( void  )

check if USB VBUS active.

If VBUS is not active, put the device in Stop mode until VBUS become active

References cpu_delay_ms(), FOSC0, gpio_clr_gpio_pin(), gpio_enable_pin_pull_up(), gpio_set_gpio_pin(), gpio_tgl_gpio_pin(), init_rs232(), Is_usb_vbus_low, pcl_freq_param, RX_LED, SLEEP, TX_LED, USART, USART_BAUDRATE, and USART_RX_PIN.

Referenced by device_generic_hid_task().