參數(shù)資料
型號(hào): MQ80C154-36P883
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, 36 MHz, MICROCONTROLLER, CQFP44
封裝: CERAMIC, QFP-44
文件頁(yè)數(shù): 15/91頁(yè)
文件大小: 19688K
代理商: MQ80C154-36P883
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描述
S80C32E-30SHXXX:R 8-BIT, 30 MHz, MICROCONTROLLER, PQCC44
S80C52TXXX-30:RD 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PQCC44
MF180C51T-20R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP44
MR80C52TXXX-12/883:D 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQCC44
MD80C52XXX-12P883D 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CDIP40
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MQ80C154-L16 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MQ80C186-10/BYA 制造商:Rochester Electronics LLC 功能描述:
MQ80C186-12/BYA 制造商:Rochester Electronics LLC 功能描述:
MQ80C186-12/BYC 制造商:Rochester Electronics LLC 功能描述:
MQ80C186-12/R 制造商:Rochester Electronics LLC 功能描述:- Bulk