PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "ocpoc_mmap.h"
#include <px4_platform_common/log.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | RCOUT_ZYNQ_PWM_BASE 0x43c00000 |
Variables | |
static const int | TICK_PER_US = 50 |
static const int | FREQUENCY_PWM = 400 |
static const int | TICK_PER_S = 50000000 |
#define RCOUT_ZYNQ_PWM_BASE 0x43c00000 |
Definition at line 44 of file ocpoc_mmap.cpp.
Referenced by linux_pwm_out::OcpocMmapPWMOut::init().
|
static |
Definition at line 46 of file ocpoc_mmap.cpp.
Referenced by linux_pwm_out::OcpocMmapPWMOut::init().
|
static |
Definition at line 47 of file ocpoc_mmap.cpp.
Referenced by linux_pwm_out::OcpocMmapPWMOut::freq2tick().
|
static |
Definition at line 45 of file ocpoc_mmap.cpp.
Referenced by linux_pwm_out::OcpocMmapPWMOut::send_output_pwm().