Atmel Software Framework

device_cdc_task.c File Reference
#include <stdio.h>
#include "usart.h"
#include "conf_usb.h"
#include "power_clocks_lib.h"
#include "print_funcs.h"
#include "cdc_example.h"
#include "board.h"
#include "usb_drv.h"
#include "gpio.h"
#include "intc.h"
#include "joystick.h"
#include "usb_descriptors.h"
#include "usb_standard_request.h"
#include "device_cdc_task.h"
#include "uart_usb_lib.h"
#include "fifo.h"

Macros

#define USART_IRQ   DBG_USART_IRQ
 
#define USART_RX_BUFFER   64
 

Functions

void device_cdc_task (void)
 Entry point of the device CDC task management. More...
 
void device_cdc_task_init (void)
 This function initializes the hardware/software resources required for device CDC task. More...
 
static void int_handler_usart (void)
 
void usb_sof_action (void)
 usb_sof_action More...
 

Variables

static fifo_desc_t fifo_desc_usart
 
static uint8_t fifo_rx [USART_RX_BUFFER]
 
static volatile uint16_t sof_cnt
 

#define USART_IRQ   DBG_USART_IRQ

Referenced by device_cdc_task_init(), and uart_open().

#define USART_RX_BUFFER   64

Referenced by device_cdc_task_init().

static void int_handler_usart ( void  )
static

fifo_desc_t fifo_desc_usart
static
uint8_t fifo_rx[USART_RX_BUFFER]
static

Referenced by device_cdc_task_init().

volatile uint16_t sof_cnt
static