User Gpio Parameters; User Pwm Parameters - Ebyte E180-Z5812SP Product Manual

Zigbee multifunctional soc wireless module
Hide thumbs Also See for E180-Z5812SP:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
Remote Header:
0x0000 Indicates that the wireless network configuration is closed,0x0001~0xFFFF Indicates that remote
configuration is turned on,The default setting is 0xA88A(0xA8 0x8A)。

6.6.19 User gpio parameters

Read instruction format:
command format
command: FE 03 20 GpioId FF
return: FB 20 GpioId In/Out level
Configuration command format:
command format
command:FD 03 20 GpioId In/Out level FF
return:FA 20
Format of gpio peripheral configuration data (3 Byte): GpioId In/Out level.
gpioid : channel ID
In/Out: Channel output/input mode
0 output
1 input
level: The level status of the channel
0 low level
1 high level
2 turn over
Note: When configured as an input, level indicates the input level value 0 (low level) or 1 (high level), when configured as an
output, level indicates 0 (low level), 1 (high level), 2 (electrical level) flat flip) output.

6.6.20 User pwm parameters

Read instruction format:
command format
command: FE 06 21 PWMId FF
return: FB 21 PWMId start/stop
Period Period duty duty
Configuration command format:
command format
command:FD 06 21 PwmId start/stop
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co., Ltd.
channel ID
00
01
command example
send: FE 03 20 00 FF
return: FB 20 00 01 01
command example
send:FD 03 20 00 01 01 FF
return:FA 20
GPIO port
PC0 port
PB4 port
command example
send: FE 06 21 00 FF
return: FB 21 00 01
0A 3E 63 50
command example
send:FD 06 21 00 FF 03 65 02 48 FF
E180-Z5812SP Product Manual
28

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlsr8258

Table of Contents