rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
sense_svc_io_t Struct Reference

The wire, the clock, the recovery and the pins. More...

#include <sense_svc.h>

Data Fields

sense_sched_io_t sched
bool(*) open (void *ctx, uint8_t sda, uint8_t scl)
 The I2C block on sda and scl at 400kHz; false when those pins cannot carry it, and nothing is changed.
void(*) close (void *ctx)
 The block off and its pins let go.
sense_err_t(*) ask (void *ctx, uint8_t addr)
 The address byte and one byte read back: SENSE_OK when addr acknowledged, SENSE_NACK when it did not, or a fault.

Detailed Description

The wire, the clock, the recovery and the pins.

Field Documentation

◆ sched

sense_sched_io_t sense_svc_io_t::sched

its ctx is passed to the three below


The documentation for this struct was generated from the following file: