|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
What the driver needs from the hardware. More...
#include <pdmini.h>
Data Fields | |
| void(*) | attach (void *ctx) |
| void(*) | detach (void *ctx) |
| void(*) | send (void *ctx, const uint8_t *p, size_t n) |
| void * | ctx |
What the driver needs from the hardware.
| void(*) pdmini_io_t::attach(void *ctx) |
UART onto the pins
| void* pdmini_io_t::ctx |
the context passed to each function
| void(*) pdmini_io_t::detach(void *ctx) |
pins pulled down
| void(*) pdmini_io_t::send(void *ctx, const uint8_t *p, size_t n) |
sends n bytes at p