资源简介
利用定时器、外部中断、GUI组件、串口等实现电子时钟
代码片段和文件信息
/*
*********************************************************************************************************
* uC/GUI
* Universal graphic software for embedded applications
*
* (c) Copyright 2002 Micrium Inc. Weston FL
* (c) Copyright 2002 SEGGER Microcontroller Systeme GmbH
*
* 礐/GUI is protected by international copyright laws. Knowledge of the
* source code may not be used to write a similar product. This file may
* only be used in accordance with a license and should not be redistributed
* in any way. We appreciate your understanding and fairness.
*
----------------------------------------------------------------------
File : GUI_X.C
Purpose : Config / System dependent externals for GUI
---------------------------END-OF-HEADER------------------------------
*/
#include “GUI.h“
#include “GUI_X.h“
/*********************************************************************
*
* Global data
*/
volatile int OS_TimeMS;
/*********************************************************************
*
* Timing:
* GUI_X_GetTime()
* GUI_X_Delay(int)
Some timing dependent routines require a GetTime
and delay function. Default time unit (tick) normally is
1 ms.
*/
int GUI_X_GetTime(void) {
return OS_TimeMS;
}
void GUI_X_Delay(int ms) {
int tEnd = OS_TimeMS + ms;
while ((tEnd - OS_TimeMS) > 0);
}
/*********************************************************************
*
* GUI_X_Init()
*
* Note:
* GUI_X_Init() is called from GUI_Init is a possibility to init
* some hardware which needs to be up and running before the GUI.
* If not required leave this routine blank.
*/
void GUI_X_Init(void) {}
/*********************************************************************
*
* GUI_X_ExecIdle
*
* Note:
* Called if WM is in idle state
*/
void GUI_X_ExecIdle(void) {}
/*********************************************************************
*
* Logging: OS dependent
Note:
Logging is used in higher debug levels only. The typical target
build does not use logging and does therefor not require any of
the logging routines below. For a release build without logging
the routines below may be eliminated to save some space.
(If the linker is not function aware and eliminates unreferenced
functions automatically)
*/
void GUI_X_Log (const char *s) { GUI_USE_PARA(s); }
void GUI_X_Warn (const char *s) { GUI_USE_PARA(s); }
void GUI_X_ErrorOut(const char *s) { GUI_USE_PARA(s); }
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-05-18 16:59 CLOCK\
目录 0 2017-05-18 16:59 CLOCK\CORE\
文件 17273 2010-06-07 10:25 CLOCK\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 CLOCK\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 CLOCK\CORE\startup_stm32f10x_hd.s
文件 12765 2011-03-10 10:52 CLOCK\CORE\startup_stm32f10x_md.s
目录 0 2017-05-18 16:59 CLOCK\Config\
文件 1907 2016-06-20 10:49 CLOCK\Config\GUIConf.h
文件 1226 2004-08-19 08:08 CLOCK\Config\GUITouchConf.h
文件 2756 2004-08-19 08:08 CLOCK\Config\GUI_X.c
文件 7724 2016-06-12 11:42 CLOCK\Config\LCDConf.h
文件 80 2005-09-07 23:14 CLOCK\Config\vssver.scc
目录 0 2017-05-18 16:59 CLOCK\GUI\
目录 0 2017-05-18 16:59 CLOCK\GUI\AntiAlias\
文件 242 2004-08-18 08:41 CLOCK\GUI\AntiAlias\CCGUIAntiAlias.bat
文件 2838 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAAArc.c
文件 5489 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAAChar.c
文件 6814 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAAChar2.c
文件 4503 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAAChar4.c
文件 4008 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAACircle.c
文件 8388 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAALib.c
文件 3369 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAALine.c
文件 3584 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAAPoly.c
文件 2092 2004-08-19 08:08 CLOCK\GUI\AntiAlias\GUIAAPolyOut.c
文件 192 2005-09-07 23:14 CLOCK\GUI\AntiAlias\vssver.scc
目录 0 2017-05-18 16:59 CLOCK\GUI\ConvertColor\
文件 486 2004-08-18 08:41 CLOCK\GUI\ConvertColor\CCConvertColor.bat
文件 3065 2004-08-19 08:08 CLOCK\GUI\ConvertColor\LCDP111.c
文件 3103 2004-08-19 08:08 CLOCK\GUI\ConvertColor\LCDP222.c
文件 2185 2004-08-19 08:08 CLOCK\GUI\ConvertColor\LCDP233.c
文件 2185 2004-08-19 08:08 CLOCK\GUI\ConvertColor\LCDP323.c
............此处省略2858个文件信息
- 上一篇:OgreMaxSceneExporter2.6.3
- 下一篇:SICP的旧版本
相关资源
- stm32 ID加密和校验例程
- 基于单片机的自动灌溉系统
- STM32自学笔记完整扫描版
- STM32F030超值入门开发资料
- stm32f407官方库
- STM32F407VE_ETH_RMII+LAN8720源码
- 基于STM32单片机全向遥控机器人的设计
- STM32驱动迪文串口屏
- 串口屏32程序
- STM32+OV2640+ESP8266图片传输
- stm32f030开发板资料
- STM32F103系列例程
- stm32f0和夏普红外测距
- HAL库W5500代码SPI版本
- STM32 智能小车源代码
- STM32入门必看完整资料
- STM32 USB IAP
- STM32F1xx_HAL库_V1.4.0_及例程
- STM32F1标准例程
-
STM32_Jli
nk驱动 - stmf429开发板基础例程序
- STM32F0xxx中文手册与STM32F0xxx英文手册
- STM32CubeMX中文使用手册和STM32_f1的hal库
- STM32f10x_fw_archive.zip
- HLW8032功率计量芯片stm32程序及资料
- STM32F4+ucosIII+LWIP+DP83848
- stm32 RS485测试程序
- stm32软件加密方法
- STM32F407中文手册(完全版) 高清完整
- STM32F7中文参考手册.pdf
评论
共有 条评论