參數(shù)資料
型號: NSAM265SRA
廠商: National Semiconductor Corporation
英文描述: CompactSPEECH Digital Speech Processors
中文描述: CompactSPEECH數(shù)字語音處理器
文件頁數(shù): 27/58頁
文件大?。?/td> 712K
代理商: NSAM265SRA
3.0 Command Set
(Continued)
R
NSAM265SR
&
Recordtag
NSAM265SF
&
Records a new message with message tag tag. The Com-
pactSPEECH state changes to RECORD. The R command
continues execution until stopped by the S command. Re-
cording can be paused with the PA command, and can be
resumed later with the RES command.
If the memory becomes full, recording stops and EVDMEM-
FULL is set in the status word.
NSAM265SF
EVDMEMFULL is also set in the NSAM265SF if there is
only one AFLASH block available for recording. and the
MESSAGEDSAFE bit in the tag parameter is set.
NSAM265SR
If an attempt to record more than the maximum number of
messages is made, an ERRDINVALID error is reported.
Note:
A time/day stamp is automatically attached to each message. Before
using the R command for the first time, use the SETD command.
Failure to do so results in undefined values for the time and day
stamp.
RDET
NSAM265SR
&
Reset Detectorsdetectors reset mask
NSAM265SF
&
Resets the CompactSPEECH tone and energy detectors
according to the value of thedetectors reset mask parame-
ter. A bit set to 1 in the mask, resets the corresponding
detector. A bit cleared to 0 is ignored.
The 1-byte detectors reset mask is encoded as follows:
Bit 0
Reset the busy and dial tone detectors.
Bits 1–4
Reserved. Must be set to 0.
Bit 5
Reset the no energy (VOX) detector.
Bit 6
Reset the DTMF detector.
Bit 7
Reserved. Must be set to 0.
RES
NSAM265SR
&
Resume
NSAM265SF
&
Resumes the activity that was suspended by the PA com-
mand.
RRAM
NSAM265SR
&
Read RAM
NSAM265SF
&
Returns 32 bytes from the current message. The first RRAM
command issued returns the first 32 bytes of the current
message. Subsequent RRAM commands return the next
following 32 bytes from the message until the end of the
message. The command sequence can be stopped by the S
command.
Notes:
When the end of the message is detected during RRAM execution,
the CompactSPEECH sets the EVDNORMALDEND bit in the status
word. If the current message was created with the WRAM command,
the 32-byte return value should be ignored.
When using WRAM and RRAM to write and read messages of arbi-
trary length, the microcontroller is responsible to mark the actual end
of the message (e.g., with a delimiter string)
The next RRAM command after the end of the message is reached,
starts again from the beginning of the current message.
S
NSAM265SR
&
Stop
NSAM265SF
&
Stops execution of the current command, and switches the
CompactSPEECH to the IDLE state. S may be used to stop
execution of all the Say commands, and the FR, P, R, GT,
RRAM and WRAM commands.
SAS
NSAM265SR
&
Say Argumented SentencesentenceDn arg
NSAM265SF
&
SAS announces sentence number sentenceDn of the cur-
rently selected vocabulary. and passesarg to it.sentenceD
n and arg are each 1-byte long.
When playing is complete. the CompactSPEECH sets the
EVDNORMALDEND bit in the status word, and activates
the MWRQST signal.
If you are using an internal vocabulary, you can synthesize
the two built-in sentences. These sentences are Time and
Day, andYou Have. These sentences are designated 0 and
1, respectively, in the internal vocabulary sentence table.
Sentence 0
If the internal vocabulary is selected, the built-in Time and
Day sentence is synthesized. If an external vocabulary is
selected, it is assumed that the Time and Day sentence is
defined as sentence 0 in the sentence table. For example,
use SAS 0,0 to synthesize the current time and day.
Sentence 1
If the internal vocabulary is selected, the built-in You Have
sentence is synthesized. If an external vocabulary is select-
ed, it is assumed that the You Have sentence is defined as
sentence 1 in the sentence table. For example, use SAS 1,5
to synthesize the sentence You Have 5 Messages.
If sentence n is not defined in the current vocabulary,
ERRDPARAM is set in the error word.
For further information on sentences 0 and 1, and their op-
tions, see Table 1-3.
SB
NSAM265SR
&
Skip BackwardtimeDlength
NSAM265SF
&
Retreats in the current messagetimeDlength units, each of
0.2 seconds duration, and cause message playback to
pause. timeDlength is a 2-byte parameter that may have
any value up to 320, i.e., 64 seconds. The skip accuracy is
0.14 seconds. This command is meaningful only in the
PLAY state. The RES command must be issued to continue
playback.
If the beginning of the message is detected during execu-
tion of the SB command, execution of this command is ter-
minated, the EVDNORMALDEND bit in the status register
is set, the MWRQST signal is activated, and the Compact-
SPEECH switches to the IDLE state. If timeDlength is
greater than 320, ERRDPARAM is set in the error word.
SDET
NSAM265SR
&
Set Detectors MaskdetectorsDmask
NSAM265SF
&
Controls the reporting of detection for tones and VOX ac-
cording to the value of the detectors mask parameter. A bit
set to 1 in the mask, enables the reporting of the corre-
sponding detector. A bit cleared to 0 disables the reporting.
Disabling reporting of a detector does not stop or reset the
detector.
27
相關(guān)PDF資料
PDF描述
NSAM266SVLJ 4 Mbit Uniform Sector, Serial Flash Memory
NSAM266SA 4 Mbit Uniform Sector, Serial Flash Memory
NSAM266SAA 4 Mbit Uniform Sector, Serial Flash Memory
NSB8 BASIC interpreter for Z80 family
NSB9435T1 High Current Bias Resistor Transistors(高強度電流偏置電阻晶體管)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
NSAM265SRAV 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Solid-State Recorder
NSAM265SRAVLJ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Solid-State Recorder
NSAM266SA 制造商:NSC 制造商全稱:National Semiconductor 功能描述:NSAM266SA CompactSPEECHTM Digital Speech Processor with Serial Flash Interface
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