Cmd_Gpio_Local_Readconfig_Req - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

7.7.2. CMD_GPIO_LOCAL_READCONFIG_REQ

This command reads the current configuration of the free GPIOs of the radio module.
Format:
Response ( CMD_GPIO_LOCAL_READCONFIG_CNF ):
Start signal
Command | 0x40
0x02
Status:
0x00: Request received and processed
0x01: Operation failed
0xFF: Operation not permitted
CMD_GPIO_LOCAL_READCONFIG_CNF block structure
Each Block has the following format:
Length: Length of the subsequent bytes in this block
GPIO_ID: ID of the GPIO, see chapter 11.2
Function:
0x00: GPIO is disconnected
0x01: GPIO works as input
0x02: GPIO works as output
0x03: GPIO works as PWM
Values:
• if Function is disconnected, Length is 0x02:
Values field is not used in this block
• if Function is input, Length is 0x03:
0x00: GPIO has no pull resistor
0x01: GPIO has pull down resistor
Order code 2611011024000
Version 1.8 , July 2022
Start signal
Command
0x02
0x2B
Length
0x6B
2 Bytes
Length
GPIO_ID
Function
1 Byte
1 Byte
Length
CS
0x00 0x00
0x29
Status
Block
1
1 Byte
x Bytes
Values
1 Byte
(Length - 2) Byte
. . .
Block
CS
n
x Bytes
1 Byte
www.we-online.com/wcs
98

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents