| Zakładka z wyszukiwarką danych komponentów |
|
AN3133 Arkusz danych(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3133 Arkusz danych(HTML) 33 Page - STMicroelectronics |
|
33 / 43 page ![]() AN3133 Application examples Doc ID 16956 Rev 5 33/43 Figure 18. LCD display description User can manipulate the application using the Tamper, Key and Joystick navigation buttons, the buttons actions are described in the following table. To observe the exact time spent between the Tamper 1 button press and the Tamper 1 Interrupt, the user must simultaneously press the Key button and Tamper button until LED3 switches on; meaning that Tamper1 Interrupt occurred. Then the User can check the delay value between the Tamper 1 button press and the Tamper 1 Interrupt. This example is delivered within the STM8L05x/STM8L15x/STM8L16x/STM8AL31x/ STM8AL3Lx standard peripheral library available from STM8l15x_StdPeriph_Lib.zip\Project\STM8L15x_StdPeriph_Examples\RTC\RTC_Tamper1 Detection\ The flowcharts below explain the example procedures. Table 18. Buttons and corresponding actions Button Action Joystick UP To increase the delay between the Tamper 1 button press and the Tamper 1 Interrupt. Four Pre-configurations can be selected: 0s / 1s / 3s / 7s. Note: 0s means that a tamper interrupt occurs between 0s:000 and 0s:999. Joystick DOWN Same as the Joystick UP, but to decrease instead on increasing the delay between the Tamper 1 button press and the Tamper 1 Interrupt. KEY Store the current Time and display it on “saved time” LCD side TAMPER If it is kept pressed during the delay (selected using Joystick UP or DOWN buttons), the Tamper Interrupt occurs, LED3 is On, the MCU enters in the halt mode and LCD display is frozen. When the CPU exits Halt mode, LED3 is off. Note: To exit from Halt mode, press the Key button (Joystick UP or DOWN can also be used). TMP IT after 3 s 06:336 07:963 Tamper Filter current configuration Example: On pressing on Tamper Button, a tamper interrupt will occur within a period between 3s:000 and 3s:999 Current Time (seconds and milliseconds) Saved Time (seconds and milliseconds) The time is saved when the Key button is pressed. Example: The key button was pressed at 06:336. ExTamper_01 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |