headset_pio.h
来自「此软件为BlueLab 3.6.2 平台所自带的蓝牙耳机源码」· C头文件 代码 · 共 57 行
H
57 行
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.6.2-release
FILE NAME
headset_pio.c
DESCRIPTION
Part of the ledmanager Module responsible for managing the PIO outputs excluding LEDs
*/
#ifndef HEADSET_PIO_H
#define HEADSET_PIO_H
#include "headset_LEDmanager.h"
/****************************************************************************
NAME
LEDManagerSetPowerOff
DESCRIPTION
Shutsdown the headset - included as part of the LED Manager because it
belongs with the other PIO's
RETURNS
void
*/
void PioSetPowerPin ( hsTaskData * pApp , PowerPin_t pEnable ) ;
void PioSetLedPin ( LedTaskData * pLedTask , uint16 pPIO , bool pOnOrOff ) ;
void PioSetPin ( uint16 pPIO , bool pOnOrOff ) ;
bool PioGetLedPin ( LedTaskData * pLedTask , uint16 pPIO ) ;
bool PioGetPin ( uint16 pPIO );
void PioSetPinAsOutput ( uint16 pPIO ) ;
/****************************************************************************
NAME
PioSetInternalLDO
DESCRIPTION
Fn to set the internal LDO pin
RETURNS
void
*/
void PioSetInternalLDO ( bool pEnable) ;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?