|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
State of one PPM output: its pin, PIO state machine and DMA channels. More...
Data Fields | |
| bool | used |
| bool | running |
| uint8_t | pin |
| uint8_t | channels |
| uint16_t | frame_us |
| PIO | pio |
| uint | sm |
| uint | offset |
| int | dma_data |
| int | dma_ctrl |
| dma_channel_config | cfg_data |
| dma_channel_config | cfg_ctrl |
| uint32_t | buf [PPM_MAX_RUNS] |
| uint32_t | words |
| uint16_t | last_us [PPM_MAX_CHANNELS] |
| bool | have_last |
| const uint32_t * | restart |
State of one PPM output: its pin, PIO state machine and DMA channels.
| uint32_t ppm_out_t::buf[PPM_MAX_RUNS] |
run counts, see RUN_TO_COUNT()
| dma_channel_config ppm_out_t::cfg_ctrl |
the control channel's configuration
| dma_channel_config ppm_out_t::cfg_data |
the data channel's configuration
| uint8_t ppm_out_t::channels |
channels the frame carries
| int ppm_out_t::dma_ctrl |
control channel: restarts the data channel
| int ppm_out_t::dma_data |
data channel: plays the run counts
| uint16_t ppm_out_t::frame_us |
frame length, in us
| uint ppm_out_t::offset |
program offset in the PIO instruction memory
| uint8_t ppm_out_t::pin |
GPIO pin number
| PIO ppm_out_t::pio |
PIO block
| bool ppm_out_t::running |
a frame is being played
| uint ppm_out_t::sm |
state machine index
| bool ppm_out_t::used |
slot is bound to a pin
| uint32_t ppm_out_t::words |
runs in buf