Chapter 18 Real-Time Counter With Calendar (RTCV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
646
Freescale Semiconductor
18.4.5 RTC Status Register 1 (RTCS1)
The RTCS1 status register contains six interrupt status flags. When a flag is set and the corresponding
interrupt enable bit is also set, a CPU interrupt request is generated.
2
COMPIE
Compensation cycle Interrupt Enable
— This read/write bit enables compensation cycle interrupts. If
COMPIE is set, then an interrupt is generated when COMPF is set.
0 Compensation cycle interrupt request is disabled.
1 Compensation cycle interrupt request is enabled.
0
TB0IE
4 HZ Time Tick interrupt Enable
— This read/write bit enables 4 Hz time ticket interrupt. If TB0IE is set, then
an interrupt is generated when TB0IF is set.
0 4 Hz time ticket interrupt request is disabled.
1 4 Hz time ticket interrupt request is enabled.
7
6
5
4
3
2
1
0
R
CDLC
0
HRF
MINF
SECF
COMPF
0
TB0F
W
Reset:
0
0
0
0
0
0
0
0
Figure 18-6. RTC Status and Control Register1 (RTCSC1)
Table 18-7. RTCS1 Field Descriptions
Field
Description
7
CDLC
Compensation Data Load Cycle
— This status bit is set automatically when compensation circuit start load
RTCMOD and RTCCCR to internal buffered register and cleared automatically when finished. If this bit is set,
write to RTCMOD and RTCCCR is blocked. Write to this bit has no effect.
0 write to RTCMOD or RTCCCR is allowed.
1 write to RTCMOD and RTCCR is blocked.
5
HRF
Hour Flag
— This status bit is set on every increment of the hour counter. When the HRIE bit is set, HRF
generates a CPU interrupt request. Writing a logic 0 has no effect. Writing a logic 1 clears the bit and the hour
interrupt request. Reset clears HRF to 0.
0 No hour counter increment.
1 Hour counter increment.
4
MINF
Minute Flag
— This status bit is set on every increment of the minute counter. When the MINIE bit is set, MINF
generates a CPU interrupt request. Writing a logic 0 has no effect. Writing a logic 1 clears the bit and the minute
interrupt request. Reset clears MINF to 0.
0 No minute counter increment.
1 Minute counter increment.
3
SECF
Second Flag
— This status bit is set on every increment of the second counter. When the SECIE bit is set,
SECF generates a CPU interrupt request. Writing a logic 0 has no effect. Writing a logic 1 clears the bit and the
second interrupt request. Reset clears SECF to 0.
0 No second counter increment.
1 Second counter increment.
Table 18-6. RTCCTL4 Field Descriptions (continued)
Field
Description
Содержание MC9S12ZVHL32
Страница 21: ...S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 Freescale Semiconductor 21 PAGE INTENTIONALLY LEFT BLANK...
Страница 22: ...S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 22 Freescale Semiconductor PAGE INTENTIONALLY LEFT BLANK...
Страница 686: ...Chapter 20 ECC Generation module SRAM_ECCV1 S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 686 Freescale Semiconductor...
Страница 752: ...Chapter 22 Supply Voltage Sensor BATSV2 S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 752 Freescale Semiconductor...
Страница 774: ...Chapter 23 LIN Physical Layer S12LINPHYV2 S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 774 Freescale Semiconductor...
Страница 788: ...Appendix A MCU Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 788 Freescale Semiconductor...
Страница 794: ...Appendix B ADC Electricals S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 794 Freescale Semiconductor...
Страница 798: ...Appendix D IRC Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 798 Freescale Semiconductor...
Страница 802: ...Appendix F MSCAN Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 802 Freescale Semiconductor...
Страница 806: ...Appendix G NVM Electrical Parameters S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 806 Freescale Semiconductor...
Страница 810: ...Appendix H BATS Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 810 Freescale Semiconductor...
Страница 816: ...Appendix K OSC32K Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 816 Freescale Semiconductor...
Страница 822: ...Appendix L SPI Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 822 Freescale Semiconductor...
Страница 826: ...Appendix M LINPHY Electrical Specifications S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 826 Freescale Semiconductor...
Страница 829: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 830 Freescale Semiconductor O 1 144 LQFP...
Страница 830: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 Freescale Semiconductor 831...
Страница 831: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 832 Freescale Semiconductor...
Страница 832: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 Freescale Semiconductor 833 O 2 100 LQFP...
Страница 833: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 834 Freescale Semiconductor...
Страница 834: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 Freescale Semiconductor 835...
Страница 835: ...Appendix O Package Information S12ZVHY S12ZVHL Family Reference Manual Rev 1 05 836 Freescale Semiconductor...