Team Riedel - display
Dependencies: LCD_fonts SPI_TFT_ILI9341 CMSIS_DSP_401_without_cm4 mbed-src SDFileSystem wavfile
main.h@13:ab0285338951, 2015-12-14 (annotated)
- Committer:
- linx0576
- Date:
- Mon Dec 14 22:13:11 2015 +0000
- Revision:
- 13:ab0285338951
- Parent:
- 9:5a860b9c8a6a
update
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
EricLew | 9:5a860b9c8a6a | 1 | /** |
EricLew | 9:5a860b9c8a6a | 2 | ****************************************************************************** |
EricLew | 9:5a860b9c8a6a | 3 | * @file main.h |
EricLew | 9:5a860b9c8a6a | 4 | * @author Central Labs |
EricLew | 9:5a860b9c8a6a | 5 | * @version V1.0.0 |
EricLew | 9:5a860b9c8a6a | 6 | * @date 7-May-2015 |
EricLew | 9:5a860b9c8a6a | 7 | * @brief Header for main.c module |
EricLew | 9:5a860b9c8a6a | 8 | ****************************************************************************** |
EricLew | 9:5a860b9c8a6a | 9 | * @attention |
EricLew | 9:5a860b9c8a6a | 10 | * |
EricLew | 9:5a860b9c8a6a | 11 | * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2> |
EricLew | 9:5a860b9c8a6a | 12 | * |
EricLew | 9:5a860b9c8a6a | 13 | * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
EricLew | 9:5a860b9c8a6a | 14 | * You may not use this file except in compliance with the License. |
EricLew | 9:5a860b9c8a6a | 15 | * You may obtain a copy of the License at: |
EricLew | 9:5a860b9c8a6a | 16 | * |
EricLew | 9:5a860b9c8a6a | 17 | * http://www.st.com/software_license_agreement_liberty_v2 |
EricLew | 9:5a860b9c8a6a | 18 | * |
EricLew | 9:5a860b9c8a6a | 19 | * Redistribution and use in source and binary forms, with or without modification, |
EricLew | 9:5a860b9c8a6a | 20 | * are permitted provided that the following conditions are met: |
EricLew | 9:5a860b9c8a6a | 21 | * 1. Redistributions of source code must retain the above copyright notice, |
EricLew | 9:5a860b9c8a6a | 22 | * this list of conditions and the following disclaimer. |
EricLew | 9:5a860b9c8a6a | 23 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
EricLew | 9:5a860b9c8a6a | 24 | * this list of conditions and the following disclaimer in the documentation |
EricLew | 9:5a860b9c8a6a | 25 | * and/or other materials provided with the distribution. |
EricLew | 9:5a860b9c8a6a | 26 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
EricLew | 9:5a860b9c8a6a | 27 | * may be used to endorse or promote products derived from this software |
EricLew | 9:5a860b9c8a6a | 28 | * without specific prior written permission. |
EricLew | 9:5a860b9c8a6a | 29 | * |
EricLew | 9:5a860b9c8a6a | 30 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
EricLew | 9:5a860b9c8a6a | 31 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
EricLew | 9:5a860b9c8a6a | 32 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
EricLew | 9:5a860b9c8a6a | 33 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
EricLew | 9:5a860b9c8a6a | 34 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
EricLew | 9:5a860b9c8a6a | 35 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
EricLew | 9:5a860b9c8a6a | 36 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
EricLew | 9:5a860b9c8a6a | 37 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
EricLew | 9:5a860b9c8a6a | 38 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
EricLew | 9:5a860b9c8a6a | 39 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
EricLew | 9:5a860b9c8a6a | 40 | * |
EricLew | 9:5a860b9c8a6a | 41 | ******************************************************************************** |
EricLew | 9:5a860b9c8a6a | 42 | */ |
EricLew | 9:5a860b9c8a6a | 43 | |
EricLew | 9:5a860b9c8a6a | 44 | /* Define to prevent recursive inclusion -------------------------------------*/ |
EricLew | 9:5a860b9c8a6a | 45 | #ifndef __MAIN_H |
EricLew | 9:5a860b9c8a6a | 46 | #define __MAIN_H |
EricLew | 9:5a860b9c8a6a | 47 | |
EricLew | 9:5a860b9c8a6a | 48 | /* Includes ------------------------------------------------------------------*/ |
EricLew | 9:5a860b9c8a6a | 49 | |
EricLew | 9:5a860b9c8a6a | 50 | #include "audio_if.h" |
EricLew | 9:5a860b9c8a6a | 51 | //#include "x_nucleo_cca02m1_audio_l4.h" |
EricLew | 9:5a860b9c8a6a | 52 | #include "stm32l476g_discovery_audio.h" |
EricLew | 9:5a860b9c8a6a | 53 | #include "SDFileSystem.h" |
EricLew | 9:5a860b9c8a6a | 54 | #include "wavfile.h" |
EricLew | 9:5a860b9c8a6a | 55 | //AUDIO INCLUDES |
EricLew | 9:5a860b9c8a6a | 56 | #include "arm_const_structs.h" |
EricLew | 9:5a860b9c8a6a | 57 | #include "math.h" |
EricLew | 9:5a860b9c8a6a | 58 | #include "core_cm4.h" |
EricLew | 9:5a860b9c8a6a | 59 | #include "core_cm4_simd.h" |
EricLew | 9:5a860b9c8a6a | 60 | #include "core_cmFunc.h" |
EricLew | 9:5a860b9c8a6a | 61 | #include "core_cmInstr.h" |
EricLew | 9:5a860b9c8a6a | 62 | #include "stdint.h" |
EricLew | 9:5a860b9c8a6a | 63 | //END AUDIO INCLUDES |
EricLew | 9:5a860b9c8a6a | 64 | |
EricLew | 9:5a860b9c8a6a | 65 | /* Exported types ------------------------------------------------------------*/ |
EricLew | 9:5a860b9c8a6a | 66 | /* Exported constants --------------------------------------------------------*/ |
EricLew | 9:5a860b9c8a6a | 67 | /* Exported macro ------------------------------------------------------------*/ |
EricLew | 9:5a860b9c8a6a | 68 | /* Exported functions ------------------------------------------------------- */ |
EricLew | 9:5a860b9c8a6a | 69 | |
EricLew | 9:5a860b9c8a6a | 70 | |
EricLew | 9:5a860b9c8a6a | 71 | //extern DigitalIn mybutton; |
EricLew | 9:5a860b9c8a6a | 72 | //extern DigitalOut myled; |
EricLew | 9:5a860b9c8a6a | 73 | extern Serial pc; |
EricLew | 9:5a860b9c8a6a | 74 | extern SDFileSystem sd; |
EricLew | 9:5a860b9c8a6a | 75 | |
EricLew | 9:5a860b9c8a6a | 76 | |
EricLew | 9:5a860b9c8a6a | 77 | #endif /* __MAIN_H */ |
EricLew | 9:5a860b9c8a6a | 78 | |
EricLew | 9:5a860b9c8a6a | 79 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
EricLew | 9:5a860b9c8a6a | 80 |