APM:Libraries
Macros | Functions | Variables
RCOutput_PRU.cpp File Reference
#include "RCOutput_PRU.h"
#include <dirent.h>
#include <fcntl.h>
#include <linux/spi/spidev.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <AP_HAL/AP_HAL.h>
Include dependency graph for RCOutput_PRU.cpp:

Go to the source code of this file.

Macros

#define PWM_CHAN_COUNT   12
 

Functions

static void catch_sigbus (int sig)
 

Variables

static const uint8_t chan_pru_map [] = {10,8,11,9,7,6,5,4,3,2,1,0}
 

Macro Definition Documentation

◆ PWM_CHAN_COUNT

#define PWM_CHAN_COUNT   12

Definition at line 20 of file RCOutput_PRU.cpp.

Referenced by Linux::RCOutput_PRU::read(), and Linux::RCOutput_PRU::set_freq().

Function Documentation

◆ catch_sigbus()

static void catch_sigbus ( int  sig)
static

Definition at line 24 of file RCOutput_PRU.cpp.

Referenced by Linux::RCOutput_PRU::init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ chan_pru_map

const uint8_t chan_pru_map[] = {10,8,11,9,7,6,5,4,3,2,1,0}
static