參數(shù)資料
型號(hào): MD83C154TXXX-20P883
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CDIP40
文件頁(yè)數(shù): 15/91頁(yè)
文件大?。?/td> 19688K
代理商: MD83C154TXXX-20P883
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描述
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
MD83C154CXXX-L16P883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CDIP40
MC80C52TXXX-12P883D 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CDIP40
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MD8412B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:LINK(IEEE 1394)
MD8451H-8/B 制造商:undefined 功能描述:
MD845A-R2 制造商:Black Box Corporation 功能描述:MODEM 202
MD845A-R2-W1 制造商:Black Box Corporation 功能描述:1 YEAR WARRANTY FOR MD845A-R2
MD845A-R2-W3 制造商:Black Box Corporation 功能描述:3 YEAR WARRANTY FOR MD845A-R2