| 数据搜索系统,热门电子元器件搜索 |
|
NSAM266SAA/V 数据表(PDF) 38 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
NSAM266SAA/V 数据表(HTML) 38 Page - National Semiconductor (TI) |
|
38 / 52 page ![]() 20 Software (Continued) Example GTM FFCE 003F 0 Byte sequence Microcontroller 09 FF CE 00 3F 00 AA CompactSPEECH 09 FF CE 00 3F 00 01 Description Select the oldest of the new ICMs in mailbox number 6 to be the current message For a system where the message tag is encoded as described in the example for the DMS command The CompactSPEECH return value indicates that there is such a message The following pseudo-code demonstrates how to play all new ICMs The messages are marked after being played In mailbox number 6 Return val e GTM (FFCE 003F 1) While (ReturnVal 44 TRUE) Begin P( ) * Play * Message tag 4 GMT( ) * get message tag * SMT(FFF7) * Mark the message as ‘old’ * GTM(FFCE 003F 1) * get next with same tag * End INIT Initialize System Execute this command after the CompactSPEECH has been configured (see CFG and GCFG commands) Performs a soft reset of the CompactSPEECH as follows Initializes the message directory information Messages are not deleted To delete the messages use the DM and DMS commands Sets the detectors mask to 0 Sets the volume level that is controlled by the VC com- mand to 0 Sets the playback speed to normal (0) Switches to the IDLE state Activates (clears to 0) the MWRDY signal Initializes the tone detectors The current message is undefined after INIT execution The tunable parameters are not affected by this command They are set to their default values only during RESET Example INIT Byte sequence Microcontroller 13 CompactSPEECH 13 Description Initialize the CompactSPEECH INJ Inject IVS data n byte1 byten Injects vocabulary data of size n bytes to good flash blocks This command programs flash devices on a production line with IVS vocabulary data It is optimized for speed all CompactSPEECH detectors are suspended during execu- tion of the command Use the CVOC command to check whether programming was successful If there is not enough memory space for the vocabulary data ERR PARAM is set in the error word and execution stops Flash blocks that include IVS data cannot be used for re- cording even if only one byte of the block contains IVS data (eg if the vocabulary size is 4k a 100 bytes two blocks of the flash are not available for message recording) Example INJ 128 Data Byte sequence Microcontroller 29 00 00 00 80 Vocabulary Data CompactSPEECH 29 00 00 00 80 Echo of Data Description Inject 128 bytes of vocabulary data MR Memory Reset Erases all good flash blocks and initializes the Compact- SPEECH (ie does exactly what the INIT command does) Bad blocks and blocks which are used for IVS vocabularies are not erased Note The command erases all messages and should be used with care Example MR Byte sequence Microcontroller 2A CompactSPEECH 2A Description Erase all Serial Flash blocks P Playback Begins playback of the current message The Compact- SPEECH state changes to PLAY When playback is com- plete the CompactSPEECH sets the EV NORMAL END bit in the status word and activates (clears to 0) the MWRQST signal Playback can be paused with the PA com- mand and can be resumed later with the RES command If the current message is undefined ERR INVALID is re- ported http www nationalcom 38 |
|
链接网址 |
| 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 |