Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
tiny_2.1.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FOSC   (12000000)
 
#define PLL_MUL   (5)
 
#define CCLK   (FOSC * PLL_MUL)
 
#define PBSD_BITS   0x00
 
#define PBSD_VAL   4
 
#define PCLK   (CCLK / PBSD_VAL)
 
#define USE_LED_1   1
 
#define LED_1_BANK   1
 
#define LED_1_PIN   17
 
#define USE_LED_2   1
 
#define LED_2_BANK   1
 
#define LED_2_PIN   16
 
#define USE_LED_3   1
 
#define LED_3_BANK   1
 
#define LED_3_PIN   23
 
#define POWER_SWITCH_GPIO   GPIOB,GPIO18
 
#define CAM_SWITCH_GPIO   GPIOB,GPIO22
 
#define GPS_RESET_GPIO   GPIOB,GPIO21
 
#define Configure_GPS_RESET_Pin()   gpio_setup_output(GPS_RESET_GPIO)
 
#define Set_GPS_RESET_Pin_LOW()   gpio_clear(GPS_RESET_GPIO)
 
#define Open_GPS_RESET_Pin()   gpio_setup_input(GPS_RESET_GPIO)
 
#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_4017.h"
 
#define ActuatorDefaultSet(_x, _y)   Actuator4017Set(_x,_y)
 
#define ActuatorsDefaultInit()   Actuators4017Init()
 
#define ActuatorsDefaultCommit()   Actuators4017Commit()
 
#define SERVO_CLOCK_PIN   5
 
#define SERVO_CLOCK_PINSEL   PINSEL0
 
#define SERVO_CLOCK_PINSEL_VAL   0x02
 
#define SERVO_CLOCK_PINSEL_BIT   10
 
#define SERVO_RESET_PIN   20
 
#define PPM_PINSEL   PINSEL0
 
#define PPM_PINSEL_VAL   0x02
 
#define PPM_PINSEL_BIT   12
 
#define PPM_CRI   TIR_CR2I
 
#define PPM_CCR_CRF   TCCR_CR2_F
 
#define PPM_CCR_CRR   TCCR_CR2_R
 
#define PPM_CCR_CRI   TCCR_CR2_I
 
#define PPM_CR   T0CR2
 
#define ADC_0   AdcBank1(6)
 
#define ADC_1   AdcBank1(7)
 
#define ADC_2   AdcBank0(4)
 
#define ADC_3   AdcBank0(6)
 
#define ADC_4   AdcBank0(3)
 
#define ADC_5   AdcBank0(2)
 
#define ADC_6   AdcBank0(1)
 
#define ADC_7   AdcBank1(3)
 
#define ADC_CHANNEL_VSUPPLY   AdcBank1(5)
 
#define USE_AD1
 
#define USE_AD1_5
 
#define DefaultVoltageOfAdc(adc)   (0.01787109375*adc)
 
#define SPI_SELECT_SLAVE0_PORT   0
 
#define SPI_SELECT_SLAVE0_PIN   20
 
#define SPI_SELECT_SLAVE0_PINSEL   PINSEL1
 
#define SPI_SELECT_SLAVE0_PINSEL_BIT   8
 
#define SPI_SELECT_SLAVE0_PINSEL_VAL   0
 
#define SPI1_DRDY_PINSEL   PINSEL1
 
#define SPI1_DRDY_PINSEL_BIT   0
 
#define SPI1_DRDY_PINSEL_VAL   1
 
#define SPI1_DRDY_EINT   0
 
#define SPI1_DRDY_VIC_IT   VIC_EINT0
 
#define MAX1168_EOC_PIN   16
 
#define MAX1168_EOC_PINSEL   PINSEL1
 
#define MAX1168_EOC_PINSEL_BIT   0
 
#define MAX1168_EOC_PINSEL_VAL   1
 
#define MAX1168_EOC_EINT   0
 
#define MAX1168_EOC_VIC_IT   VIC_EINT0
 

Macro Definition Documentation

#define ActuatorDefaultSet (   _x,
  _y 
)    Actuator4017Set(_x,_y)

Definition at line 73 of file tiny_2.1.h.

#define ActuatorsDefaultCommit ( )    Actuators4017Commit()

Definition at line 75 of file tiny_2.1.h.

#define ActuatorsDefaultInit ( )    Actuators4017Init()

Definition at line 74 of file tiny_2.1.h.

#define ADC_0   AdcBank1(6)

Definition at line 97 of file tiny_2.1.h.

#define ADC_1   AdcBank1(7)

Definition at line 105 of file tiny_2.1.h.

#define ADC_2   AdcBank0(4)

Definition at line 114 of file tiny_2.1.h.

#define ADC_3   AdcBank0(6)

Definition at line 122 of file tiny_2.1.h.

#define ADC_4   AdcBank0(3)

Definition at line 130 of file tiny_2.1.h.

#define ADC_5   AdcBank0(2)

Definition at line 138 of file tiny_2.1.h.

#define ADC_6   AdcBank0(1)

Definition at line 146 of file tiny_2.1.h.

#define ADC_7   AdcBank1(3)

Definition at line 154 of file tiny_2.1.h.

#define ADC_CHANNEL_VSUPPLY   AdcBank1(5)

Definition at line 164 of file tiny_2.1.h.

#define CAM_SWITCH_GPIO   GPIOB,GPIO22

Definition at line 63 of file tiny_2.1.h.

#define CCLK   (FOSC * PLL_MUL)

Definition at line 17 of file tiny_2.1.h.

