ST92141 STMicroelectronics, ST92141 Datasheet - Page 65

no-image

ST92141

Manufacturer Part Number
ST92141
Description
8/16-bit Mcu For 3-phase Ac Motor Control
Manufacturer
STMicroelectronics
Datasheet
5.3 CLOCK MANAGEMENT
The various programmable features and operating modes of the CCU are handled by four registers:
– MODER (Mode Register)
– CLKCTL (Clock Control Register)
Figure 28. Clock Control Unit Programming
This is a System Register (R235, Group E).
The input clock divide-by-two and the CPU clock
prescaler factors are handled by this register.
This is a Paged Register (R240, Page 55).
The low power modes and the interpretation of
the HALT instruction are handled by this register.
(CLK_FLAG)
XTSTOP
oscillator
Quartz
CK_AF
Wait for Interrupt and Low Power Modes:
LPOWFI (CLKCTL) selects Low Power operation automatically on entering WFI mode.
WFI_CKSEL (CLKCTL) selects the CK_AF clock automatically, if present, on entering WFI mode.
XTSTOP (CLK_FLAG) automatically stops the Xtal oscillator when the CK_AF clock is present and selected.
pin
CLOCK1
CK_AF
WFI and LPOWFI=1 and WFI_CKSEL = 1
1/2
1/16
(MODER)
DIV2
0
1
CLOCK2
1
0
ST92141 - RESET AND CLOCK CONTROL UNIT (RCCU)
6/8/10/14
MX(1:0)
PLL
x
(PLLCONF)
1/16
DX(2:0)
– CLK_FLAG (Clock Flag Register)
– PLLCONF (PLL Configuration Register)
1/N
This is a Paged Register (R242, Page 55).
This register contains various status flags, as
well as control bits for clock selection.
This is a Paged Register (R246, Page 55).
The PLL multiplication and division factors are
programmed in this register.
CSU_CKSEL
(CLK_FLAG)
0
1
XT_DIV16
1
0
(CLK_FLAG)
CKAF_SEL
(CLKCTL)
CKAF_ST
0
1
CPU Clock Prescaler
Peripherals
INTCLK
and
to
65/179
1

Related parts for ST92141