
2-30
2—SOFTWARE
ISD-SR3000
Voice Solutions in Silicon
GEW
Returns the 16-bit error word
Opcode:
0x1B
Syntax:
GEW [error_word]
Type:
Synchronous
Description:
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 (driven low).
The GEW command reads the error word. All bits in the error word are cleared to
zero during reset and after execution of each GEW command.
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 host
controller must still read the return value to ensure proper synchronization.
Parameters:
The 16-bits of the error word are as follows:
BIT
DESCRIPTION
0
ERR_ROL
0: No error
1: Recording too short
1
ERR_OPCODE
0: No opcode errors
1: Illegal opcode. The ISD-SR3000 processor does not recognize the opcode.
2
ERR_COMMAND
0: No command errors
1: Illegal command sequence. The command is not legal in the current state.
3
ERR_PARAM
0: No parameter errors
1: Illegal parameter. The value of the parameter is out of range or is not appropriate
for the command.
4
0 or 1: Bit 4 is reserved and should be disregarded
5
ERR_COMM
0: No communications error
1: host controller MICROWIRE communication error
6
ERR_TIMEOUT
0: No timeout error
1: Time out error. Depending on the ISD-SR3000’s processor’s state, more than
100 milliseconds elapsed between the arrival of two consecutive bytes (for
commands that have parameters).