- nRF52840 + SoftDevice S140 BLE firmware - Piezo ultrasound TX driver (2MHz, 8ch MUX) - ICM42670P IMU 6-axis driver - Echo AFE chain (ADA2200 + ADC121S051) - BLE NUS command parser (mpa/mpc/mdc/mec/maa/msp) - FDS flash config storage - pc_firm parser and ADC driver included Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
629 B
C
19 lines
629 B
C
#ifndef DR_UTIL_H
|
|
#define DR_UTIL_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void dr_ble_return_1(const char *tag, uint16_t value);
|
|
void dr_ble_return_2(const char *tag, uint16_t v1, uint16_t v2);
|
|
void dr_ble_return_3(const char *tag, uint16_t v1, uint16_t v2, uint16_t v3);
|
|
void dr_ble_return_3_be(const char *tag, uint16_t v1, uint16_t v2, uint16_t v3);
|
|
|
|
/* Piezo dedicated BLE return - uses separate buffer to avoid conflicts */
|
|
void dr_ble_return_piezo_1(const char *tag, uint16_t value);
|
|
|
|
/* BLE debug output - sends "dbg:" + point_id + value */
|
|
void dr_ble_debug(uint16_t point_id, uint16_t value);
|
|
|
|
#endif /* DR_UTIL_H */
|
|
|