Wakeup Light with touch user interface, anti-aliased Font, SD card access and RTC usage on STM32F746NG-DISCO board

Dependencies:   BSP_DISCO_F746NG_patch_fixed LCD_DISCO_F746NG TS_DISCO_F746NG FATFileSystem TinyJpgDec_interwork mbed-src

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers WakeupLight.h Source File

WakeupLight.h

00001 #ifndef __WakeupLight_h
00002 #define __WakeupLight_h
00003 
00004 #include "mbed.h"
00005 #include "stm32746g_discovery.h"
00006 #include "stm32746g_discovery_sd.h"
00007 #include "stm32746g_discovery_audio.h"
00008 #include "TS_DISCO_F746NG.h"
00009 #include "LCD_DISCO_F746NG.h"
00010 #include "rtc_api.h"
00011 
00012 #include <FATFileSystem.h>
00013 
00014 #include <TinyJpgDec/TinyJpgDec.h>
00015 
00016 #define COUNT_OF(__ARRAY__)                                 (sizeof(__ARRAY__)/sizeof(__ARRAY__[0]))
00017 #define MIN(X,Y)                                            ((X) < (Y) ? (X) : (Y))
00018 #define MAX(X,Y)                                            ((X) > (Y) ? (X) : (Y))
00019 #define ABS(_VALUE_)                                        (((_VALUE_) < 0) ? -(_VALUE_) : (_VALUE_))
00020 
00021 typedef uint8_t                                             BYTE;
00022 
00023 #include "OnBoardLED.h"
00024 #include "LED.h"
00025 #include "SD.h"
00026 #include "Sound.h"
00027 #include "UI.h"
00028 #include "Config.h"
00029 #include "RTC.h"
00030 #include "FontX/FontX.h"
00031 #include "debug.h"
00032 
00033 #include "STMLIBRARIES/tm_stm32_rng.h"
00034 
00035 #endif