I/O Ports
I/O Port Control Registers
MN102H75K/F75K/85K/F85K LSI User Manual Panasonic Semiconductor Development Company
285
Panasonic
PCNT0: Port Control Register 0 x’00FF90’
PCNT0 is a 16-bit access register.
Enable PWM (set PCNT1 bit 1
to 1) if you are outputting fSY-
SCLK/214.
SCLKF[1:0]: SYSCLK frequency select
00:SYSCLK x 214 (732.42 Hz)
01:VC O CLK x 3
10:SYSCLK x 2
11:SYS CLK
ODASCI1: Serial port 1 output switch
1: Push-pull
0: Open-drain
ODASCI0: Serial port 0 output switch
To use P57 as a port, set this bit to 0.
1: Push-pull
0: Open-drain
SIFSEL1: Serial port 1 interface select
0: Three-line (enable SBI1, SBO1, SBT1)
1: Two-line (enable SBD1, SBT1)
SIFSEL0: Serial port 0 interface select
0: Three-wire (enable SBI0, SBO0, SBT0)
1: Two-wire (enable SBD0, SBT0)
I2CSEL1: SDA1, SCL1 enable
0: Disable
1: Enable
To use P01/SDA1 and P02/SCL1 as general-purpose port pins, you must
both select the ports in the port mode register and disable this bit.
I2CSEL0: SDA0, SCL0 enable
0: Disable
1: Enable
To use P60/SDA0 and P61/SCL0 as general-purpose port pins, you must
both select the ports in the port mode register and disable this bit.
Bit:1514131211109876543210
SCLK
F1 SCLK
F0 OD
ASCI1 OD
ASCI0 SIF
SEL1 SIF
SEL0 I2C
SEL1 I2C
SEL0 OSD
POFF PLL
POFF ADC1
ON ADC0
ON HCNT
OFF RMC
OFF VBI1
OFF VBI0
OFF
Reset:0000000000000000
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W