전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3133 데이터시트(PDF) 37 Page - STMicroelectronics

부품명 AN3133
상세설명  A real-time clock is a computer clock that keeps track of the current time
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3133 데이터시트(HTML) 37 Page - STMicroelectronics

Back Button AN3133 Datasheet HTML 33Page - STMicroelectronics AN3133 Datasheet HTML 34Page - STMicroelectronics AN3133 Datasheet HTML 35Page - STMicroelectronics AN3133 Datasheet HTML 36Page - STMicroelectronics AN3133 Datasheet HTML 37Page - STMicroelectronics AN3133 Datasheet HTML 38Page - STMicroelectronics AN3133 Datasheet HTML 39Page - STMicroelectronics AN3133 Datasheet HTML 40Page - STMicroelectronics AN3133 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 43 page
background image
AN3133
Application examples
Doc ID 16956 Rev 5
37/43
6.5
Example 5: Chronometer
This example provides a short description of how to use the RTC peripheral's calendar (sub-
seconds, seconds, minutes, hours) and Tamper features to simulate an accurate
chronometer with 9 counter records, and Start/Pause/Resume actions.
This example is delivered within the STM8L05x/STM8L15x/STM8L16x/STM8AL31x/
STM8AL3Lx standard peripheral library available from
STM8l15x_StdPeriph_Lib\Project\STM8L15x_StdPeriph_Examples\RTC\RTC_ChronoSub
Second\
In this example an interactive human interface is developed using STM8L1528-EVAL's LCD
and joystick to allow user to use the chronometer with the real-time display.
After startup, a default 00:00:00:000 chronometer counter is displayed on the LCD, which
correspond to [Hours]:[minutes]:[seconds]:[milliseconds].
User can manipulate the chronometer features using the Tamper, Key and Joystick
navigation buttons.
The buttons actions are described in the following table.
The flowcharts below explain the example procedures.
Table 19.
Buttons and corresponding actions
Button
Action
Joystick SEL
To Start/Pause/Resume the chronometer counter
Joystick DOWN
To enter to the “Recorded Times menu”, where you can navigate using the
Joystick RIGHT/LEFT buttons.
Joystick UP
to exit from the “Recorded Times menu”
TAMPER
Keep it pressed during 2sec to enter to the “reset menu” where you can
select using RIGHT/LEFT buttons to clear the counter and/or the recorded
times.
Note: During Pause, Pressing on Tamper Button does not have any effect.
Joystick LEFT
Joystick RIGHT
Used in the “reset menu” to clear the counter and/or the recorded times.
KEY
To store the current chronometer counter and rank.
Note: 9 records can be performed.



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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