upd78f0148m1gka1-9eu Renesas Electronics Corporation., upd78f0148m1gka1-9eu Datasheet - Page 112

no-image

upd78f0148m1gka1-9eu

Manufacturer Part Number
upd78f0148m1gka1-9eu
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
4.3
(1) Port mode registers (PM0, PM1, PM3 to PM7, PM12, and PM14)
112
Symbol
PM12
PM14
Port functions are controlled by the following three types of registers.
• Port mode registers (PM0, PM1, PM3 to PM7, PM12, PM14)
• Port registers (P0 to P7, P12 to P14)
• Pull-up resistor option registers (PU0, PU1, PU3 to PU7, PU12, PU14)
PM0
PM1
PM3
PM4
PM5
PM6
PM7
These registers specify input or output mode for the port in 1-bit units.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to FFH.
When port pins are used as alternate-function pins, set the port mode register and output latch as shown in Table
4-5.
Registers Controlling Port Function
PM17
PM47
PM57
PM67
PM77
PMmn
7
1
7
7
1
7
7
7
7
7
1
7
1
0
1
PM06
PM16
PM46
PM56
PM66
PM76
Output mode (output buffer on)
Input mode (output buffer off)
6
6
6
1
6
6
6
6
6
1
6
1
PM145
PM05
PM15
PM45
PM55
PM65
PM75
5
5
5
1
5
5
5
5
5
1
5
Figure 4-26. Format of Port Mode Register
PM144
PM04
PM14
PM44
PM54
PM64
PM74
4
4
4
1
4
4
4
4
4
1
4
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15947EJ3V1UD
PM143
PM03
PM13
PM33
PM43
PM53
PM63
PM73
3
3
3
3
3
3
3
3
1
3
(m = 0, 1, 3 to 7, 12, 14; n = 0 to 7)
Pmn pin I/O mode selection
PM142
PM02
PM12
PM32
PM42
PM52
PM62
PM72
2
2
2
2
2
2
2
2
1
2
PM141
PM01
PM11
PM31
PM41
PM51
PM61
PM71
1
1
1
1
1
1
1
1
1
1
PM120
PM140
PM00
PM10
PM30
PM40
PM50
PM60
PM70
0
0
0
0
0
0
0
0
0
Address
FF2CH
FF2EH
FF20H
FF21H
FF23H
FF24H
FF25H
FF26H
FF27H
After reset
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Related parts for upd78f0148m1gka1-9eu