📄 headset_pio.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 + -