32 #ifndef ROSFLIGHT_FIRMWARE_TEST_BOARD_H 33 #define ROSFLIGHT_FIRMWARE_TEST_BOARD_H 63 void serial_init(uint32_t baud_rate, uint32_t dev)
override;
64 void serial_write(
const uint8_t *src,
size_t len)
override;
79 void mag_read(
float mag[3])
override;
106 float rc_read(uint8_t channel)
override;
109 void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm)
override;
111 void pwm_write(uint8_t channel,
float value)
override;
116 bool memory_write(
const void *src,
size_t len)
override;
132 void set_imu(
float *acc,
float *
gyro, uint64_t time_us);
133 void set_rc(uint16_t *values);
141 #endif // ROSLFIGHT_FIRMWARE_TEST_BOARD_H uint32_t clock_millis() override
void pwm_write(uint8_t channel, float value) override
static volatile int16_t gyro[3]
bool gnss_present() override
void board_reset(bool bootloader) override
void serial_init(uint32_t baud_rate, uint32_t dev) override
void pwm_disable() override
void mag_read(float mag[3]) override
bool new_imu_data() override
void baro_update() override
void set_imu(float *acc, float *gyro, uint64_t time_us)
bool diff_pressure_present() override
uint16_t serial_bytes_available() override
void sensors_init() override
uint64_t clock_micros() override
void rc_init(rc_type_t rc_type) override
void set_rc(uint16_t *values)
bool has_backup_data() override
float rc_read(uint8_t channel) override
void init_board() override
static volatile int16_t accel[3]
GNSSRaw gnss_raw_read() override
bool sonar_present() override
void led1_toggle() override
uint8_t serial_read() override
void baro_read(float *pressure, float *temperature) override
void serial_flush() override
void gnss_update() override
bool gnss_has_new_data() override
void diff_pressure_read(float *diff_pressure, float *temperature) override
void memory_init() override
void set_time(uint64_t time_us)
bool mag_present() override
bool baro_present() override
void sonar_update() override
void led0_toggle() override
BackupData get_backup_data() override
bool memory_read(void *dest, size_t len) override
void diff_pressure_update() override
bool imu_read(float accel[3], float *temperature, float gyro[3], uint64_t *time) override
void clock_delay(uint32_t milliseconds) override
void imu_not_responding_error() override
GNSSData gnss_read() override
void set_pwm_lost(bool lost)
void serial_write(const uint8_t *src, size_t len) override
bool memory_write(const void *src, size_t len) override
uint16_t num_sensor_errors()
void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm) override
void mag_update() override
float sonar_read() override