资源简介
MSP430F5529例程,里面包含了中文注释,对初学者有很大帮助
代码片段和文件信息
//***************************************************************************//
// //
// MSP-EXP430F5529 LAB CODE //
// //
// lab1 - CLOCK //
// //
//***************************************************************************//
/*******************************************************************************
*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* “AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
* LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL
* SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
* LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE
* DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
#include
#include “msp430.h“
#include “HAL_Buttons.h“
#include “HAL_Board.h“
#include “HAL_Dogs102x6.h“
#include “HAL_Menu.h“
#include “HAL_Wheel.h“
#include “lab1.h“
#include“stdio.h“
#include“stdint.h“
#define HOUR10 (0)
#define HOUR01 (1)
#define COLON2 (2)
#define MINUTE10 (3)
#define MINUTE01 (4)
#define COLON1 (5)
#define SECOND10 (6)
#define SECOND01 (7)
#define MONTH10 (0)
#define MONTH01 (1)
#define SLASH2 (2)
#define DAY10 (3)
#define DAY01 (4)
#define SLASH1 (5)
#define YEAR10 (6)
#define YEAR01 (7)
#define TIM
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-07-09 15:35 LAB1\
文件 501 2015-07-09 14:51 LAB1\.ccsproject
文件 31036 2015-07-10 14:08 LAB1\.cproject
目录 0 2015-07-09 15:35 LAB1\.launches\
文件 3838 2015-07-21 14:55 LAB1\.launches\LAB1.launch
文件 2569 2012-07-18 21:32 LAB1\.project
目录 0 2015-07-09 15:30 LAB1\.settings\
文件 93 2012-08-28 22:50 LAB1\.settings\org.eclipse.cdt.codan.core.prefs
文件 154 2012-02-20 16:48 LAB1\.settings\org.eclipse.cdt.debug.core.prefs
文件 3137 2012-08-20 08:16 LAB1\.settings\org.eclipse.core.resources.prefs
目录 0 2015-07-09 15:30 LAB1\CTS\
文件 64455 2011-05-27 04:41 LAB1\CTS\CTS_HAL.c
文件 4004 2011-05-27 04:41 LAB1\CTS\CTS_HAL.h
文件 29899 2011-05-27 04:41 LAB1\CTS\CTS_la
文件 5034 2011-05-27 04:41 LAB1\CTS\CTS_la
文件 2283 2011-05-27 04:41 LAB1\CTS\structure.c
文件 15447 2011-05-27 04:41 LAB1\CTS\structure.h
目录 0 2015-07-21 15:35 LAB1\Debug\
文件 336 2015-07-21 15:35 LAB1\Debug\ccsObjs.opt
文件 51 2012-09-08 09:57 LAB1\Debug\ccsSrcs.opt
目录 0 2015-07-09 15:30 LAB1\Debug\LAB1\
文件 75502 2015-07-21 15:35 LAB1\Debug\LAB1.map
文件 37400 2015-07-21 15:35 LAB1\Debug\lab1.obj
文件 2209 2015-07-21 15:35 LAB1\Debug\lab1.pp
文件 6845 2015-07-21 15:12 LAB1\Debug\LAB1main.obj
文件 3407 2015-07-21 15:12 LAB1\Debug\LAB1main.pp
文件 66 2012-07-20 11:53 LAB1\Debug\LAB1\ccsSrcs.opt
目录 0 2015-07-09 15:30 LAB1\Debug\LAB1\CTS\
文件 76 2012-07-20 11:53 LAB1\Debug\LAB1\CTS\ccsSrcs.opt
文件 5836 2012-07-20 11:53 LAB1\Debug\LAB1\CTS\subdir_rules.mk
文件 864 2012-07-20 11:53 LAB1\Debug\LAB1\CTS\subdir_vars.mk
............此处省略233个文件信息
评论
共有 条评论