80
CHAPTER 4 I/O PORTS
4.3.2
Operation of Port 1
This section describes the operations of the port 1.
■
Operation of port 1
●
Operation as an output port
•
When the output latch value is "0", the output transistor turns "ON" and an "L" level is output from the
pin. When the output latch value is "1", the transistor turns "OFF" and high impedance (Hi-Z) is output
from the pin.
•
Writing data to the PDR1 register stores the data in the output latch and it will be output to the pin.
•
Reading the PDR1 register returns the output latch value.
●
Operation as an input port
•
Writing "0" to the PDR1 register set the port as an input port, the output transistor is "OFF" and the pin
goes to the high-impedance state.
•
Reading the PDR1 register returns the pin value.
●
Operation as an LCD segment driver output
•
When the LCD output mask option is selected, set the PDR1 register bits corresponding to the LCD
segment driver output pins to "1" to turn the output transistor "OFF".
•
You cannot read the LCD output data by reading PDR1.
●
Operation at reset
•
Resetting the CPU initializes the PDR1 register values to "1". This turns "OFF" the output transistor for
all pins and all pins are in high impedance (Hi-Z) state.
Содержание 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: ......