mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:38:52 +08:00
New Crowdin translations - zh-CN (#26488)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
co-authored by
Crowdin Bot
parent
7ef57f6262
commit
47d5971f42
@@ -1,8 +1,33 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# GpioIn (UORB message)
|
||||
|
||||
GPIO mask and state
|
||||
GPIO mask and state.
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GpioIn.msg)
|
||||
**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
|
||||
|
||||
| 参数名 | 类型 | 值 | 描述 |
|
||||
| ---------------------------------------------------------------- | ------- | - | -- |
|
||||
| <a href="#MAX_INSTANCES"></a> MAX_INSTANCES | `uint8` | 8 | |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/GpioIn.msg)
|
||||
|
||||
:::details
|
||||
Click here to see original file
|
||||
|
||||
```c
|
||||
# GPIO mask and state
|
||||
@@ -12,5 +37,6 @@ uint64 timestamp # time since system start (microseconds)
|
||||
uint32 device_id # Device id
|
||||
|
||||
uint32 state # pin state mask
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user