30 if (!(
mask & 1U<<(_channel-1))) {
59 }
else if (state == 0) {
68 int16_t _repeat, uint16_t _delay_ms)
70 if (!(
mask & 1U<<(_channel-1))) {
bool do_repeat_servo(uint8_t channel, uint16_t servo_value, int16_t repeat, uint16_t delay_time_ms)
AP_ServoRelayEvents * servorelayevents()
bool enabled(uint8_t relay)
bool do_set_servo(uint8_t channel, uint16_t pwm)
bool do_repeat_relay(uint8_t relay_num, int16_t count, uint32_t period_ms)
void toggle(uint8_t relay)
static SRV_Channel * srv_channel(uint8_t i)
static AP_ServoRelayEvents * get_singleton()
RC_Channel manager, with EEPROM-backed storage of constants.
static AP_ServoRelayEvents * _singleton
Common definitions and utility routines for the ArduPilot libraries.
uint16_t get_trim(void) const
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
bool do_set_relay(uint8_t relay_num, uint8_t state)
void set_output_pwm(uint16_t pwm)