參數(shù)資料
型號(hào): μSAP70372-B04
廠商: NEC Corp.
英文描述: 8 Bit Single Chip Microcontrollers(8位單片微控制器)
中文描述: 8位單片機(jī)微控制器(8位單片微控制器)
文件頁(yè)數(shù): 49/51頁(yè)
文件大小: 132K
代理商: ΜSAP70372-B04
49
APPENDIX SOURCE PROGRAM OF sample.c
--- sample.c---
extern short linear_enc[0x4000];
unsigned char adpcm_32[0x4000/2];
short linear_dec[0x4000];
int work[16];
void
encoder ()
{
unsigned register int cnt;
adpcm_init( work );
for( cnt=0; cnt<0x4000; cnt++ ) {
if(cnt & 1){
adpcm_32[cnt>>1]|=((unsigned char)adpcm_132_enc((int)linear_enc[cnt],
work))
<<
4;
}
else{
adpcm_32[cnt>>1]=(unsigned char)adpcm_132_enc((int)linear_enc[cnt],
work);
}
}
}
void
decoder ()
{
unsigned register int cnt;
adpcm_init( work );
for( cnt = 0; cnt<0x4000; cnt++ ){
if(cnt & 1){
linear_dec[cnt] = (short)adpcm_132_dec( ((int)adpcm_32[cnt>>1]) >> 4,
work );
}
else{
linear_dec[cnt] = (short)adpcm_132_dec( ((int)adpcm_32[cnt>>1]) & 0xf,
work );
}
}
}
main ()
{
encoder();
decoder();
}
相關(guān)PDF資料
PDF描述
μSAP703000-B06 8 Bit Single Chip Microcontrollers
μSAP70732-B03 8 Bit Single Chip Microcontrollers(8位單片微控制器)
AADG812YRU 0.5 CMOS 1.65 V to 3.6 V Quad SPST Switches
AC1226 Micropower Thermocouple Cold Junction Compensator(微功耗熱電耦冷節(jié)點(diǎn)補(bǔ)償)
AC2626 General Purpose Temperture Probe(通用溫度探測(cè)器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SAP-8511250B300 制造商:Seiko Instruments Inc (SII) 功能描述:
SAPM01N 制造商:SANKEN 制造商全稱:Sanken electric 功能描述:silicon power MOSFET
SAPPBU10 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PLENUM BLUE - Cable Rools/Shrink Tubing
SAPPBU100 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PLENUM BLUE - Cable Rools/Shrink Tubing
SAPPBU110 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PL 制造商:Panduit Corp 功能描述:ZONE CORD, CAT 6A FTP SOLID PLENUM BLUE - Cable Rools/Shrink Tubing