參數(shù)資料
型號(hào): W921C840
英文描述: Microcontroller
中文描述: 微控制器
文件頁數(shù): 14/53頁
文件大?。?/td> 394K
代理商: W921C840
W921E400A/W921C400
- 14 -
The input or output mode of port A to port B only can be decided by I/O instructions. For example,
MOV A, Px will change Px to input mode and MOV Px, A will change it to output mode.
6.5.1 Normal/Special function selection of I/O
Some of the I/O ports can be programed to special function via special control register. The detail
functions are as follows.
P2.0 to P2.1: Two 15 mA sink current normal I/O pins only
P3.0 to P3.3: Multi-function I/O pins (selected by P3IO register)
Normal function I/O pins
Special function input pins
P3IO register: (address = 00FH, default data = 0H)
b3
b2
b1
b0
0:
1:
0:
1:
0:
1:
0:
1:
Normal I/O P3.0
Analog input pin 0 (ANI0)
Normal I/O P3.1
Analog input pin 1 (ANI1)
Normal I/O P3.2
Analog input pin 2 (ANI2)
Normal I/O P3.3
Analog input pin 3 (ANI3)
P4.2 to P4.3: Multi-function I/O pins (selected by P4IO register)
Normal function I/O pins
Special function input pins: (All the pins are falling edge active)
P4IO register: (address = 010H, default data = 0H)
b3
b2
b1
b0
0:
1:
0:
1:
INT0
Interrupt port P4.2
Normal I/O P4.3, interrupt disable
Normal I/O P4.2, interrupt disable
Reserved
Reserved
P5.1: Multi-function I/O pins (selected by P5IO register)
Normal function I/O pins
Special function I/O pins
相關(guān)PDF資料
PDF描述
W921C880 Microcontroller
W921E400A 4-Bit Microcontroller(4位微控制器)
W921E400 4-Bit Microcontroller(4位微控制器)
W925C240 Telephone Controller
W925E240 Telephone Controller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W921C880 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W921E400 制造商:WINBOND 制造商全稱:Winbond 功能描述:4-BIT MICROCONTROLLER
W921E400A 制造商:WINBOND 制造商全稱:Winbond 功能描述:4-BIT MICROCONTROLLER
W921E840 制造商:WINBOND 制造商全稱:Winbond 功能描述:4-BIT MICROCONTROLLER
W921E840A 制造商:WINBOND 制造商全稱:Winbond 功能描述:4-BIT MICROCONTROLLER