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

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.5.4
6.5.5
7734M–AVR–03/10
MCU Control Register – MCUCR
CLKCSR – Clock Control & Status Register
• Bit 1 – PLLE: PLL Enable
When the PLLE is set, the PLL is started and if not yet started the internal RC Oscillator is started as PLL
reference clock. If PLL is selected as a system clock source the value for this bit is always 1.
• Bit 0 – PLOCK: PLL Lock Detector
When the PLOCK bit is set, the PLL is locked to the reference clock, and it is safe to enable CLK
PSC. The time to lock is specified in
Notes:
• Bit 2– CKRC81: Frequency Selection of the calibrated 8/1 MHz RC Oscillator
Thanks to CKRC81 in MCUCR Sfr, the typical frequency of the calibrated RC oscillator is changed.
Note:
Note:
Note:
• Bit 7 – CLKCCE: Clock Control Change Enable
The CLKCCE bit must be written to logic one to enable change of the CLKCSR bits. The CLKCCE bit is
only updated when the other bits in CLKCSR are simultaneously written to zero. CLKCCE is cleared by
hardware four cycles after it is written or when the CLKCSR bits are written. Rewriting the CLKCCE bit
within this time-out period does neither extend the time-out period, nor clear the CLKCCE bit.
• Bits 6:5 – Res: Reserved Bits
These bits are reserved bits in the AT90PWM81 and will always read as zero.
• Bits 4 – CLKRDY: Clock Ready Flag
This flag is the output of the ‘Clock Availability’ logic.
This flag is reset once the ‘Request for Clock Availability’ command is entered.
It is set when ‘Clock Availability’ logic confirms that the (selected) clock is running and is stable. The
delay from the request and the flag setting is not fixed, it depends on the clock start-up time, the clock
frequency and, of course, if the clock is alive. The user’s has itself to do the difference between
‘no_clock_signal’ and ‘clock_signal_not_yet_available’.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
– When the CKRC81 bit is written to zero, the RC oscillator frequency is 8 MHz.
– When the CKRC81 bit is written to one, the RC oscillator frequency is 1 MHz.
1. V alue is Initialized with the fuse CKSEL2
2. Value is initialized with fuses CKSEL3..0 (1 when CKSEL3..0= 0110, 0 in all other cases)
This be only can be changed only when the RC oscillator is enabled.
When the RC oscillator is used as the PLL source, CKRC81 must not be written to 1.
If the RC oscillator is disabled, this bit is cleared by hardware
CLKCCE
7
R
0
R/W
7
0
6
R
0
R
6
0
5
R
0
Table 6-9 on page
R
5
0
CLKRDY
4
PUD
R/W
0
R
4
0
34.
3
RSTDIS
R/W
0/1
CLKC3
R/W
(1)
3
0
2
CKRC81
R/W
0
CLKC2
R/W
2
0
1
IVSEL
R/W
0
CLKC1
R/W
AT90PWM81
1
0
0
IVCE
R/W
0
CLKC0
R/W
0
0
MCUCR
CLKCSR
PLL
for
41

Related parts for at90pwm81-16se