UPD78F0988AGC-8BS Renesas Electronics America, UPD78F0988AGC-8BS Datasheet - Page 97

no-image

UPD78F0988AGC-8BS

Manufacturer Part Number
UPD78F0988AGC-8BS
Description
Manufacturer
Renesas Electronics America
Datasheet

Specifications of UPD78F0988AGC-8BS

Lead Free Status / Rohs Status
Supplier Unconfirmed
4.3 Registers Controlling Port Functions
The following two types of registers control the ports.
• Port mode registers (PM0, PM2, PM3, PM4, PM5, PM6)
• Pull-up resistor option registers (PU0, PU2, PU3, PU4, PU5, PU6)
(1) Port mode registers (PM0, PM2, PM3, PM4, PM5, PM6)
Symbol
These registers set the corresponding ports in the input or output mode in 1-bit units.
PM0, PM2, PM3, PM4, PM5, and PM6 are manipulated by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to FFH.
Cautions 1. Because port 0 and pins P54 to P57 are also used as external interrupt request input pins,
PM0
PM2
PM3
PM4
PM5
PM6
PM37 PM36 PM35 PM34 PM33 PM32 PM31 PM30
PM47 PM46 PM45 PM44 PM43 PM42 PM41 PM40
PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50
PM67 PM66 PM65 PM64
1
1
7
2. Since pull-up resistors will not be disconnected even if ports 0 and 2 to 6 are set to output
3. When a port pin that has an alternate function serves as an alternate function output pin,
interrupt request flags are set when the output mode of the port function is specified and
the output level is changed. To use this port in the output mode, therefore, set the
interrupt mask flags to 1 in advance.
mode, set corresponding pull-up resistor option registers to 0 when those ports are used
in output mode.
set its output latch to 0.
PM26 PM25 PM24 PM23 PM22 PM21 PM20
1
6
5
1
Figure 4-10. Format of Port Mode Register
4
1
PM03 PM02 PM01 PM00
CHAPTER 4 PORT FUNCTIONS
3
1
User’s Manual U13029EJ7V1UD
2
1
1
1
1
0
PMmn
0
1
Address
FF20H
FF22H
FF23H
FF24H
FF25H
FF26H
Selects I/O mode of Pmn pin
(m = 0: n = 0 to 3)
(m = 2: n = 0 to 6)
(m = 3, 4, 5: n = 0 to 7)
(m = 6: n = 4 to 7)
Output mode (output buffer on)
Input mode (output buffer off)
After reset
FFH
FFH
FFH
FFH
FFH
FFH
R/W
R/W
R/W
R/W
R/W
R/W
R/W
95

Related parts for UPD78F0988AGC-8BS