APM:Libraries
Classes | Namespaces | Macros
RCOutput_PRU.h File Reference
#include "AP_HAL_Linux.h"
Include dependency graph for RCOutput_PRU.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Linux::RCOutput_PRU
 
struct  Linux::RCOutput_PRU::pwm_cmd
 

Namespaces

 Linux
 

Macros

#define RCOUT_PRUSS_SHAREDRAM_BASE   0x4a310000
 
#define MAX_PWMS   12
 
#define PWM_CMD_MAGIC   0xf00fbaaf
 
#define PWM_REPLY_MAGIC   0xbaaff00f
 
#define PWM_CMD_CONFIG   0 /* full configuration in one go */
 
#define PWM_CMD_ENABLE   1 /* enable a pwm */
 
#define PWM_CMD_DISABLE   2 /* disable a pwm */
 
#define PWM_CMD_MODIFY   3 /* modify a pwm */
 
#define PWM_CMD_SET   4 /* set a pwm output explicitly */
 
#define PWM_CMD_CLR   5 /* clr a pwm output explicitly */
 
#define PWM_CMD_TEST   6 /* various crap */
 

Macro Definition Documentation

◆ MAX_PWMS

#define MAX_PWMS   12

Definition at line 5 of file RCOutput_PRU.h.

◆ PWM_CMD_CLR

#define PWM_CMD_CLR   5 /* clr a pwm output explicitly */

Definition at line 13 of file RCOutput_PRU.h.

◆ PWM_CMD_CONFIG

#define PWM_CMD_CONFIG   0 /* full configuration in one go */

Definition at line 8 of file RCOutput_PRU.h.

◆ PWM_CMD_DISABLE

#define PWM_CMD_DISABLE   2 /* disable a pwm */

Definition at line 10 of file RCOutput_PRU.h.

◆ PWM_CMD_ENABLE

#define PWM_CMD_ENABLE   1 /* enable a pwm */

Definition at line 9 of file RCOutput_PRU.h.

◆ PWM_CMD_MAGIC

#define PWM_CMD_MAGIC   0xf00fbaaf

Definition at line 6 of file RCOutput_PRU.h.

◆ PWM_CMD_MODIFY

#define PWM_CMD_MODIFY   3 /* modify a pwm */

Definition at line 11 of file RCOutput_PRU.h.

◆ PWM_CMD_SET

#define PWM_CMD_SET   4 /* set a pwm output explicitly */

Definition at line 12 of file RCOutput_PRU.h.

◆ PWM_CMD_TEST

#define PWM_CMD_TEST   6 /* various crap */

Definition at line 14 of file RCOutput_PRU.h.

◆ PWM_REPLY_MAGIC

#define PWM_REPLY_MAGIC   0xbaaff00f

Definition at line 7 of file RCOutput_PRU.h.

◆ RCOUT_PRUSS_SHAREDRAM_BASE

#define RCOUT_PRUSS_SHAREDRAM_BASE   0x4a310000

Definition at line 4 of file RCOutput_PRU.h.

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