Atmel Software Framework

device_template_task.c File Reference
#include "conf_usb.h"
#include "board.h"
#include "usb_drv.h"
#include "usb_descriptors.h"
#include "usb_standard_request.h"
#include "device_template_task.h"

Macros

#define LED_APPLI_0   LED_BI0_GREEN
 
#define LED_APPLI_1   LED_BI0_RED
 

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...
 

Variables

static U8 data_length
 
static U16 sof_cnt
 

#define LED_APPLI_0   LED_BI0_GREEN

Referenced by device_template_task().

#define LED_APPLI_1   LED_BI0_RED

Referenced by device_template_task().

void device_template_task_init ( void  )

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

References configTSK_USB_DTP_NAME, configTSK_USB_DTP_PRIORITY, configTSK_USB_DTP_STACK_SIZE, data_length, device_template_task(), Is_usb_device, NULL, sof_cnt, Usb_enable_sof_interrupt, and xTaskCreate.

Referenced by main().

U8 data_length
static