headset_led.h

来自「针对bluelab3.42的handsfree车载蓝牙的参考」· C头文件 代码 · 共 31 行

H
31
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.4.2-release

FILE NAME
    headset_led.h

DESCRIPTION
    Controls the flashing of the LED depending on the current state

*/

#ifndef _HEADSET_LED_H_
#define _HEADSET_LED_H_


/*
    Start the LED flashing
*/
void startBlueLed(ledState state);
void startRedLed(void);
/*
    Force LED to pick up state change immediately.
*/
ledState updateLed(const headsetTaskData *app, ledState state);
ledState updateRedLed(const headsetTaskData *app, ledState state);
ledState updateBlueLedOnEvent(const headsetTaskData *app, ledState state, const APP_ON_EVENT_LED_UPDATE_IND_T* m);


#endif /* _HEADSET_LED_H_ */

⌨️ 快捷键说明

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