32 #ifndef ROSFLIGHT_FIRMWARE_BREEZY_BOARD_H 33 #define ROSFLIGHT_FIRMWARE_BREEZY_BOARD_H 98 void serial_init(uint32_t baud_rate, uint32_t dev)
override;
99 void serial_write(
const uint8_t *src,
size_t len)
override;
114 void mag_read(
float mag[3])
override;
145 float rc_read(uint8_t channel)
override;
147 void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm)
override;
149 void pwm_write(uint8_t channel,
float value)
override;
154 bool memory_write(
const void *src,
size_t len)
override;
172 #endif // ROSFLIGHT_FIRMWARE_BREEZY_BOARD_H void pwm_disable() override
void pwm_write(uint8_t channel, float value) override
uint16_t serial_bytes_available() override
static volatile int16_t gyro[3]
void diff_pressure_update() override
void serial_init(uint32_t baud_rate, uint32_t dev) override
void gnss_update() override
void sonar_update() override
bool new_imu_data() override
void mag_update() override
float sonar_read() override
uint32_t pwm_refresh_rate_
bool memory_read(void *dest, size_t len) override
void baro_update() override
GNSSRaw gnss_raw_read() override
void sensors_init() override
bool gnss_present() override
void led1_toggle() override
void led0_toggle() override
void serial_flush() override
void init_board() override
bool diff_pressure_present() override
void diff_pressure_read(float *diff_pressure, float *temperature) override
bool has_backup_data() override
bool baro_present() override
static volatile int16_t accel[3]
void memory_init() override
void pwm_init(uint32_t refresh_rate, uint16_t idle_pwm) override
bool memory_write(const void *src, size_t len) override
BackupData get_backup_data() override
void board_reset(bool bootloader) override
float rc_read(uint8_t channel) override
bool imu_read(float accel[3], float *temperature, float gyro[3], uint64_t *time_us) override
void clock_delay(uint32_t milliseconds) override
uint8_t serial_read() override
void imu_not_responding_error() override
void baro_read(float *pressure, float *temperature) override
uint32_t clock_millis() override
uint16_t num_sensor_errors() override
GNSSData gnss_read() override
std::function< void(void)> imu_callback_
uint64_t clock_micros() override
bool mag_present() override
void serial_write(const uint8_t *src, size_t len) override
bool sonar_present() override
void mag_read(float mag[3]) override
bool gnss_has_new_data() override
void rc_init(rc_type_t rc_type) override