mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-23 18:13:49 +08:00
1.1 KiB
1.1 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
GpioIn (UORB message)
GPIO mask and state.
TOPICS: gpio_in
Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
|---|---|---|---|---|
| timestamp | uint64 |
time since system start (microseconds) | ||
| device_id | uint32 |
Device id | ||
| state | uint32 |
pin state mask |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| MAX_INSTANCES | uint8 |
8 |
Source Message
::: details Click here to see original file
# 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
:::