⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 headset_pio.h

📁 BlueLab 3.5.2 单声道耳机源码
💻 H
字号:
/****************************************************************************
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -