Skip to content

GpioIn (UORB message)

GPIO mask and state.

TOPICS: gpio_in

Fields

参数名类型Unit [Frame]Range/Enum描述
timestampuint64time since system start (microseconds)
device_iduint32Device id
stateuint32pin state mask

Constants

参数名类型描述
MAX_INSTANCESuint88

Source Message

Source file (GitHub)

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