Main file of the USB Full custom example.
Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
#include <stdio.h>
#include "conf_usb.h"
#include "usb_descriptors.h"
#include "compiler.h"
#include "preprocessor.h"
#include "board.h"
#include "print_funcs.h"
#include "intc.h"
#include "pm.h"
#include "gpio.h"
#include "usb_task.h"
#include "device_ctrl_panel_task.h"
#include "FreeRTOS.h"
#include "task.h"
Macros | |
#define | CRLF "\r\n" |
Functions | |
int | main (void) |
Starts the generation of a 48-MHz clock for the USB. More... | |
Variables | |
const char *const | pcCtrlPanelVersion = "GCC "__VERSION__" "__DATE__" "__TIME__" ATMEL_CONTROLPANEL_AVR32_UC3_10000"CRLF |
#define CRLF "\r\n" |
int main | ( | void | ) |
Starts the generation of a 48-MHz clock for the USB.
Main function. Execution starts here.
No | return from main function |
References ctrl_access_init(), device_full_custom_task_init(), device_mass_storage_task_init(), FOSC0, init_dbg_rs232(), OSC0_STARTUP, pcCtrlPanelVersion, pm_configure_usb_clock(), pm_switch_to_osc0(), usb_task_init(), and vTaskStartScheduler().
const char* const pcCtrlPanelVersion = "GCC "__VERSION__" "__DATE__" "__TIME__" ATMEL_CONTROLPANEL_AVR32_UC3_10000"CRLF |
Referenced by main().