參數(shù)資料
型號(hào): MR80C52CXXX-36
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQCC44
文件頁數(shù): 18/33頁
文件大?。?/td> 25028K
代理商: MR80C52CXXX-36
114
8272E–AVR–04/2013
ATmega164A/PA/324A/PA/644A/PA/1284/P
Note:
1. The example code assumes that the part specific header file is included.
For I/O Registers located in extended I/O map, “IN”, “OUT”, “SBIS”, “SBIC”, “CBI”, and “SBI”
instructions must be replaced with instructions that allow access to extended I/O. Typically
“LDS” and “STS” combined with “SBRS”, “SBRC”, “SBR”, and “CBR”.
The assembly code example returns the TCNTn value in the r17:r16 register pair.
It is important to notice that accessing 16-bit registers are atomic operations. If an interrupt
occurs between the two instructions accessing the 16-bit register, and the interrupt code
updates the temporary register by accessing the same or any other of the 16-bit Timer Regis-
ters, then the result of the access outside the interrupt will be corrupted. Therefore, when both
the main code and the interrupt code update the temporary register, the main code must disable
the interrupts during the 16-bit access.
Assembly Code Examples (1)
...
; Set TCNT
n to 0x01FF
ldi
r17,0x01
ldi
r16,0xFF
out
TCNT
nH,r17
out
TCNT
nL,r16
; Read TCNT
n into r17:r16
in
r16,TCNT
nL
in
r17,TCNT
nH
...
C Code Examples (1)
unsigned int
i;
...
/* Set TCNT
n to 0x01FF */
TCNT
n = 0x1FF;
/* Read TCNT
n into i */
i = TCNT
n;
...
相關(guān)PDF資料
PDF描述
MR80C52EXXX-36/883 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQCC44
MR80C52XXX-20/883 8-BIT, MROM, 20 MHz, MICROCONTROLLER, CQCC44
MR80C52XXX-25SHXXX:RD 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQCC44
MR80C52XXX-36SHXXX:RD 8-BIT, MROM, 36 MHz, MICROCONTROLLER, CQCC44
MQ80C32E-20SHXXX:RD 8-BIT, 20 MHz, MICROCONTROLLER, CQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MR80C86 制造商:INTERSIL 制造商全稱:Intersil Corporation 功能描述:CMOS 16-Bit Microprocessor
MR80C86/B 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Harris Corporation 功能描述:Microprocessor, 16 Bit, 44 Pin, Ceramic, LCC
MR80C86-2 制造商:INTERSIL 制造商全稱:Intersil Corporation 功能描述:CMOS 16-Bit Microprocessor
MR80C86-2/883 制造商:Rochester Electronics LLC 功能描述:- Bulk
MR80C86-2/B 制造商:Intersil Corporation 功能描述:MPU 80C86 16BIT CMOS 8MHZ 44PLCC - Rail/Tube