traffic.h

来自「AT91所有开发板的资料 AT91所有开发板的资料」· C头文件 代码 · 共 79 行

H
79
字号
/**************************************************************************
 *
 * ARM Strategic Support Group
 *
 ***************************************************************************/

/***************************************************************************
 *
 * Module		: traffic.h
 * Description 	: Traffic light program is designed to simulate the US and 
 * 				  European Traffic Light System. It is designed to work 
 *				  with the ARM Evaluator7T Board. 
 * Tool Chain	: ARM Developer Suite v1.0
 * Platform		: Evaluator7T
 * History		:
 *
 *		980301 ASloss
 *		- started working on the design and structure.
 *
 *		980408 ASloss
 *		- added in-line assembler example.
 *
 *		980428 ASloss
 *		- added interrupt handler
 *
 *		2000-04-04 Andrew N. Sloss
 *		- ported to Evaluator7T
 *
 **************************************************************************/

/**************************************************************************
 * IMPORTS
 **************************************************************************/

// none...
 
/**************************************************************************
 * MACROS
 **************************************************************************/
 
// none... 
 
/**************************************************************************
 * STATICS
 **************************************************************************/
 
// none... 
 
/**************************************************************************
 * ROUTINES
 **************************************************************************/

/* -- traffic_interrupt ----------------------------------------------------
 *
 * Description	: The interrupt button has been pressed. Toggles D1 LED...
 *
 * Parameters	: none...
 * Return		: none...
 * Notes		: none...
 *
 */

void traffic_interrupt (void);

/* -- traffic_sequence ------------------------------------------------
 *
 * Description	: Runs the traffic light sequence...
 *
 * Parameters	: int cycles - number of cycles 
 * Return		: none...
 * Notes		: none...
 *
 */

void traffic_sequence (void);

/**************************************************************************
 * END OF traffic.h
 **************************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?