Files
PX4-Autopilot/docs/ko/msg_docs/GpioIn.md
2026-06-04 12:36:29 +10:00

1.7 KiB

pageClass
pageClass
is-wide-page

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

명칭 형식 Value 설명
MAX_INSTANCES uint8 8

Source Message

Source file (GitHub)

:::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

:::