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

no-image

upd78f0148m1gka1-9eu

Manufacturer Part Number
upd78f0148m1gka1-9eu
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) Port registers (P0 to P7, P12 to P14)
Symbol
P12
P13
P14
These registers write the data that is output from the chip when data is output from a port.
If the data is read in the input mode, the pin level is read. If it is read in the output mode, the value of the output
latch is read.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears these registers to 00H (but P2 is undefined).
P0
P1
P2
P3
P4
P5
P6
P7
P17
P27
P47
P57
P67
P77
Pmn
7
0
7
7
7
0
7
7
7
7
7
0
7
0
7
0
0
1
Output 0
Output 1
P06
P16
P26
P46
P56
P66
P76
0
6
6
6
6
0
6
6
6
6
6
0
6
0
6
Output data control (in output mode)
P145
P05
P15
P25
P45
P55
P65
P75
5
5
5
5
0
5
5
5
5
5
0
5
0
5
P144
Figure 4-27. Format of Port Register
P04
P14
P24
P44
P54
P64
P74
4
4
4
4
0
4
4
4
4
4
0
4
0
4
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15947EJ3V1UD
P143
P03
P13
P23
P33
P43
P53
P63
P73
3
3
3
3
3
3
3
3
3
0
3
0
3
m = 0 to 7, 12 to 14; n = 0 to 7
P142
P02
P12
P22
P32
P42
P52
P62
P72
2
2
2
2
2
2
2
2
2
0
2
0
2
P141
P01
P11
P21
P31
P41
P51
P61
P71
1
1
1
1
1
1
1
1
1
0
1
0
1
Input low level
Input high level
P120
P130
P140
P00
P10
P20
P30
P40
P50
P60
P70
0
0
0
0
0
0
0
0
0
0
0
Input data read (in input mode)
Address
FF0CH
FF0DH
FF0EH
FF00H
FF01H
FF02H
FF03H
FF04H
FF05H
FF06H
FF07H
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
00H (output latch)
After reset
Undefined
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
115
R

Related parts for upd78f0148m1gka1-9eu