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

X  

AN3133 데이터시트(PDF) 6 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) 6 Page - STMicroelectronics

Back Button AN3133 Datasheet HTML 2Page - STMicroelectronics AN3133 Datasheet HTML 3Page - STMicroelectronics AN3133 Datasheet HTML 4Page - STMicroelectronics AN3133 Datasheet HTML 5Page - STMicroelectronics AN3133 Datasheet HTML 6Page - STMicroelectronics AN3133 Datasheet HTML 7Page - STMicroelectronics AN3133 Datasheet HTML 8Page - STMicroelectronics AN3133 Datasheet HTML 9Page - STMicroelectronics AN3133 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 43 page
background image
Real-time clock overview
AN3133
6/43
Doc ID 16956 Rev 5
1
Real-time clock overview
The real-time clock (RTC) embedded in the STM8L05xxx/STM8L101xx/STM8L15xxx/
STM8L162xx/STM8AL31xx/STM8AL3Lxx microcontrollers (referred to in this document as
STM8L/STM8AL) can be used to provide a full-featured calendar, alarm and periodic
wakeup unit.
Additional features are available on medium+ and high density devices, such as calendar
synchronization, digital calibration and advanced tamper detection.
Refer to Section 4: RTC features summary for the complete list of features available on
medium, medium+ and high density devices.
1.1
RTC calendar
A calendar keeps track of the time (hours, minutes, seconds and sub-seconds) and date
(day, week, month, year). The STM8L/STM8AL RTC calendar offers many features to easily
configure and display the calendar data fields:
Calendar with seconds, minutes, hours in 12-hour or 24-hour format, day of the week
(day), day of the month (date), month, and year.
Calendar in BCD (binary-coded decimal) format
Sub-second field in binary format, on medium+ and high density devices
Automatic management of 28-, 29- (leap year), 30-, and 31-day months
Daylight saving time adjustment programmable by software
Figure 1.
STM8L/STM8AL RTC calendar fields
1.
RCT_DRx, RTC_TRx and RTC_SSRx are RTC registers.
2.
RTC_SSRx registers are read only.
A software calendar can be a kind of software counter (usually 32 bits long) which
represents the number of seconds. Software routines convert the counter value to hours,
minutes, day of the month, day of the week, month and year. These data can be converted
to BCD format and displayed on a standard LCD which is particularly useful in countries
where the hours are displayed in 12-hour format plus an AM/PM indicator (see Figure 2).
Conversion routines use significant program memory space and are CPU-time consuming
which may be critical in certain real-time applications.
When using the STM8L/STM8AL RTC calendar, software conversion routines are no longer
needed because their functions are performed by hardware.
RTC_DR1
RTC_DR3
12h or 24h
format
Date
ai17262
RTC_DR2
RTC_TR3
RTC_TR2
Week date
Month
Year
- AM
- PM
hh
mm
s
RTC_TR1
DATE
TIME
ss
RTC_SSRx



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