Files
PX4-Autopilot/docs/en/msg_docs/PwmInput.md
PX4BuildBot be784e21f7 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-27 02:57:43 +00:00

32 lines
1.3 KiB
Markdown

---
pageClass: is-wide-page
---
# PwmInput (UORB message)
**TOPICS:** pwm_input
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| --------------------------------------- | -------- | ------------ | ---------- | -------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | Time since system start (microseconds) |
| <a id="fld_error_count"></a>error_count | `uint64` | | | Timer overcapture error flag (AUX5 or MAIN5) |
| <a id="fld_pulse_width"></a>pulse_width | `uint32` | | | Pulse width, timer counts (microseconds) |
| <a id="fld_period"></a>period | `uint32` | | | Period, timer counts (microseconds) |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/PwmInput.msg)
::: details Click here to see original file
```c
uint64 timestamp # Time since system start (microseconds)
uint64 error_count # Timer overcapture error flag (AUX5 or MAIN5)
uint32 pulse_width # Pulse width, timer counts (microseconds)
uint32 period # Period, timer counts (microseconds)
```
:::