Microchip® Advanced Software Framework

host_template_task.h File Reference
#include "conf_usb.h"
#include "usb_host_task.h"

Functions

void host_sof_action (void)
 host_sof_action More...
 
void host_template_task (void)
 High-level host applicative task entry point Put here the code of your host application. More...
 
void host_template_task_init (void)
 This function initializes the high-level host application. More...
 

Variables

Pipe_handler host_get_data_callback
 
Pipe_handler host_send_data_callback
 

void host_template_task ( void  )
void host_template_task_init ( void  )

This function initializes the high-level host application.

Here initialize specific hardware resources requirements.

References buf, busy, configTSK_USB_HTP_NAME, configTSK_USB_HTP_PRIORITY, configTSK_USB_HTP_STACK_SIZE, host_template_task(), i, NULL, sof_cnt, tpl_new_device_connected, and xTaskCreate.

Referenced by main().

Pipe_handler host_get_data_callback

Referenced by host_send_data_callback().

Pipe_handler host_send_data_callback

Referenced by host_template_task().