ST72324xx-Auto
On-chip peripherals
10.2.2
Caution:
Clock-out capability
The clock-out capability is an alternate function of an I/O port pin that outputs the fCPU clock
to drive external devices. It is controlled by the MCO bit in the MCCSR register.
When selected, the clock out pin suspends the clock during Active Halt mode.
10.2.3 Real-time clock (RTC) timer
The counter of the real-time clock timer allows an interrupt to be generated based on an
accurate real-time clock. Four different time bases depending directly on fOSC2 are available.
The whole functionality is controlled by four bits of the MCCSR register: TB[1:0], OIE and
OIF.
lete Product(s) 10.2.4
When the RTC interrupt is enabled (OIE bit set), the ST7 enters Active Halt mode when the
HALT instruction is executed. See Section 8.4: Active Halt and Halt modes on page 55 for
more details.
Beeper
The beep function is controlled by the MCCBCR register. It can output three selectable
frequencies on the Beep pin (I/O port alternate function).
Figure 33. Main clock controller (MCC/RTC) block diagram
t(s) - Obso MCCBCR
BC1 BC0
Beep signal
selection
Beep
MCO
Obsolete Produc fOSC2
Div 64
12-bit MCC RTC
counter
To
Watchdog
timer
MCO CP1 CP0 SMS TB1 TB0 OIE OIF
MCCSR
Div 2, 4, 8, 16 1
0
MCC/RTC interrupt
fCPU
CPU clock
to CPU and
peripherals
Doc ID 13841 Rev 1
71/193