| Electronic Components Datasheet Search |
|
AN3114 Datasheet(PDF) 38 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3114 Datasheet(HTML) 38 Page - STMicroelectronics |
|
38 / 43 page ![]() LCD segment drive firmware AN3114 38/43 Doc ID 16829 Rev 3 5.1.1 Libraries directory The Libraries directory contains the subdirectories and files that make up the core of the LCD segment drive firmware: ● inc subdirectory contains the firmware library header files. ● src subdirectory contains the firmware library source files. 5.1.2 Projects directory The Projects directory includes the LCD_SegmentsDrive subdirectory, which contains the subdirectories and files that make up the core of the LCD glass interface application example: ● inc subdirectory contains the example header files. ● src subdirectory contains the example source files. ● project subdirectory contains the projects used to compile the firmware files. 5.1.3 Utilities directory The Utilities directory contains the subdirectories and files used to control the STM8L1526- EVAL and STM8L1528-EVAL board hardware. 5.2 Firmware description The real-time clock (RTC) provides a set of continuously running counters that can be used to implement a clock-calendar function. The counters values can be written to set the current time of the system. After the evaluation board is powered up, the default time (00:00:00) is displayed on the LCD glass and the first digit of the hour field can be changed. To set the time: 1. Press the Key button to increment the active digit. When the Key button is released the selected value is stored and the next digit can be changed. The digit allowed values depend on the corresponding field (hour, minute or seconds). 2. Repeat these two steps for the six digits. Once all the digits are set, the RTC calendar registers are configured, and the current time is displayed on the LCD. The application enters Active-halt mode and is woken up by the RTC wakeup interrupt to display the current time. It then goes back to the Active-halt mode. This operation is repeated infinitely. Note: Time setting is made only once after the application startup. The application must be restarted to modify the time. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |