st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 54

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
Supply, reset and clock management
6.6
6.6.1
6.6.2
Caution:
6.6.3
6.6.4
54/371
Main clock controller with real time clock and beeper
(MCC/RTC)
The main clock controller consists of three different functions:
Each function can be used independently and simultaneously.
Programmable CPU clock prescaler
The programmable CPU clock prescaler supplies the clock for the ST7 CPU and its internal
peripherals. It manages the Slow power saving mode (see
details).
The prescaler selects the f
MCCSR register: CP[1:0] and SMS.
Clock-out capability
The clock-out capability is an alternate function of an I/O port pin that outputs a f
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.
Real time clock timer (RTC)
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 f
The whole functionality is controlled by four bits of the MCCSR register: TB[1:0], OIE and
OIF.
When the RTC interrupt is enabled (OIE bit set), the ST7 enters Active Halt mode when the
HALT instruction is executed. See
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).
a programmable CPU clock prescaler,
a clock-out signal to supply external devices,
a real time clock timer with interrupt capability.
CPU
main clock frequency and is controlled by three bits in the
Section 8.4: Active Halt and Halt modes
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto,
Section 8.2: Slow mode
OSC2
for more details.
are available.
OSC2
for more
clock

Related parts for st7pmc2s6