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

X  

AN2549 데이터시트(PDF) 11 Page - STMicroelectronics

부품명 AN2549
상세설명  Porting an application from the ST10F269Zx to the ST10F272Z2
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2549 데이터시트(HTML) 11 Page - STMicroelectronics

Back Button AN2549 Datasheet HTML 7Page - STMicroelectronics AN2549 Datasheet HTML 8Page - STMicroelectronics AN2549 Datasheet HTML 9Page - STMicroelectronics AN2549 Datasheet HTML 10Page - STMicroelectronics AN2549 Datasheet HTML 11Page - STMicroelectronics AN2549 Datasheet HTML 12Page - STMicroelectronics AN2549 Datasheet HTML 13Page - STMicroelectronics AN2549 Datasheet HTML 14Page - STMicroelectronics AN2549 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 33 page
background image
AN2549
Modified features
11/33
The handling of the RTCAIR and RTCSIR flags (bits 2 and 0 of the RTCCON register,
respectively) has also changed:
●
In the ST10F272Z2, these flags are cleared by writing them to ‘1’
●
In the ST10F269Zx, these flags are cleared by writing them to ‘0’
As these flags must be cleared by software when entering the corresponding interrupt
service routine, a change in the application code is needed.
Example for RTCSIR flag
Replace ST10F269Zx code:
RTCCON &= 0xFFFE;// Clear RTCSIR flag
Reserved
OFF
32
OSC
RTC
OFF
Reserved
RTC
AEN
RTC
AIR
RTC
SEN
RTC
SIR
-R/W
RO
R/W
-
R/W
R/W
R/W
R/W
Table 9.
RTCCON register description
Bit
Function
Reset
value
RTCSIR
RTC Second Interrupt Request flag (every basic clock unit)
0: The bit was reset less than a Basic Clock unit ago.
1: The interrupt was triggered.
0
RTCSEN
RTC Second Interrupt Enable
0: RTC_SecIT is disabled.
1: RTC_SecIT is enabled; it is generated every basic clock unit.
0
RTCAIR
RTC Alarm Interrupt Request flag (when the alarm is triggered)
0: The bit was reset less than n Basic Clock units ago.
1: The interrupt was triggered.
0
RTCAEN
RTC Alarm Interrupt Enable
0: RTC_alarmIT is disabled.
1: RTC_alarmIT is enabled.
0
RTCOFF
RTC Switch Off bit
0: Clock oscillator and RTC keep on running even if ST10 is in Power Down
mode.
1: Clock oscillator is switched off when ST10 enters Power Down mode.
Additionally, when setting this bit, RTC dividers and counters are stopped
and registers can be written.
0
OSC
Oscillator Selection Flag
0: The clock oscillator used by the RTC is the main oscillator.
1: The clock oscillator used by the RTC is the low power 32 kHz oscillator.
0
OFF32
32 kHz Oscillator Switch Off bit
0: The 32 kHz oscillator is enabled. The RTC is clocked with 32 kHz if there
is a valid signal.
1: The 32 kHz oscillator is disabled. The RTC is clocked by the main
oscillator.
0



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


데이터시트 다운로드

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