56 static unsigned long freq2tick(uint16_t freq_hz);
71 static constexpr
const char *
_device =
"/dev/mem";
class OcpocMmapPWMOut PWM output class for Aerotenna OcPoC via mmap
static constexpr int MAX_ZYNQ_PWMS
maximum number of pwm channels
volatile struct pwm_cmd * _shared_mem_cmd
OcpocMmapPWMOut(int max_num_outputs)
class PWMOutBase common abstract PWM output base class
static unsigned long freq2tick(uint16_t freq_hz)
int send_output_pwm(const uint16_t *pwm, int num_outputs) override
virtual ~OcpocMmapPWMOut()
static constexpr const char * _device