#define Configure_GPS_RESET_Pin ( )    gpio_setup_output(GPS_RESET_GPIO)

Definition at line 67 of file tiny_2.1.h.

#define DEFAULT_ACTUATORS   "subsystems/actuators/actuators_4017.h"

Definition at line 72 of file tiny_2.1.h.

#define DefaultVoltageOfAdc (   adc)    (0.01787109375*adc)

Definition at line 172 of file tiny_2.1.h.

#define FOSC   (12000000)

Definition at line 11 of file tiny_2.1.h.

#define GPS_RESET_GPIO   GPIOB,GPIO21

Definition at line 65 of file tiny_2.1.h.

#define LED_1_BANK   1

Definition at line 44 of file tiny_2.1.h.

#define LED_1_PIN   17

Definition at line 45 of file tiny_2.1.h.

#define LED_2_BANK   1

Definition at line 51 of file tiny_2.1.h.

#define LED_2_PIN   16

Definition at line 52 of file tiny_2.1.h.

#define LED_3_BANK   1

Definition at line 58 of file tiny_2.1.h.

#define LED_3_PIN   23

Definition at line 59 of file tiny_2.1.h.

#define MAX1168_EOC_EINT   0

Definition at line 192 of file tiny_2.1.h.

#define MAX1168_EOC_PIN   16

Definition at line 188 of file tiny_2.1.h.

#define MAX1168_EOC_PINSEL   PINSEL1

Definition at line 189 of file tiny_2.1.h.

#define MAX1168_EOC_PINSEL_BIT   0

Definition at line 190 of file tiny_2.1.h.

#define MAX1168_EOC_PINSEL_VAL   1

Definition at line 191 of file tiny_2.1.h.

#define MAX1168_EOC_VIC_IT   VIC_EINT0

Definition at line 193 of file tiny_2.1.h.

#define Open_GPS_RESET_Pin ( )    gpio_setup_input(GPS_RESET_GPIO)

Definition at line 69 of file tiny_2.1.h.

#define PBSD_BITS   0x00

Definition at line 33 of file tiny_2.1.h.

#define PBSD_VAL   4

Definition at line 34 of file tiny_2.1.h.

#define PCLK   (CCLK / PBSD_VAL)

Definition at line 38 of file tiny_2.1.h.

#define PLL_MUL   (5)

Definition at line 14 of file tiny_2.1.h.

#define POWER_SWITCH_GPIO   GPIOB,GPIO18

Definition at line 61 of file tiny_2.1.h.

#define PPM_CCR_CRF   TCCR_CR2_F

Definition at line 90 of file tiny_2.1.h.

#define PPM_CCR_CRI   TCCR_CR2_I

Definition at line 92 of file tiny_2.1.h.

#define PPM_CCR_CRR   TCCR_CR2_R

Definition at line 91 of file tiny_2.1.h.

#define PPM_CR   T0CR2

Definition at line 93 of file tiny_2.1.h.

#define PPM_CRI   TIR_CR2I

Definition at line 89 of file tiny_2.1.h.

#define PPM_PINSEL   PINSEL0

Definition at line 86 of file tiny_2.1.h.

#define PPM_PINSEL_BIT   12

Definition at line 88 of file tiny_2.1.h.

#define PPM_PINSEL_VAL   0x02

Definition at line 87 of file tiny_2.1.h.

#define SERVO_CLOCK_PIN   5

Definition at line 78 of file tiny_2.1.h.

#define SERVO_CLOCK_PINSEL   PINSEL0

Definition at line 79 of file tiny_2.1.h.

#define SERVO_CLOCK_PINSEL_BIT   10

Definition at line 81 of file tiny_2.1.h.

#define SERVO_CLOCK_PINSEL_VAL   0x02

Definition at line 80 of file tiny_2.1.h.

#define SERVO_RESET_PIN   20

Definition at line 83 of file tiny_2.1.h.

#define Set_GPS_RESET_Pin_LOW ( )    gpio_clear(GPS_RESET_GPIO)

Definition at line 68 of file tiny_2.1.h.

#define SPI1_DRDY_EINT   0

Definition at line 183 of file tiny_2.1.h.

#define SPI1_DRDY_PINSEL   PINSEL1

Definition at line 180 of file tiny_2.1.h.

#define SPI1_DRDY_PINSEL_BIT   0

Definition at line 181 of file tiny_2.1.h.

#define SPI1_DRDY_PINSEL_VAL   1

Definition at line 182 of file tiny_2.1.h.

#define SPI1_DRDY_VIC_IT   VIC_EINT0

Definition at line 184 of file tiny_2.1.h.

#define SPI_SELECT_SLAVE0_PIN   20

Definition at line 175 of file tiny_2.1.h.

#define SPI_SELECT_SLAVE0_PINSEL   PINSEL1

Definition at line 176 of file tiny_2.1.h.

#define SPI_SELECT_SLAVE0_PINSEL_BIT   8

Definition at line 177 of file tiny_2.1.h.

#define SPI_SELECT_SLAVE0_PINSEL_VAL   0

Definition at line 178 of file tiny_2.1.h.

#define SPI_SELECT_SLAVE0_PORT   0

Definition at line 174 of file tiny_2.1.h.

#define USE_AD1

Definition at line 166 of file tiny_2.1.h.

#define USE_AD1_5

Definition at line 168 of file tiny_2.1.h.

#define USE_LED_1   1

Definition at line 42 of file tiny_2.1.h.

#define USE_LED_2   1

Definition at line 49 of file tiny_2.1.h.

#define USE_LED_3   1

Definition at line 56 of file tiny_2.1.h.