Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
servos_4015_hw_new.c File Reference
#include "actuators.h"
#include "armVIC.h"
#include "generated/airframe.h"
#include "mcu_periph/sys_time.h"
+ Include dependency graph for servos_4015_hw_new.c:

Go to the source code of this file.

Macros

#define PWMMR_SERV0   PWMMR5
 
#define PWMMR_SERV1   PWMMR2
 
#define PWMLER_LATCH_SERV0   PWMLER_LATCH5
 
#define PWMLER_LATCH_SERV1   PWMLER_LATCH2
 
#define PWMMCR_MRI_SERV0   PWMMCR_MR5I
 
#define PWMMCR_MRI_SERV1   PWMMCR_MR2I
 
#define PWMPCR_ENA_SERV0   PWMPCR_ENA5
 
#define PWMPCR_ENA_SERV1   PWMPCR_ENA2
 
#define PWMIR_MRI_SERV0   PWMIR_MR5I
 
#define PWMIR_MRI_SERV1   PWMIR_MR2I
 
#define SERVO_REFRESH_TICS   SERVOS_TICS_OF_USEC(25000)
 

Functions

void actuators_init (void)
 
void PWM_ISR (void)
 

Variables

uint16_t servos_values [_4015_NB_CHANNELS]
 
static uint8_t servos_idx = 0
 
static uint32_t servos_delay
 

Macro Definition Documentation

#define PWMIR_MRI_SERV0   PWMIR_MR5I

Definition at line 18 of file servos_4015_hw_new.c.

Referenced by PWM_ISR().

#define PWMIR_MRI_SERV1   PWMIR_MR2I

Definition at line 19 of file servos_4015_hw_new.c.

Referenced by PWM_ISR().

#define PWMLER_LATCH_SERV0   PWMLER_LATCH5

Definition at line 12 of file servos_4015_hw_new.c.

Referenced by actuators_init(), and PWM_ISR().

#define PWMLER_LATCH_SERV1   PWMLER_LATCH2

Definition at line 13 of file servos_4015_hw_new.c.

Referenced by actuators_init(), and PWM_ISR().

#define PWMMCR_MRI_SERV0   PWMMCR_MR5I

Definition at line 14 of file servos_4015_hw_new.c.

Referenced by PWM_ISR().

#define PWMMCR_MRI_SERV1   PWMMCR_MR2I

Definition at line 15 of file servos_4015_hw_new.c.

Referenced by actuators_init(), and PWM_ISR().

#define PWMMR_SERV0   PWMMR5

Definition at line 10 of file servos_4015_hw_new.c.

Referenced by actuators_init(), and PWM_ISR().

#define PWMMR_SERV1   PWMMR2

Definition at line 11 of file servos_4015_hw_new.c.

Referenced by actuators_init(), and PWM_ISR().

#define PWMPCR_ENA_SERV0   PWMPCR_ENA5

Definition at line 16 of file servos_4015_hw_new.c.

Referenced by actuators_init().

#define PWMPCR_ENA_SERV1   PWMPCR_ENA2

Definition at line 17 of file servos_4015_hw_new.c.

Referenced by actuators_init().

#define SERVO_REFRESH_TICS   SERVOS_TICS_OF_USEC(25000)

Definition at line 68 of file servos_4015_hw_new.c.

Referenced by PWM_ISR().

Function Documentation

Variable Documentation

uint32_t servos_delay
static

Definition at line 72 of file servos_4015_hw_new.c.

Referenced by PWM_ISR().

uint8_t servos_idx = 0
static

Definition at line 71 of file servos_4015_hw_new.c.

Referenced by PWM_ISR().

uint16_t servos_values[_4015_NB_CHANNELS]

Definition at line 8 of file servos_4015_hw_new.c.

Referenced by actuators_init(), and PWM_ISR().