📄 pbled_test.h
字号:
/*******************************************************************************/
/* */
/* (C) Copyright 2008 - Analog Devices, Inc. All rights reserved. */
/* */
/* FILE: pbled_test.h ( ) */
/* */
/* CHANGES: 1.00.0 - initial release */
/* */
/*******************************************************************************/
#ifndef _PBLED_TEST_H_
#define _PBLED_TEST_H_
/* header files */
#include <sys\exception.h>
#include <cdefBF518.h>
#include <ccblkfn.h>
#define LED1 0x0008
#define LED2 0x0020
#define LED3 0x0040
#define BLINK_FAST 2000
#define BLINK_SLOW (BLINK_FAST * 2)
/* function prototypes */
void Init_LEDs(void);
void Init_PushButtons(void);
void ClearSet_LED(const int led, const int bState);
void LED_Bar(const int iSpeed);
void LED_Bar_Reverse(const int iSpeed);
void LED_Bar_BacknForth(const int iSpeed);
void Blink_LED(const int enleds, const int iSpeed);
void ClearSet_LED_Bank(const int enleds, const int iState);
EX_INTERRUPT_HANDLER(Pushbutton_ISR);
#endif /* _PBLED_TEST_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -