at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 35

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
6.3
6.3.1
6.3.2
6.3.3
7734M–AVR–03/10
Dynamic Clock Switch
Features
Fuses substitution
Clock Source Selection
AT90PWM81 provides a powerful dynamic clock switch that allows users to turn on and off clocks of the
device on the fly. The built-in de-glitching circuitry allows clocks to be enabled or disabled asynchro-
nously. This enables efficient power management schemes to be implemented easily and quickly. In a
safety application, the dynamic clock switch circuit may continuously monitor the external clock fails.
The AT90PWM81 provides one register for Clock Fuse substitution (CLKSELR) and one register to con-
trol the dynamic clock switch circuit (CLKCSR). The watchdog is used to monitor external clock source if
needed. The control of the dynamic clock switch circuit must be supervised by software. The low level
control is performed by hardware through the CLKCSR register. The features are:
During reset, bits of the Low Fuse Byte are latched in the CLKSELR register. The content of this register
can operate as well as the Low Fuse Byte. CKSEL3..0, SUT1..0 and CKOUT fuses are substituted as
shown in
The available codes of clock source is given are in
Figure 6-5.
• Safe commands, to avoid unintentional commands, a special write procedure must be followed to
• Exclusive action, the actions are controlled by a decoding (command table). The main commands of
• Status, a status on the availability of the enabled clock and the code recovering of clock source used to
change the CLKCSR register bits
the dynamic clock switching are:
drive the system clock are provided.
– ‘Disable Clock Source’,
– ‘Enable Clock Source’,
– ‘Request for Clock Availability’,
– ‘Clock Source Switching’,
– ‘Recover System Clock Source’.
Figure 6-5 on page 35
Fuse Low Byte
SCLKRq
Fuses substitution and Clock Source Selection
Fuse:
(
*
)
: Command of Clock Control & Status Register
SCLKRq
Reset
(
*
)
and replaced respectively by CSEL3..0, CSUT1:0 and COUT.
CLKSELR
(See “CLKCSR – Clock Control & Status Register” on page
Register:
CKSEL[3..0]
SUT[1..0]
Table 6-1 on page
SEL-0
SEL-1
SEL-2
SEL-n
CKOUT
EN-0
EN-1
EN-2
EN-n
28.
Configuration
Configuration
AT90PWM81
Selected
Current
Switch
Clock
41.):
35

Related parts for at90pwm81-16se