Microchip® Advanced Software Framework

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

Functions

void device_template_task (void)
 Entry point of the device applicative task management. More...
 
void device_template_task_init (void)
 This function initializes the hardware/software resources required for device applicative task. More...
 
void usb_sof_action (void)
 usb_sof_action More...
 

void device_template_task_init ( void  )

This function initializes the hardware/software resources required for device applicative task.

References data_length, device_template_task(), Is_usb_device, sof_cnt, and Usb_enable_sof_interrupt.

Referenced by main().

void usb_sof_action ( void  )

usb_sof_action

This function increments the sof_cnt counter each time the USB Start-of-Frame interrupt subroutine is executed (1 ms). Useful to manage time delays