| 数据搜索系统,热门电子元器件搜索 |
|
NSAM266SAA/V 数据表(PDF) 34 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
NSAM266SAA/V 数据表(HTML) 34 Page - National Semiconductor (TI) |
|
34 / 52 page ![]() 20 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 EV ERROR 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 ERR COMMAND or ERR PARAM 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 87 6 5 43 2 1 0 The bits of the error word are used as follows ERR OPCODE Illegal opcode The command opcode is not recognized by the CompactSPEECH ERR COMMAND Illegal command sequence The command is not legal in the current state ERR PARAM Illegal parameter The value of the parameter is out of range or is not appropriate for the command ERR COMM Microcontroller MICROWIRE communication error ERR TIMEOUT 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) ERR INVALID 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 EV ERROR is reported in the status word) The CompactSPEECH responds ERR OPCODE GI Get Information item 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 in Figure 2-1 The return value is meaningful only if one of the tone detec- tors is enabled (bits 01 of the detectors mask see the description of SDET command) The return value is unpredictable for any other value of item 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 nationalcom 34 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |