參數(shù)資料
型號(hào): MR83C154CXXX-12/883
廠商: ATMEL CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQCC44
封裝: LCC-44
文件頁數(shù): 15/91頁
文件大?。?/td> 19688K
代理商: MR83C154CXXX-12/883
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描述
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
MQ80C52TXXX-36P883 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQFP44
MQ83C154TXXX-L16/883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MR83C154-L16 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MR83C154T-12 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MR83C154T-16 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MR83C154T-20 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller
MR83C154T-25 制造商:TEMIC 制造商全稱:TEMIC Semiconductors 功能描述:CMOS 0 to 36 MHz Single Chip 8-bit Microcontroller