Electronic Components Datasheet Search
  English  ▼

X  

AN3114 Datasheet(PDF) 38 Page - STMicroelectronics

Part # AN3114
Description  This application note describes techniques for connecting
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3114 Datasheet(HTML) 38 Page - STMicroelectronics

Back Button AN3114 Datasheet HTML 34Page - STMicroelectronics AN3114 Datasheet HTML 35Page - STMicroelectronics AN3114 Datasheet HTML 36Page - STMicroelectronics AN3114 Datasheet HTML 37Page - STMicroelectronics AN3114 Datasheet HTML 38Page - STMicroelectronics AN3114 Datasheet HTML 39Page - STMicroelectronics AN3114 Datasheet HTML 40Page - STMicroelectronics AN3114 Datasheet HTML 41Page - STMicroelectronics AN3114 Datasheet HTML 42Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 43 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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