RCOutput.h 561 B

12345678910111213141516
  1. #pragma once
  2. #include "AP_HAL_Empty.h"
  3. class Empty::RCOutput : public AP_HAL::RCOutput {
  4. void init() override;
  5. void set_freq(uint32_t chmask, uint16_t freq_hz) override;
  6. uint16_t get_freq(uint8_t ch) override;
  7. void enable_ch(uint8_t ch) override;
  8. void disable_ch(uint8_t ch) override;
  9. void write(uint8_t ch, uint16_t period_us) override;
  10. uint16_t read(uint8_t ch) override;
  11. void read(uint16_t* period_us, uint8_t len) override;
  12. void cork(void) override {}
  13. void push(void) override {}
  14. };