Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
hbmini_1.0.h File Reference

Go to the source code of this file.

Macros

#define FOSC   (12000000)
 
#define PLL_MUL   (5)
 
#define CCLK   (FOSC * PLL_MUL)
 
#define PBSD_BITS   0x02
 
#define PBSD_VAL   2
 
#define PCLK   (CCLK / PBSD_VAL)
 
#define USE_LED_1   1
 
#define LED_1_BANK   0
 
#define LED_1_PIN   22
 
#define USE_LED_2   1
 
#define LED_2_BANK   1
 
#define LED_2_PIN   28
 
#define USE_LED_3   1
 
#define LED_3_BANK   1
 
#define LED_3_PIN   29
 
#define USE_LED_4   1
 
#define LED_4_BANK   1
 
#define LED_4_PIN   30
 
#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_CHANNEL_VSUPPLY   AdcBank1(6)
 
#define USE_AD1
 
#define USE_AD1_6
 
#define DefaultVoltageOfAdc(adc)   (0.03385*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
 
#define USE_BARO_BOARD   1
 

Macro Definition Documentation

#define ADC_0   AdcBank1(6)

Definition at line 58 of file hbmini_1.0.h.

#define ADC_CHANNEL_VSUPPLY   AdcBank1(6)

Definition at line 69 of file hbmini_1.0.h.

#define CCLK   (FOSC * PLL_MUL)

Definition at line 11 of file hbmini_1.0.h.

#define DefaultVoltageOfAdc (   adc)    (0.03385*adc)

Definition at line 76 of file hbmini_1.0.h.

#define FOSC   (12000000)

Definition at line 5 of file hbmini_1.0.h.

#define LED_1_BANK   0

Definition at line 24 of file hbmini_1.0.h.

#define LED_1_PIN   22

Definition at line 25 of file hbmini_1.0.h.

#define LED_2_BANK   1

Definition at line 30 of file hbmini_1.0.h.

#define LED_2_PIN   28

Definition at line 31 of file hbmini_1.0.h.

#define LED_3_BANK   1

Definition at line 36 of file hbmini_1.0.h.

#define LED_3_PIN   29

Definition at line 37 of file hbmini_1.0.h.

#define LED_4_BANK   1

Definition at line 42 of file hbmini_1.0.h.

#define LED_4_PIN   30

Definition at line 43 of file hbmini_1.0.h.

#define MAX1168_EOC_EINT   0

Definition at line 100 of file hbmini_1.0.h.

#define MAX1168_EOC_PIN   16

Definition at line 96 of file hbmini_1.0.h.

#define MAX1168_EOC_PINSEL   PINSEL1

Definition at line 97 of file hbmini_1.0.h.

#define MAX1168_EOC_PINSEL_BIT   0

Definition at line 98 of file hbmini_1.0.h.

#define MAX1168_EOC_PINSEL_VAL   1

Definition at line 99 of file hbmini_1.0.h.

#define MAX1168_EOC_VIC_IT   VIC_EINT0

Definition at line 101 of file hbmini_1.0.h.

#define PBSD_BITS   0x02

Definition at line 14 of file hbmini_1.0.h.

#define PBSD_VAL   2

Definition at line 15 of file hbmini_1.0.h.

#define PCLK   (CCLK / PBSD_VAL)

Definition at line 18 of file hbmini_1.0.h.

#define PLL_MUL   (5)

Definition at line 8 of file hbmini_1.0.h.

#define PPM_CCR_CRF   TCCR_CR2_F

Definition at line 50 of file hbmini_1.0.h.

#define PPM_CCR_CRI   TCCR_CR2_I

Definition at line 52 of file hbmini_1.0.h.

#define PPM_CCR_CRR   TCCR_CR2_R

Definition at line 51 of file hbmini_1.0.h.

#define PPM_CR   T0CR2

Definition at line 53 of file hbmini_1.0.h.

#define PPM_CRI   TIR_CR2I

Definition at line 49 of file hbmini_1.0.h.

#define PPM_PINSEL   PINSEL0

Definition at line 46 of file hbmini_1.0.h.

#define PPM_PINSEL_BIT   12

Definition at line 48 of file hbmini_1.0.h.

#define PPM_PINSEL_VAL   0x02

Definition at line 47 of file hbmini_1.0.h.

#define SPI1_DRDY_EINT   0

Definition at line 91 of file hbmini_1.0.h.

Referenced by baro_scp_init(), and EXTINT_ISR().

#define SPI1_DRDY_PINSEL   PINSEL1

Definition at line 88 of file hbmini_1.0.h.

Referenced by baro_scp_init().

#define SPI1_DRDY_PINSEL_BIT   0

Definition at line 89 of file hbmini_1.0.h.

Referenced by baro_scp_init().

#define SPI1_DRDY_PINSEL_VAL   1

Definition at line 90 of file hbmini_1.0.h.

Referenced by baro_scp_init().

#define SPI1_DRDY_VIC_IT   VIC_EINT0

Definition at line 92 of file hbmini_1.0.h.

Referenced by baro_scp_init().

#define SPI_SELECT_SLAVE0_PIN   20

Definition at line 80 of file hbmini_1.0.h.

#define SPI_SELECT_SLAVE0_PINSEL   PINSEL1

Definition at line 81 of file hbmini_1.0.h.

#define SPI_SELECT_SLAVE0_PINSEL_BIT   8

Definition at line 82 of file hbmini_1.0.h.

#define SPI_SELECT_SLAVE0_PINSEL_VAL   0

Definition at line 83 of file hbmini_1.0.h.

#define SPI_SELECT_SLAVE0_PORT   0

Definition at line 79 of file hbmini_1.0.h.

#define USE_AD1

Definition at line 71 of file hbmini_1.0.h.

#define USE_AD1_6

Definition at line 73 of file hbmini_1.0.h.

#define USE_BARO_BOARD   1

Definition at line 120 of file hbmini_1.0.h.

#define USE_LED_1   1

Definition at line 22 of file hbmini_1.0.h.

#define USE_LED_2   1

Definition at line 28 of file hbmini_1.0.h.

#define USE_LED_3   1

Definition at line 34 of file hbmini_1.0.h.

#define USE_LED_4   1

Definition at line 40 of file hbmini_1.0.h.