LC75843UGA
www.onsemi.com
18
(3) PS10, PS11 to PS40, PS41 General-purpose output port (P1 to P4) function setting control data
These control data bits set the general-purpose output function (High or low level output), clock output function or
PWM output function of the P1 output pin, and the general-purpose output function (High or low level output) or
PWM output function of the P2 to P4 output pins.
However, be careful of being unable to set a PWM output function when the external clock operating frequency is
set the f
CK
2 = 38[kHz] typ (EXF = “1”) in external clock operating mode (OC = “1”).
PS10 PS11 General-purpose output port (P1) function
0 0 General-purpose output function (High or low level output)
1 0 Clock output function (clock frequency : fosc/2, f
CK
/2)
0 1 Clock output function (clock frequency : fosc/8, f
CK
/8)
1 1 PWM output function (ch1) (Support for PWM data W10 to W15)
PS20 PS21 General-purpose output port (P2) function
0 0 General-purpose output function (High or low level output)
1 0 PWM output function (ch1) (Support for PWM data W10 to W15)
0 1 PWM output function (ch2) (Support for PWM data W20 to W25)
1 1 PWM output function (ch3) (Support for PWM data W30 to W35)
PS30 PS31 General-purpose output port (P3) function
0 0 General-purpose output function (High or low level output)
1 0 PWM output function (ch1) (Support for PWM data W10 to W15)
0 1 PWM output function (ch2) (Support for PWM data W20 to W25)
1 1 PWM output function (ch3) (Support for PWM data W30 to W35)
PS40 PS41 General-purpose output port (P4) function
0 0 General-purpose output function (High or low level output)
1 0 PWM output function (ch1) (Support for PWM data W10 to W15)
0 1 PWM output function (ch2) (Support for PWM data W20 to W25)
1 1 PWM output function (ch3) (Support for PWM data W30 to W35)
(4) P0 to P2 Segment output port/general-purpose output port switching control data.
These control data bits switch the segment output port/general-purpose output port functions of the S1/P1 to S4/P4
output pins.
Control data Output pin state
Note: Sn(n=1 to 4): Segment output ports
Pn(n=1 to 4): General-purpose output ports
P0 P1 P2 S1/P1 S2/P2 S3/P3 S4/P4
0 0 0 S1 S2 S3 S4
0 0 1 P1 S2 S3 S4
0 1 0 P1 P2 S3 S4
0 1 1 P1 P2 P3 S4
1 0 0 P1 P2 P3 P4
Note: When are setting (P0, P1, P2)=(1, 0, 1), (1, 1, 0), and (1, 1, 1), the all P1/S1 to P4/S4 output pins selects the
segment output port.
The table below lists the correspondence between the display data and the output pins when these pins are selected
to be general-purpose output ports.
Output pin
Correspondence display data
1/4 duty 1/3 duty 1/2 duty 1/1 duty
S1/P1 D1 D1 D1 D1
S2/P2 D5 D4 D3 D2
S3/P3 D9 D7 D5 D3
S4/P4 D13 D10 D7 D4
For example, if the circuit is operated in 1/4 duty and the S4/P4 output pin is selected to be a general-purpose output
port, the S4/P4 output pin will output a high level when the display data D13 is 1, and will output a low level when
D13 is 0.