參數(shù)資料
型號: MC80C32-16/883
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, 16 MHz, MICROCONTROLLER, CDIP40
文件頁數(shù): 10/132頁
文件大?。?/td> 10886K
代理商: MC80C32-16/883
18
7593L–AVR–09/12
AT90USB64/128
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.
When using the SEI instruction to enable interrupts, the instruction following SEI will be exe-
cuted before any pending interrupts, as shown in this example.
Assembly code example
in
r16, SREG
; store SREG value
cli
; disable interrupts during timed sequence
sbi
EECR, EEMPE
; start EEPROM write
sbi
EECR, EEPE
out
SREG, r16
; restore SREG value (I-bit)
C code example
char
cSREG;
cSREG = SREG; /* store SREG value */
/* disable interrupts during timed sequence */
__disable_interrupt();
EECR |= (1<<EEMPE); /* start EEPROM write */
EECR |= (1<<EEPE);
SREG = cSREG; /* restore SREG value (I-bit) */
相關PDF資料
PDF描述
MR80C52XXX-16P883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQCC44
MR80C32-25/883 8-BIT, 25 MHz, MICROCONTROLLER, CQCC44
MEGA32C1-15AZ 8-BIT, FLASH, 16 MHz, RISC MICROCONTROLLER, PQFP32
MS80C51C-30R 8-BIT, MROM, 30 MHz, MICROCONTROLLER, PQCC44
MQ80C52EXXX-16P883R 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
相關代理商/技術參數(shù)
參數(shù)描述
MC-80C32E-30 制造商:AIMTEC 制造商全稱:AIMTEC 功能描述:Rad. Tolerant 8-bit ROMless Microcontroller
MC-80C32E-30-E 制造商:AIMTEC 制造商全稱:AIMTEC 功能描述:Rad. Tolerant 8-bit ROMless Microcontroller
MC80D21000G 制造商:COR 功能描述:RN
MC80F0104 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0104B 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS