GpioIn (UORB message)
GPIO mask and state.
TOPICS: gpio_in
Fields
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|---|---|---|---|---|
| timestamp | uint64 | time since system start (microseconds) | ||
| device_id | uint32 | Device id | ||
| state | uint32 | pin state mask |
Constants
| 参数名 | 类型 | 值 | 描述 |
|---|---|---|---|
| MAX_INSTANCES | uint8 | 8 |
Source Message
Details
Click here to see original file
c
# GPIO mask and state
uint8 MAX_INSTANCES = 8
uint64 timestamp # time since system start (microseconds)
uint32 device_id # Device id
uint32 state # pin state mask