92
CHAPTER 4 I/O PORTS
4.6
Port 4
Port 4 is a general-purpose I/O port that also serves as the peripheral signal I/O pins.
Individual pin can be switched between the port and resource function. This section
principally describes the port functions when operating as a general-purpose I/O port.
The section describes the port structure and pins, the pin block diagram, and the port
registers for port 4.
■
Structure of port 4
Port 4 consists of the following three components:
•
General-purpose I/O port/peripheral I/O pins (P40 to P46/INT0)
•
Port 4 data register (PDR4)
•
Port 4 data direction register (DDR4)
■
Port 4 pins
Port 4 consists of seven I/O pins of CMOS type input and output. Six of these pins are also used as I/O pins
for various peripherals. While they are being used by the peripheral, these pins cannot be used as the
general-purpose I/O port.
Table 4.6-1 "Port 4 pins" lists the port 4 pins.
See Section 1.7 "I/O Pins and Pin Functions" for a description of the circuit type.
Table 4.6-1 Port 4 pins
Port
Pin name
Function
Shared peripheral
I/O type
Circuit
type
Input
Output
Port 4
P40
P40 general-purpose I/O port
--
CMOS
CMOS
E
P41/PWM
P41 general-purpose I/O port
PWM (PWM output)
P42/PWC/INT1
P42 general-purpose I/O port
PWC/INT1 (PWC or external interrupt input)
P43/SI
P43 general-purpose I/O port
SI (UART/8-bit SIO serial data input)
P44/SO
P44 general-purpose I/O port
SO (UART/8-bit SIO serial data output)
P45/SCK
P45 general-purpose I/O port
SCK (UART/8-bit SIO serial clock I/O)
P46/INT0
P46 general-purpose I/O port
INT0 (External interrupt input)
Содержание MB89950 Series
Страница 2: ......
Страница 3: ...FUJITSU LIMITED F2MC 8L 8 BIT MICROCONTROLLER MB89950 950A Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 34: ...20 CHAPTER 2 HANDLING DEVICES ...
Страница 134: ...120 CHAPTER 6 WATCHDOG TIMER ...
Страница 236: ...222 CHAPTER 10 UART ...
Страница 276: ...262 CHAPTER 12 LCD CONTROLLER DRIVER ...
Страница 310: ...296 APPENDIX ...
Страница 311: ...297 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 316: ...302 INDEX ...
Страница 318: ......