Skip to content

GpioIn (UORB message)

GPIO mask and state.

TOPICS: gpio_in

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
device_iduint32Device id
stateuint32pin state mask

Constants

NameTypeValueDescription
MAX_INSTANCESuint88

Source Message

Source file (GitHub)

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