SAMV71 Xplained Ultra Software Package 1.3

main.h

Go to the documentation of this file.
00001 /**
00002  * \file
00003  *
00004  * \brief Declaration of main function used by example
00005  *
00006  * Copyright (C) 2014-2015 Atmel Corporation. All rights reserved.
00007  *
00008  * \asf_license_start
00009  *
00010  * \page License
00011  *
00012  * Redistribution and use in source and binary forms, with or without
00013  * modification, are permitted provided that the following conditions are met:
00014  *
00015  * 1. Redistributions of source code must retain the above copyright notice,
00016  *    this list of conditions and the following disclaimer.
00017  *
00018  * 2. Redistributions in binary form must reproduce the above copyright notice,
00019  *    this list of conditions and the following disclaimer in the documentation
00020  *    and/or other materials provided with the distribution.
00021  *
00022  * 3. The name of Atmel may not be used to endorse or promote products derived
00023  *    from this software without specific prior written permission.
00024  *
00025  * 4. This software may only be redistributed and used in connection with an
00026  *    Atmel microcontroller product.
00027  *
00028  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
00029  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00030  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
00031  * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
00032  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00033  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00034  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00035  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
00036  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00037  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00038  * POSSIBILITY OF SUCH DAMAGE.
00039  *
00040  * \asf_license_stop
00041  *
00042  */
00043 /*
00044  * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
00045  */
00046 
00047 #ifndef _MAIN_H_
00048 #define _MAIN_H_
00049 
00050 
00051 /*
00052  * This file includes all API header files for the selected drivers from ASF.
00053  * Note: There might be duplicate includes required by more than one driver.
00054  *
00055  * The file is automatically generated and will be re-written when
00056  * running the ASF driver selector tool. Any changes will be discarded.
00057  */
00058 
00059 // From module: Common SAM compiler driver
00060 //#include <compiler.h>
00061 //#include <status_codes.h>
00062 
00063 // From module: FatFS file system
00064 #include "diskio.h"
00065 #include "ff.h"
00066 #include "ffconf.h"
00067 #include "integer.h"
00068 // From module: Memory Control Access Interface
00069 #include "ctrl_access.h"
00070 
00071 
00072 // From module: Supported ports of FatFS
00073 #include "diskio.h"
00074 
00075 #include "USBH.h"
00076 
00077 //! \brief Notify that a SOF has been sent (each 1 ms)
00078 void main_usb_sof_event(void);
00079 
00080 /*! \brief Notify that a USB device has been connected or disconnected.
00081  *
00082  * \param dev         Pointer on USB device information
00083  * \param b_present   true, if the device has been connected
00084  */
00085 void main_usb_connection_event(USBH_device_t *dev, bool b_present);
00086 
00087 #endif // _MAIN_H_
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines