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

How the sequence reaches the far end. More...

#include <art_fetch.h>

Data Fields

bool(*) read_page (void *ctx, uint8_t page, uint8_t count, uint16_t *regs)
 Read count registers of page.
bool(*) write_reg (void *ctx, uint8_t page, uint8_t reg, uint16_t value)
 Write one register.
void * ctx

Detailed Description

How the sequence reaches the far end.

Field Documentation

◆ read_page

bool(*) art_transport_t::read_page(void *ctx, uint8_t page, uint8_t count, uint16_t *regs)

Read count registers of page.

False when nothing answered, or the reply was a refusal rather than data – the two are the same to a sequence that cannot go on either way.

◆ write_reg

bool(*) art_transport_t::write_reg(void *ctx, uint8_t page, uint8_t reg, uint16_t value)

Write one register.

False when it was refused or went unanswered.


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