I/o ports, Pcnt0 is a 16-bit access register, Sysclk x 2 – Lucent Technologies MN10285K User Manual

Page 286: Push-pull 0: open-drain

Advertising
background image

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 f

SY-

SCLK

/2

14

.

SCLKF[1:0]: SYSCLK frequency select

00: SYSCLK x 2

14

(732.42 Hz)

01: VCOCLK x 3
10: SYSCLK x 2

11: SYSCLK

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:

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

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:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

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

Advertising
This manual is related to the following products: