| поискавой системы для электроныых деталей |
|
AN3959 датащи(PDF) 53 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3959 датащи(HTML) 53 Page - STMicroelectronics |
|
53 / 65 page ![]() AN3959 Examples of code (TV SoC) Doc ID 022081 Rev 3 53/65 8.2 FFX381X_Sample.C #include "FFX38X_Sample.h" /* This is the reference source code of STA381BWX series FFX amplifier function reference: I2Cm_Tx(&valueReg,RegAddress,1,DeviceAddress);//write the data to I2C register,DeviceAddress=FFX_I2C_ADDR I2Cm_Rx(&valueReg,RegAddress,1,DeviceAddress);//Read the data from I2C register,DeviceAddress=FFX_I2C_ADDR */ unsigned char oldMasterVolume; unsigned char oldLeftVolume; unsigned char oldRightVolume; unsigned char oldSubWooferVolume; unsigned char oldMute; unsigned char MUTEVolSave; unsigned char I2C_buf1; /****************************************************************** Global Function Declarations. ******************************************************************* / unsigned char STA381BWX_EQ[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0 x00,0x00,0x40,0x00,0x00}; /* Intial the EQ curve for coefficient data Write Read Filter data to STA381_EQ[],Filter address FilterIndex=0~4 */ void STA381BWX_CoefficientRead(unsigned char FilterIndex){ unsigned char STA381BWX_tempj; //clear 0x17~0x25 IIC register for(STA381BWX_tempj=0;STA381BWX_tempj<15;STA381BWX_tempj++){ I2C_buf1=0x00; I2Cm_Tx(&I2C_buf1,(0x17+STA381BWX_tempj),1,FFX_I2C_ADDR); } //Set coefficient data address |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |