mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
17 lines
306 B
Markdown
17 lines
306 B
Markdown
# GpioIn (UORB message)
|
|
|
|
GPIO mask and state
|
|
|
|
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GpioIn.msg)
|
|
|
|
```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
|
|
|
|
```
|