Configuration for a RP2xxx Joybus instance.
More...
#include <rp2xxx.h>
|
|
uint8_t | gpio |
| | GPIO pin to use for the Joybus data line, 0 to 31.
|
|
PIO | pio |
| | PIO instance to use (eg. pio0 or pio1)
|
|
timer_hw_t * | timer |
| | Timer instance the reply timeouts run on.
|
|
uint | alarm_num |
| | Which of that timer's alarms to claim.
|
|
uint32_t | freq |
| | Transmit frequency, in Hz.
|
|
void(* | set_irq_handler )(uint irq_num, irq_handler_t handler) |
| | Installs an interrupt handler and enables the line.
|
Configuration for a RP2xxx Joybus instance.
The documentation for this struct was generated from the following file: