參數(shù)資料
型號(hào): μSAP703000-B04
廠商: NEC Corp.
英文描述: 8 Bit Single Chip Microcontrollers(8位單片微控制器)
中文描述: 8位單片機(jī)微控制器(8位單片微控制器)
文件頁(yè)數(shù): 27/51頁(yè)
文件大小: 132K
代理商: ΜSAP703000-B04
27
CHAPTER 2 LIBRARY SPECIFICATIONS
2.4 Error Processing
The functions of the ADPCM library do not have an error processing functions like outputting an error code as a
return value. This is because the value outside the valid range in the middle of calculation is limited (saturated) by
the Recommendation and therefore, errors do not exist. However, errors, such as NMI, may occur. If these errors
occur, deal with them in the user application by managing flags before and after function calls.
2.5 Function Specifications
The ADPCM library supplies a total of 17 functions including an initialization function, six compression (encoder)
functions, and 10 expansion (decoder) functions. These functions are described next.
2.5.1 Initialization function
(1) adpcm_init function
This function initializes the encoder and decoder.
Secure a resident area (64 bytes) for the processing of the encoder and decoder in the application program,
and use the addresses of that area as arguments.
Be sure to call the adpcm_init function before performing an encoder/decoder processing sequence.
[Classification]
[Function name]
adpcm_init
[Outline]
[Format]
ADPCM initialization (common to encoder and decoder)
Initializes the resident area of the ADPCM encoder and decoder.
void adpcm_init (init *work);
[Argument]
Type
Argument
Description
int
work [16
First address of resident area (64 bytes)
[Return value]
[Feature]
None
Initializes the resident area for the encode and decode processing.
Caution
After calling the adpcm_init function, do not destroy the resident RAM area until the encode and decode
processing sequence is completed. If the resident area is destroyed, the operation is not guaranteed.
相關(guān)PDF資料
PDF描述
μSAP70372-B04 8 Bit Single Chip Microcontrollers(8位單片微控制器)
μ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ǔ)償)
相關(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