| Electronic Components Datasheet Search |
|
AN2556 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2556 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 35 page ![]() Modified features AN2556 14/35 In the ST10F273Z4 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 the ST10F269Zx code: RTCCON &= 0xFFFE;// Clear RTCSIR flag by the following code for ST10F273Z4: RTCCON |= 0x0001;// Write 1 into RTCSIR flag to clear it ST10F269Zx: RTCCON (F1C4h/E2h) ESFR Reset value: --00h 15 14 13 12 11 10 9 8 7654 3210 Reserved RTC OFF Reserved RTC AEN RTC AIR RTC SEN RTC SIR - RW - RW RW RW RW ST10F273Z4: RTCCON (F1C4h/E2h) ESFR Reset value: 0000h 15 14 13 12 11 10 9 8 7654 3210 Reserved OFF 32 OSC RTC OFF Reserved RTC AEN RTC AIR RTC SEN RTC SIR - RW RO RW - RW RW RW RW Table 9. RTCCON register bits Bit Function Reset value RTCSIR RTC Second Interrupt Request flag (every basic clock unit) 0: The bit is reset less than a Basic Clock unit ago. 1: Interrupt is 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 is reset less than a Basic Clock unit ago. 1: Interrupt is 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 run during Power Down mode. 1: Clock oscillator is switched off during Power Down mode; RTC dividers and counters are stopped and registers can be written. 0 |
|
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 |