18
GPIO contrast
gpiox
00
01
02
03
04
05
06
07
08
09
GPIO
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P2_0
P2_1
P2_2
For example
:
When gpio parameter is 2
,
the pin is P0_2
When gpio parameter is 8
,
the pin is P2_1
(
2
)
GPIO input/output state
in/out
:
1 input
0
output
(
3
)
GPIO state value
(
configuration input state invalid
)
level
:
0 low
1
high
2
flipping
PWM parameter
(
1
)
PWM port
pwmx
:
PWM port contrast
pwmx
duty1
duty2
duty3
duty4
duty5
GPIO
P0_2
P0_3
P0_4
P0_5
P0_6
(
2
)
pwm cycle
period
:
(
0~FFFF
)
cycle tim
(
unit 1 = 62.5ns
)
(
3
)
pwm duty cycle
dutyx
:
(
0~FFFF
):
duty cycle time
(
unit 1 = 62.5ns
)
ADC parameter
(
1
)
ADC channel
adcx
:
ADC channel contrast
adcx
0
1
2
3
4
5
6
GPIO
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
(
2
)
adc state value
adc_state
:
0
ADC enable
1
ADC disable
(
3
)
adc
sampling value
adc_value
:
0~0X0CE4
(
0~3300
)
unit mV
Summary of Contents for Z2530-2G4-20
Page 5: ...5 2 2 Dimension...