📄 traffic.h
字号:
/**************************************************************************
*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -