參數(shù)資料
型號(hào): MR80C52TXXX-20SHXXX:R
廠商: ATMEL CORP
元件分類(lèi): 微控制器/微處理器
英文描述: 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CQCC44
封裝: LCC-44
文件頁(yè)數(shù): 15/91頁(yè)
文件大?。?/td> 19688K
27
7707F–AVR–11/10
AT90USB82/162
Figure 6-3.
Example of clock switching with wake-up from Device
6.2.2
Clock switch Algorythm
6.2.2.1
Swith from external clock to RC clock
if (Usb_suspend_detected())
// if (UDINT.SUSPI == 1)
{
Usb_ack_suspend();
// UDINT.SUSPI = 0;
Usb_freeze_clock();
// USBCON.FRZCLK = 1;
Disable_pll();
// PLLCSR.PLLE = 0;
Enable_RC_clock();
// CLKSEL0.RCE = 1;
while (!RC_clock_ready());
// while (CLKSTA.RCON != 1);
Select_RC_clock();
// CLKSEL0.CLKS = 0;
Disable_external_clock();
// CLKSEL0.EXTE = 0;
}
6.2.2.2
Switch from RC clock to external clock
if (Usb_wake_up_detected())
// if (UDINT.WAKEUPI == 1)
{
Usb_ack_wake_up();
// UDINT.WAKEUPI = 0;
Enable_external_clock();
// CLKSEL0.EXTE = 1;
while (!External_clock_ready()); // while (CLKSTA.EXTON != 1);
Select_external_clock();
// CLKSEL0.CLKS = 1;
Enable_pll();
// PLLCSR.PLLE = 1;
Disable_RC_clock();
// CLKSEL0.RCE = 0;
while (!Pll_ready());
// while (PLLCSR.PLOCK != 1);
Usb_unfreeze_clock();
// USBCON.FRZCLK = 0;
}
6.2.3
Clock Selection Register 0 – CLKSEL0
USB
CPU Clock
External
Oscillator
RC oscillator
Ext
RC
Ext
non-Idle
Idle
(Suspend)
non-Idle
3m
s
upstream-resume
2
2 Upstream Resume from device
watchdog wake-up
from power-down
Bit
7
6
543
2
1
0
RCSUT1
RCSUT0
EXSUT1
EXSUT0
RCE
EXTE
-
CLKS
CLKSEL0
Read/Write
R/W
R
R/W
Initial Value
0
See Bit Description
相關(guān)PDF資料
PDF描述
MR80C52XXX-36/883:RD 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQCC44
MD83C154TXXX-20P883 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CDIP40
MR80C52EXXX-36SHXXX:D 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQCC44
MR83C154CXXX-12/883 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQCC44
MR83C154XXX-12/883 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQCC44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MR80C86 制造商:INTERSIL 制造商全稱(chēng):Intersil Corporation 功能描述:CMOS 16-Bit Microprocessor
MR80C86/B 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Harris Corporation 功能描述:Microprocessor, 16 Bit, 44 Pin, Ceramic, LCC
MR80C86-2 制造商:INTERSIL 制造商全稱(chēng):Intersil Corporation 功能描述:CMOS 16-Bit Microprocessor
MR80C86-2/883 制造商:Rochester Electronics LLC 功能描述:- Bulk
MR80C86-2/B 制造商:Intersil Corporation 功能描述:MPU 80C86 16BIT CMOS 8MHZ 44PLCC - Rail/Tube