Microchip® Advanced Software Framework

host_template_task.c File Reference
#include "conf_usb.h"
#include "board.h"
#include "usb_drv.h"
#include "usb_host_enum.h"
#include "usb_host_task.h"
#include "host_template_task.h"

Macros

#define LED_APPLI_0   LED2
 
#define LED_APPLI_1   LED3
 

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

static U8 buf [64]
 
static U8 pipe_in
 
static U8 pipe_out
 
static U16 sof_cnt
 
volatile bool tpl_new_device_connected
 

#define LED_APPLI_0   LED2

Referenced by host_template_task().

#define LED_APPLI_1   LED3

Referenced by host_template_task().

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, host_template_task(), sof_cnt, and tpl_new_device_connected.

Referenced by main().

U8 pipe_in
static

Referenced by host_template_task().

U8 pipe_out
static

Referenced by host_template_task().