參數(shù)資料
型號: NSAM266SA
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: 數(shù)字信號處理
英文描述: 4 Mbit Uniform Sector, Serial Flash Memory
中文描述: 8-BIT, MIXED DSP
文件頁數(shù): 34/52頁
文件大小: 571K
代理商: NSAM266SA
2.0 Software
(Continued)
GEW
Get Error Word
Returns the 2-byte error word.
THE ERROR WORD
The 16-bit error word indicates errors that occurred during
execution of the last command. If an error is detected, the
command is not processed; the EVDERROR bit in the
status word is set to 1, and the MWRQST signal is activated
(set to low).
The GEW command reads the error word. The error word is
cleared during reset and after execution of the GEW com-
mand.
If errors ERRDCOMMAND or ERRDPARAM occur during
the execution of a command that has a return value, the
return value is undefined. The microcontroller must still read
the return value, to ensure proper synchronization.
15–9
8
7
6
5
4
3
2
1
0
R
R
ED
ED
ED
R
ED
ED
ED
R
The bits of the error word are used as follows:
ERRDOPCODE
Illegal opcode. The command opcode is not recognized by
the CompactSPEECH.
ERRDCOMMAND
Illegal command sequence. The command is not legal in the
current state.
ERRDPARAM
Illegal parameter. The value of the parameter is out of
range, or is not appropriate for the command.
ERRDCOMM
Microcontroller MICROWIRE communication error.
ERRDTIMEOUT
Time-out error. Depending on the CompactSPEECH’s state,
more than 20 ms to 30 ms elapsed between the arrival of
two consecutive bytes (for commands that have parame-
ters).
ERRDINVALID
Command cannot be performed in current context.
Example
GEW
Byte sequence:
Microcontroller
1B AA AA
CompactSPEECH 1B 00
02
Description:
Get the CompactSPEECH error word
(typically sent after GSW when EVD
ERROR is reported in the status word).
The CompactSPEECH responds:
ERRDOPCODE:
GI
Get Informationitem
Returns the 16-bit value specified by item from one of the
internal registers of the CompactSPEECH.
item may be one of the following:
0: The duration of the last detected DTMF tone, in 10 ms
units. The return value is meaningful only if DTMF de-
tection is enabled, and the status word shows that a
DTMF tone was detected.
1: The duration of the last detected busy tone in 10 ms
units.
2: The energy level of the samples in the last 10 ms.
3: The energy level of the samples, in the last 10 ms, that
are in the frequency range described inFigure 2-1. The
return value is meaningful only if one of the tone detec-
tors is enabled (bits 0,1 of the detectors mask; see the
description of SDET command).
The return value is unpredictable for any other value ofitem.
Example
GI 0
Byte sequence:
Microcontroller
25 00 AA AA
CompactSPEECH 25 00 00
06
Description:
Get the duration of the last detected
DTMF tone.
The CompactSPEECH responds:
60 ms
http://www.national.com
34
相關(guān)PDF資料
PDF描述
NSAM266SAA 4 Mbit Uniform Sector, Serial Flash Memory
NSB8 BASIC interpreter for Z80 family
NSB9435T1 High Current Bias Resistor Transistors(高強(qiáng)度電流偏置電阻晶體管)
NSBA114EDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
NSBA114YDXV6T1 Dual Bias Resistor Transistors(雙偏置電阻晶體管)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
NSAM266SAA 制造商:NSC 制造商全稱:National Semiconductor 功能描述:NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
NSAM266SAA/V 制造商:NSC 制造商全稱:National Semiconductor 功能描述:NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
NSAM266SAA/VLJ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Solid-State Recorder
NSAM266SC 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
NSAM266SCA/V 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Solid-State Recorder