?? tvta1304f.h.svn-base
字號:
#ifndef _TVAUDIO_TA1304F_H
#define _TVAUDIO_TA1304F_H_
#define SLAVE_ADDRESS_TA1304F 0x80
typedef enum
{
TA1304F_REG_BASS,
TA1304F_REG_TREBLE,
TA1304F_REG_VOLUME,
TA1304F_REG_TESTSW,
TA1304F_REG_WOOFER,
TA1304F_REG_BALANCE,
TA1304F_REG_PORT,
TA1304F_REG_BASSBOOST
};
#define BIT_POR 0x80
#define BIT_PORT2 0x02
#define BIT_PORT1 0x01
typedef struct tagTA1304FRegs
{
/*Reg 0x00*/
Byte ucBass;
/*Reg 0x01*/
Byte ucTreble;
/*Reg 0x02*/
Byte ucVolume;
/*Reg 0x03*/
Byte ucInputMatrix: 2;
Byte ucInputAtt: 1;
Byte ucFixedR03B3: 1;
Byte ucALSStart: 2;
Byte ucALSSW: 1;
Byte ucTestSW: 1;
/*Reg 0x04*/
Byte ucWoofer;
/*Reg 0x05*/
Byte ucBalance;
/*Reg 0x06*/
Byte ucFixedR06B20: 3;
Byte ucPort3: 1;
Byte ucPort4: 2;
Byte ucFixedR06B76: 2;
/*Reg 0x07*/
Byte ucMute1: 1;
Byte ucMute2: 1;
Byte ucWooferLPFDefeat: 1;
Byte ucFixedR07B3: 1;
Byte ucWooferLPF: 2;
Byte ucFixedR07B6: 1;
Byte ucBassBoost: 1;
}TA1304FRegs;
#ifdef __cplusplus
extern "C" {
#endif
Bool tvTA1304FInit(RPByte pData);
Bool tvTA1304FSetAttr(Byte ucAttr, Word wVal);
Byte tvTA1304FGetAttr(Byte ucAttr);
#ifdef __cplusplus
};
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -