Ebyte Z2530-2G4-20 User Instruction Manual page 18

Wireless data transceiver
Table of Contents

Advertisement

gpiox
GPIO
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
0
(3)GPIO state value(configuration input state invalid)
level:
0
1
2
PWM parameter
(1)PWM port
pwmx:
pwmx
GPIO
(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:
adcx
GPIO
(2)adc state value
adc_state:
0
1
(3)adc sampling value
adc_value:
0~0X0CE4 (0~3300)unit mV
00
01
02
P0_0
P0_1
P0_2
input
output
low
high
flipping
duty1
P0_2
0
1
P0_0
P0_1
ADC enable
ADC disable
GPIO contrast
03
04
05
P0_3
P0_4
P0_5
PWM port contrast
duty2
duty3
P0_3
P0_4
ADC channel contrast
2
3
P0_2
P0_3
18
06
07
08
P0_6
P2_0
P2_1
duty4
duty5
P0_5
P0_6
4
5
P0_4
P0_5
09
P2_2
6
P0_6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E800-dtu

Table of Contents