|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Files | |
| bind_link.h | |
| The panel's half of a binding on the link: writing the two output pages and reading them back. | |
| hitec_port.h | |
| Raw transactions of the Hitec servo wire on a programming port, and their link page (0x34). | |
| kst_port.h | |
| The KST programming protocol on a programming port, and its link page (0x32). | |
| out_bind.h | |
| Binding a protocol to pins: what the operator chooses, and the OUTPUTS page that comes out of it. | |
| out_pwm_map.h | |
| Which PWM (pulse-width modulation) register drives which pin on the RP2350. | |
| out_stage.h | |
| A binding prepared beside the one in force, and taken whole. | |
| out_store_map.h | |
| Where the next copy of the output binding goes in the IOmcu's flash. | |
| out_store_rec.h | |
| What a record in the IOmcu's output store carries, and how a record an earlier build wrote is read. | |
| outputs.h | |
| The intermediary every output goes through: one set of rules for arming, clamping, slew and the silence timeout, with a protocol as a driver behind them. | |
| outputs_pages.h | |
| The link's three output pages (CHAN_CFG, OUTPUTS, CHANNELS), expressed as bank operations. | |
| page_console.h | |
| A bench console: link pages read and written from command lines, through the page handlers the link uses. | |
| prog_port.h | |
| The programming ports and their link page (0x33). | |
| sense_limit.h | |
| The SENSE_LIMIT link page at the IOmcu (protocol 4.27): a current limit for each of SENSE_MAP's 12 channels, and the channels whose window passed its limit. | |
| sense_map.h | |
| The SENSE_MAP, SENSE_WIN_A and SENSE_WIN_B link pages at the IOmcu (protocol 4.25): up to four INA3221 at 0x40 to 0x43, a shunt and a watch target for each of their 12 channels, the FAST channel, and every channel's last 50ms window. | |
| sense_page.h | |
| The SENSE, SERVO_SENSE and SERVO_WIN link pages at the IOmcu: the I2C bus of the two current monitors and the output encoder, its set-up and what they last read, the servo rail's channels with a move capture, and CH1's last four windows. | |
| servo_cmd.h | |
| A command of the SERVO screen as the panel's servo link takes it (servo_link.h), and what the link reports back: the frame rate's state, a pause let go of and where a sweep started. | |
| servo_link.h | |
| The panel's half of the SERVO screen on the link: a command onto the IOmcu's CHAN_CFG, CHANNELS, SERVO and PROG pages, the position said again every SERVO_HOLD_MS (100ms), the release owed while a surface holds a position, the frame rate and the sweep. | |
| servo_page.h | |
| The SERVO link page at the IOmcu: the frame rate of the tester's target and the sweep that drives it through a curve. | |
| supply_page.h | |
| The SUPPLY link page at the IOmcu: a PD mini on a PIO UART, its wiring, what it is to do and what it last said. | |
| tone_page.h | |
| The TONE link page at the IOmcu: the phase tap that hears an ESC's (electronic speed controller) beeps on one motor phase. | |