st10f269z1 STMicroelectronics, st10f269z1 Datasheet - Page 106

no-image

st10f269z1

Manufacturer Part Number
st10f269z1
Description
St10f269 16-bit Mcu With Mac Unit, 256k Byte Flash Memory And 12k Byte Ram
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st10f269z1Q3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st10f269z1Q3
Manufacturer:
ST
0
Part Number:
st10f269z1Q6
Manufacturer:
ST
Quantity:
1 200
Part Number:
st10f269z1Q6
Manufacturer:
STMicroelectronics
Quantity:
10 000
16 - REAL TIME CLOCK
Figure 51 : RTC Block Diagram
16.1 - RTC registers
16.1.1 - RTCCON: RTC Control Register
The functions of the RTC are controlled by the
RTCCON control register. If the RTOFF bit is set,
the RTC dividers and counters clock is disabled
and registers can be written, when the ST10 chip
enters power down mode the clock oscillator will
RTCCON (EC00h)
Notes: 1. As RTCCON register is not bit-addressable, the value of these bits must be read by checking their associated CCxIC register.
106/184
RTCOFF
RTCAEN
RTCAIR
RTCSEN
RTCSIR
15
-
The 2 RTC interrupt signals are connected to Port2 in order to trigger an external interrupt that wake up the chip when in power down
14
-
1
1
2
2
2
13
-
12
-
‘0’: clock oscillator and RTC keep on running even if ST10 in power down mode
‘1’: clock oscillator is switch off if ST10 enters power down mode, RTC dividers and
counters are stopped and registers can be written
RTC Alarm Interrupt ENable
‘0’: RTCAI is disabled
‘1’: RTCAI is enabled, it is generated every n seconds
RTC Alarm Interrupt Request flag (when the alarm is triggered)
‘0’: the bit was reseted less than a n seconds ago
‘1’: the interrupt was triggered
RTC Second interrupt ENable
‘0’: RTCSI is disabled
‘1’: RTCSI is enabled, it is generated every second
RTC Second Interrupt Request flag (every second)
‘0’: the bit was reseted less than a second ago
‘1’: the interrupt was triggered
RTC Switch Off Bit
Programmable ALARM Register
11
-
RTCH
RTCAH
32 bit COUNTER
10
-
AlarmIT
=
9
-
RTCAL
RTCL
8
-
RTCAI RTCSI
RTCOFF
RW
RTCCON
7
XBUS
Basic Clock IT
6
-
Programmable PRESCALER Register
be switch off. The RTC has 2 interrupt sources,
one is triggered every basic clock period, the
other one is the alarm.
RTCCON includes an interrupt request flag and
an interrupt enable bit for each of them. This
register is read and written via the XBUS.
Reload
RTCPH
5
RTCDH
-
20 bit DIVIDER
4
-
RTCPL
RTCDL
RTCAEN RTCAIR RTCSEN RTCSIR
RW
3
Clock Oscillator
RW
2
/64
Reset Value: --00h
RW
1
ST10F269
RW
0

Related parts for st10f269z1