| 数据搜索系统,热门电子元器件搜索 |
|
NSAM266SAA/V 数据表(PDF) 39 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
NSAM266SAA/V 数据表(HTML) 39 Page - National Semiconductor (TI) |
|
39 / 52 page ![]() 20 Software (Continued) Example P Byte sequence Microcontroller 03 CompactSPEECH 03 Description Play the current message PA Pause Suspends the execution of the current R P GT SO SW SS or SAS command The PA command does not change the state of the CompactSPEECH execution can be re- sumed with the RES command Note DTMF and tone detectors remain active during Pause Example PA Byte sequence Microcontroller 1C CompactSPEECH 1C Description Suspend playback of current message PDM Go To Power-down Mode Switches the CompactSPEECH to power-down mode (see Section 133 for details) Sending any command while in power-down mode resets the CompactSPEECH detectors and returns the CompactSPEECH to normal operation mode Example PDM Byte sequence Microcontroller 1A CompactSPEECH 1A Description Put the CompactSPEECH in power-down mode R Record tag Records a new message with message tag tag The CompactSPEECH state changes to RECORD The R com- mand continues execution until stopped by the S command Recording can be paused with the PA command and can be resumed later with the RES command If the memory becomes full recording stops and EV MEMFULL is set in the status word Note A time-and-day stamp is automatically attached to each message Before using the R command for the first time use the SETD com- mand Failure to do so results in undefined values for the time-and- day stamp Example R 000E Byte sequence Microcontroller 0C 00 0E CompactSPEECH 0C 00 0E Description Record a new ICM in mailbox Number 6 in a system where the message tag is encoded as described in the example of the DMS command RDET Reset Detectors detectors reset mask Resets the CompactSPEECH tone and energy detectors according to the value of the detectors reset mask pa- rameter 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 cleared to 0 Bit 5 Reset the no energy (VOX) detector Bit 6 Reset the DTMF detector Bit 7 Reserved Must be cleared to 0 Example RDET 20 Byte sequence Microcontroller 2C 20 CompactSPEECH 2C 20 Description Reset the VOX detector RES Resume Resumes the activity that was suspended by the PA SF or SB commands Example RES Byte sequence Microcontroller 1D CompactSPEECH 1D Description Resume playback which was suspended by either the PA SF or SB command RRAM Read Memory Returns 32 bytes from the current message The first RRAM command 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 com- mand Note 1 Trying to read beyond the end of the message sets the EV NOR- MAL END event and the CompactSPEECH switches to the IDLE state In this case the return value is undefined and should be ig- nored Note 2 When using WRAM and RRAM to write and read messages of arbi- trary length the microcontroller is responsible for marking the actual end of the message (eg 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 Note 3 If the current message is undefined ERR INVALID is reported Example RMEM Data Byte sequence Microcontroller 18 AA AA CompactSPEECH 18 32 bytes of data Description Read 32 bytes from the current message memory S Stop Stops execution of the current command and switches the CompactSpeech to the IDLE state S may be used to stop the execution of WRAM RRAM and all asynchronous com- mands http www nationalcom 39 |
|
链接网址 |
| 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 |