MB95710M Series
MB95770M Series
Document Number: 002-09307 Rev. *D
Page 98 of 172
• P15/SEG31/PPG11 pin
This pin has the following peripheral functions:
• LCDC SEG31 output pin (SEG31)
• 8/16-bit PPG ch. 1 output pin (PPG11)
• P16/SEG30/PPG10 pin
This pin has the following peripheral functions:
• LCDC SEG30 output pin (SEG30)
• 8/16-bit PPG ch. 1 output pin (PPG10)
• Block diagram of P15/SEG31/PPG11 and P16/SEG30/PPG10
19.2.3 Port 1 registers
• Port 1 register functions
*: If the pin is an N-ch open drain pin, the pin state becomes Hi-Z.
• Correspondence between registers and pins for port 1
Register
abbreviation
Data
Read
Read by read-modify-write
(RMW) instruction
Write
PDR1
0
Pin state is “L” level.
PDR1 value is “0”.
As output port, outputs “L” level.
1
Pin state is “H” level.
PDR1 value is “1”.
As output port, outputs “H” level.*
DDR1
0
Port input enabled
1
Port output enabled
PUL1
0
Pull-up disabled
1
Pull-up enabled
Correspondence between related register bits and pins
Pin name
P17
P16
P15
P14
P13
P12
P11
P10
PDR1
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
DDR1
PUL1
-
-
-
PDR1
Pin
PDR1 read
PDR1 write
Executing bit manipulation instruction
DDR1 read
DDR1 write
DDR1
0
1
1
0
Stop mode, watch mode (SPL = 1)
Peripheral function output enable
Peripheral function output
LCD output
Inter
nal b
u
s
LCD output enable