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

Committer:
the_sz
Date:
Thu Nov 12 21:21:48 2015 +0000
Revision:
7:dc29f6647486
f746 patch used

Who changed what in which revision?

UserRevisionLine numberNew contents of line
the_sz 7:dc29f6647486 1 #ifndef __Config_h
the_sz 7:dc29f6647486 2 #define __Config_h
the_sz 7:dc29f6647486 3
the_sz 7:dc29f6647486 4 #define CONFIG_ALARM_MASK_MONDAY 0x0001
the_sz 7:dc29f6647486 5 #define CONFIG_ALARM_MASK_TUESDAY 0x0002
the_sz 7:dc29f6647486 6 #define CONFIG_ALARM_MASK_WEDNESDAY 0x0004
the_sz 7:dc29f6647486 7 #define CONFIG_ALARM_MASK_THURSDAY 0x0008
the_sz 7:dc29f6647486 8 #define CONFIG_ALARM_MASK_FRIDAY 0x0010
the_sz 7:dc29f6647486 9 #define CONFIG_ALARM_MASK_SATURDAY 0x0020
the_sz 7:dc29f6647486 10 #define CONFIG_ALARM_MASK_SUNDAY 0x0040
the_sz 7:dc29f6647486 11 #define CONFIG_ALARM_MASK_DAYS (CONFIG_ALARM_MASK_MONDAY | CONFIG_ALARM_MASK_TUESDAY | CONFIG_ALARM_MASK_WEDNESDAY | CONFIG_ALARM_MASK_THURSDAY | CONFIG_ALARM_MASK_FRIDAY | CONFIG_ALARM_MASK_SATURDAY | CONFIG_ALARM_MASK_SUNDAY)
the_sz 7:dc29f6647486 12
the_sz 7:dc29f6647486 13 typedef enum
the_sz 7:dc29f6647486 14 {
the_sz 7:dc29f6647486 15 CT_MAGIC,
the_sz 7:dc29f6647486 16
the_sz 7:dc29f6647486 17 CT_ALARM_1_TIME,
the_sz 7:dc29f6647486 18 CT_ALARM_1_MASK,
the_sz 7:dc29f6647486 19
the_sz 7:dc29f6647486 20 CT_ALARM_2_TIME,
the_sz 7:dc29f6647486 21 CT_ALARM_2_MASK,
the_sz 7:dc29f6647486 22
the_sz 7:dc29f6647486 23 CT_ALARM_3_TIME,
the_sz 7:dc29f6647486 24 CT_ALARM_3_MASK,
the_sz 7:dc29f6647486 25
the_sz 7:dc29f6647486 26 CT_ALARM_4_TIME,
the_sz 7:dc29f6647486 27 CT_ALARM_4_MASK,
the_sz 7:dc29f6647486 28
the_sz 7:dc29f6647486 29 CT_ALARM_5_TIME,
the_sz 7:dc29f6647486 30 CT_ALARM_5_MASK,
the_sz 7:dc29f6647486 31
the_sz 7:dc29f6647486 32 CT_ALARM_6_TIME,
the_sz 7:dc29f6647486 33 CT_ALARM_6_MASK,
the_sz 7:dc29f6647486 34
the_sz 7:dc29f6647486 35 CT_MAX=RTC_BKP_DR31
the_sz 7:dc29f6647486 36
the_sz 7:dc29f6647486 37 } CONFIG_TYPE_ENUM;
the_sz 7:dc29f6647486 38
the_sz 7:dc29f6647486 39 void Config_Init(void);
the_sz 7:dc29f6647486 40 uint32_t Config_Get(CONFIG_TYPE_ENUM type);
the_sz 7:dc29f6647486 41 void Config_Set(CONFIG_TYPE_ENUM type,uint32_t value);
the_sz 7:dc29f6647486 42
the_sz 7:dc29f6647486 43 #endif