I/O Ports
I/O Port Control Registers
MN102H75K/F75K/85K/F85K LSI User Manual Panasonic Semiconductor Development Company
283
Panasonic
P4MD: Port 4 Output Mode Register x’00FFF8’
P4MD is an 8-bit access register.
P4MD7: P47 function switch
0: P47/NHSYNC
1: NHSYNC
P4MD6
This bit exists, but contains no function.
P4MD5: P45 function switch
To use P45 or P46, set the OSCSEL[1:0] field of OSD1 to b’00’.
0: P45/OSDXO
1: P46/OSDXI
P4MD4: P44 output switch
0: P44/TM5IC/HI0
1: TM5IC/HI0
P4MD3: P43 output switch
To use TM5IOB as an output pin, set this bit to 1 and set the P4DIR3 bit to 1.
0: P43/HI1
1: TM5IOB/HI1
P4MD2: P42 output switch
To use TM5IOA as an output pin, set this bit to 1 and set the P4DIR2 bit to
1.
0: P42
1: TM5IOA
P4MD1: P41 output switch
To use TM1IO as an output pin, set this bit to 1 and set the P4DIR1 bit to 1.
0: P41
1: TM1IO
P4MD0: P40 output switch
If you set this bit to 1, select DAYMOUT or YM in the YCNT bit of
ODS1.
0: P40
1: YM/DAYMOUT
Bit:76543210
P4MD7P4MD6P4MD5P4MD4P4MD3P4MD2P4MD1P4MD0
Reset:00000000
R/W: R/W R/W R/W R/W R/W R/W R/W R/W