| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
GPES203B Datasheet(PDF) 6 Page - Generalplus Technology Inc. |
|
|
|||||||||||||||||||||||||||||
GPES203B Datasheet(HTML) 6 Page - Generalplus Technology Inc. |
|
6 / 12 page ![]() GPES203B © Generalplus Technology Inc. Proprietary & Confidential 6 JAN. 05, 2009 Version: 1.1 5.3.2. Entry point (Label) The essence utilized in GPES II program is the ENTRY POINT. Each trigger pin is assigned an entry point. Programmers can also define a label (ID) for an entry point. A label can be the combinations of number and character, but not underscore. In addition, a label cannot start with a number. Example SpeechLoop: Sound1+Sound2 JP SpeechLoop When a pin is triggered, the program jumps to its corresponding entry point and starts executing. The entry points are fixed numbers. For instance, “0” is the entry point of TG1 when 1 0. “1” is the entry point of TG2 when 1 0. Programmers can either use Entry Point ID or Entry Point Abbreviator to express an entry point. A summary of entry point for each trigger pin is as follows: Entry Point Entry Point Abbreviator Status 32 POI Power on initialization 0 TG1F TG1 1 0 (falling) 1 TG2F TG2 1 0 (falling) 2 TG3F TG3 1 0 (falling) 3 TG4F TG4 1 0 (falling) 4 TG1R TG1 0 1 (rising) 5 TG2R TG2 0 1 (rising) 6 TG3R TG3 0 1 (rising) 7 TG4R TG4 0 1 (rising) 8 - 254 (except 32) User-Defined entry point or label User-Defined 255 Timer event User-Defined Example: An example is introduced here. Also, all words after semi-colon (;) are for comments only. SPES203B ;body defined EXT_CLK_4M POI: LD EN, 0x00 (4000)_3 LD EN, 0x 03 ;enable TG1 falling and ;TG2 falling END TG1F: Sound1 ;when TG1 changes from ;1 0 (High Low), ;sound1 is played END ;Sleep TG2F: Sound2 ;when TG2 changes from ;1 0, sound2 is played END ;Sleep |
|
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |