參數(shù)資料
型號(hào): S80C52EXXX-12D
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 12 MHz, MICROCONTROLLER, PQCC44
文件頁數(shù): 15/91頁
文件大?。?/td> 19688K
代理商: S80C52EXXX-12D
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描述
MQ80C32E-12SHXXX:RD 8-BIT, 12 MHz, MICROCONTROLLER, CQFP44
MR80C32-36:D 8-BIT, 36 MHz, MICROCONTROLLER, CQCC44
MR80C52EXXX-30/883:R 8-BIT, MROM, 30 MHz, MICROCONTROLLER, CQCC44
MR80C32-12P883D 8-BIT, 12 MHz, MICROCONTROLLER, CQCC44
MQ80C32-16SHXXX:RD 8-BIT, 16 MHz, MICROCONTROLLER, CQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S80C52T-12 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
S80C52T-16 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
S80C52T-20 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
S80C52T-25 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
S80C52T-30 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller