參數資料
型號: AT90PWM1-16SU
廠商: Atmel
文件頁數: 7/90頁
文件大?。?/td> 0K
描述: MCU AVR 8K FLASH 16MHZ 24-SOIC
產品培訓模塊: MCU Product Line Introduction
megaAVR Introduction
標準包裝: 1,116
系列: AVR® 90PWM 照明
核心處理器: AVR
芯體尺寸: 8-位
速度: 16MHz
連通性: SPI
外圍設備: 欠壓檢測/復位,POR,PWM,WDT
輸入/輸出數: 19
程序存儲器容量: 8KB(8K x 8)
程序存儲器類型: 閃存
EEPROM 大小: 512 x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
數據轉換器: A/D 8x10b
振蕩器型: 內部
工作溫度: -40°C ~ 105°C
封裝/外殼: 24-SOIC(0.295",7.50mm 寬)
包裝: 管件
配用: ATSTK600-RC19-ND - STK600 ROUTING CARD AVR
ATSTK600-SOIC-ND - STK600 SOCKET/ADAPTER FOR SOIC
15
4378C–AVR–09/08
AT90PWM1
5.8.1
Interrupt Behavior
When an interrupt occurs, the Global Interrupt Enable I-bit is cleared and all interrupts are dis-
abled. The user software can write logic one to the I-bit to enable nested interrupts. All enabled
interrupts can then interrupt the current interrupt routine. The I-bit is automatically set when a
Return from Interrupt instruction – RETI – is executed.
There are basically two types of interrupts. The first type is triggered by an event that sets the
interrupt flag. For these interrupts, the Program Counter is vectored to the actual Interrupt Vector
in order to execute the interrupt handling routine, and hardware clears the corresponding inter-
rupt flag. Interrupt flags can also be cleared by writing a logic one to the flag bit position(s) to be
cleared. If an interrupt condition occurs while the corresponding interrupt enable bit is cleared,
the interrupt flag will be set and remembered until the interrupt is enabled, or the flag is cleared
by software. Similarly, if one or more interrupt conditions occur while the Global Interrupt Enable
bit is cleared, the corresponding interrupt flag(s) will be set and remembered until the Global
Interrupt Enable bit is set, and will then be executed by order of priority.
The second type of interrupts will trigger as long as the interrupt condition is present. These
interrupts do not necessarily have interrupt flags. If the interrupt condition disappears before the
interrupt is enabled, the interrupt will not be triggered.
When the AVR exits from an interrupt, it will always return to the main program and execute one
more instruction before any pending interrupt is served.
Note that the Status Register is not automatically stored when entering an interrupt routine, nor
restored when returning from an interrupt routine. This must be handled by software.
When using the CLI instruction to disable interrupts, the interrupts will be immediately disabled.
No interrupt will be executed after the CLI instruction, even if it occurs simultaneously with the
CLI instruction. The following example shows how this can be used to avoid interrupts during the
timed EEPROM write sequence..
Assembly Code Example
in
r16, SREG
; store SREG value
cli
; disable interrupts during timed sequence
sbi
EECR, EEMWE
; start EEPROM write
sbi
EECR, EEWE
out
SREG, r16
; restore SREG value (I-bit)
C Code Example
char
cSREG;
cSREG = SREG;
/* store SREG value */
/* disable interrupts during timed sequence */
_CLI();
EECR |= (1<<EEMWE); /* start EEPROM write */
EECR |= (1<<EEWE);
SREG = cSREG;
/* restore SREG value (I-bit) */
相關PDF資料
PDF描述
VI-J0Y-IX-F1 CONVERTER MOD DC/DC 3.3V 49.5W
AT89LP828-20AU MCU 8051 8K FLASH SPI 32TQFP
VI-J0X-IY-F4 CONVERTER MOD DC/DC 5.2V 50W
VI-JTL-IX-B1 CONVERTER MOD DC/DC 28V 75W
AT89LP828-20MH MCU 8051 8K FLASH SPI 32VQFN
相關代理商/技術參數
參數描述
AT90PWM161-16MN 功能描述:8位微控制器 -MCU 16 MHz, QFN, 105oC, Green, RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT90PWM161-16MNR 功能描述:8位微控制器 -MCU 16 MHz, QFN, 105oC, Green, T&R RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT90PWM161-16SN 功能描述:8位微控制器 -MCU 16 MHz, SOIC, 105oC, Green RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT90PWM161-16SNR 功能描述:8位微控制器 -MCU 16 MHz,SOIC,105oC, Green, T&R RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
AT90PWM161OS-16MNR 功能描述:IC MCU 8BIT 16KB FLASH 32QFN 制造商:microchip technology 系列:AVR? 90PWM 照明 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:16MHz 連接性:SPI 外設:欠壓檢測/復位,POR,PWM,WDT I/O 數:20 程序存儲容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 容量:512 x 8 RAM 容量:1K x 8 電壓 - 電源(Vcc/Vdd):2.7 V ~ 5.5 V 數據轉換器:A/D 11x10b, D/A 1x10b 振蕩器類型:內部 工作溫度:-40°C ~ 105°C(TA) 標準包裝:5,000