| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
GPES282A bảng dữ liệu(PDF) 6 Page - Generalplus Technology Inc. |
|
|
|||||||||||||||||||||||||||||
GPES282A bảng dữ liệu(HTML) 6 Page - Generalplus Technology Inc. |
|
6 / 15 page ![]() GPES282A © Generalplus Technology Inc. Proprietary & Confidential 6 MAR. 07, 2008 Version: 1.1 5.4.1.5. Low voltage reset(LVR) The GPES282A provides Low Voltage Reset (LVR) function that will reset all functions into the initial state if the VDD power drops below 2.1V for longer than two T7 clock cycles(T7=CPU CLK*128). As a result, it prevents the GPES282A entering into a malfunction state. The LVR function is the same as Power ON Reset. For The Low Voltage Reset can be enabled or disabled in a program. This option must be defined in definition area. LVR_ENABLE; enable LVR_DISABLE; disable 5.4.1.6. Infrared Red (IR) function Some IR parameters must be defined in Definition Area before using IR function. We will only introduce the commands here. For more details on how to use these commands in your program, please refer to GPES II Programming Guide. 5.4.2. Entry point (Label) The essence applied in GPES II is the ENTRY POINT. Each trigger pin is assigned an entry point. Instructions must be located in a new line under its entry point. Any instruction located with the same line as entry point will cause error when compiling. Users 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 can not 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 values. For instance, ‘0’ is the entry point of TG1 when 1 0. ‘1’ is the entry point of TG2 when 1 0. Users 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 ~ 253 (except 32) User-Defined entry point or label User-Defined 254 Speech event User-Defined 255 Timer event User-Defined Example: An example is introduced here. Also, all words after semi-colon (;) are for comments only. SPES240B ;body defined EXT_CLK_4M LVR_Disable 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 |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |