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

📄 headset_pio.h

📁 bc5_stereo:bluetooth stereo Headset CODE 支持A2DP HSP 和 HSP 。可作为车载免提。BlueLab 2007环境下编译
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2007

FILE NAME
    headset_pio.h
    
DESCRIPTION
    Part of the ledmanager Module responsible for managing the PIO outputs excluding LEDs
    
*/

#ifndef HEADSET_PIO_H
#define HEADSET_PIO_H

#define DIM_MSG_BASE (0x1000)

#include "headset_ledmanager.h"


/****************************************************************************
  FUNCTIONS
*/

/****************************************************************************
NAME	
	PioSetPowerPin

DESCRIPTION
    Controls the internal regulators to latch / remove the power on state.
    
*/
void PioSetPowerPin ( hsTaskData * pApp , PowerPin_t pEnable ) ;


/****************************************************************************
NAME	
	PioSetLedPin

DESCRIPTION
    Fn to change set an LED attached to a PIO, a special LED pin , or a tricolour LED.
    
*/
void PioSetLedPin ( LedTaskData * pLedTask , uint16 pPIO , bool pOnOrOff ) ;


/****************************************************************************
NAME	
	PioSetPio

DESCRIPTION
    Fn to change a PIO.
    
*/
void PioSetPio ( uint16 pPIO , bool pOnOrOff  ) ;


/****************************************************************************
NAME	
	PioSetInternalLDO

DESCRIPTION
    Fn to set the internal LDO pin.  
    
*/
void PioSetInternalLDO ( bool pEnable) ;


/****************************************************************************
NAME	
	PioSetDimState  
	
DESCRIPTION
    Update funtion for a led that is currently dimming.
    
*/
void PioSetDimState ( LedTaskData * pLedTask , uint16 pPIO );


#endif

⌨️ 快捷键说明

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