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
lpcVIC.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vicRegs_t
 

Macros

#define VIC_WDT   0
 
#define VIC_ARMCore0   2
 
#define VIC_ARMCore1   3
 
#define VIC_TIMER0   4
 
#define VIC_TIMER1   5
 
#define VIC_UART0   6
 
#define VIC_UART1   7
 
#define VIC_PWM   8
 
#define VIC_PWM0   8
 
#define VIC_I2C0   9
 
#define VIC_SPI   10
 
#define VIC_SPI0   10
 
#define VIC_SPI1   11
 
#define VIC_PLL   12
 
#define VIC_RTC   13
 
#define VIC_EINT0   14
 
#define VIC_EINT1   15
 
#define VIC_EINT2   16
 
#define VIC_EINT3   17
 
#define VIC_AD0   18
 
#define VIC_I2C1   19
 
#define VIC_BOD   20
 
#define VIC_AD1   21
 
#define VIC_USB   22
 
#define VIC_CAN   19
 
#define VIC_CAN1_TX   20
 
#define VIC_CAN2_TX   21
 
#define VIC_CAN1_RX   26
 
#define VIC_CAN2_RX   27
 
#define VIC_ENABLE   (1 << 5)
 
#define VIC_BIT(chan)   (1 << (chan))
 

Data Structure Documentation

struct vicRegs_t

Definition at line 18 of file lpcVIC.h.

Data Fields
REG32 _pad0[3]
REG32 _pad1[50]
REG32 _pad2[48]
REG32 defVectAddr
REG32 fiqStatus
REG32 intEnable
REG32 intEnClear
REG32 intSelect
REG32 irqStatus
REG32 protection
REG32 rawIntr
REG32 softInt
REG32 softIntClear
REG32 vectAddr
REG32 vectAddr0
REG32 vectAddr1
REG32 vectAddr10
REG32 vectAddr11
REG32 vectAddr12
REG32 vectAddr13
REG32 vectAddr14
REG32 vectAddr15
REG32 vectAddr2
REG32 vectAddr3
REG32 vectAddr4
REG32 vectAddr5
REG32 vectAddr6
REG32 vectAddr7
REG32 vectAddr8
REG32 vectAddr9
REG32 vectCntl0
REG32 vectCntl1
REG32 vectCntl10
REG32 vectCntl11
REG32 vectCntl12
REG32 vectCntl13
REG32 vectCntl14
REG32 vectCntl15
REG32 vectCntl2
REG32 vectCntl3
REG32 vectCntl4
REG32 vectCntl5
REG32 vectCntl6
REG32 vectCntl7
REG32 vectCntl8
REG32 vectCntl9

Macro Definition Documentation

#define VIC_AD0   18

Definition at line 88 of file lpcVIC.h.

Referenced by adc_init().

#define VIC_AD1   21

Definition at line 91 of file lpcVIC.h.

Referenced by adc_init().

#define VIC_ARMCore0   2

Definition at line 70 of file lpcVIC.h.

#define VIC_ARMCore1   3

Definition at line 71 of file lpcVIC.h.

#define VIC_BOD   20

Definition at line 90 of file lpcVIC.h.

#define VIC_CAN   19

Definition at line 94 of file lpcVIC.h.

#define VIC_CAN1_RX   26

Definition at line 97 of file lpcVIC.h.

#define VIC_CAN1_TX   20

Definition at line 95 of file lpcVIC.h.

#define VIC_CAN2_RX   27

Definition at line 98 of file lpcVIC.h.

#define VIC_CAN2_TX   21

Definition at line 96 of file lpcVIC.h.

#define VIC_EINT0   14

Definition at line 84 of file lpcVIC.h.

#define VIC_EINT1   15

Definition at line 85 of file lpcVIC.h.

#define VIC_EINT2   16

Definition at line 86 of file lpcVIC.h.

#define VIC_EINT3   17

Definition at line 87 of file lpcVIC.h.

#define VIC_I2C0   9

Definition at line 78 of file lpcVIC.h.

#define VIC_I2C1   19

Definition at line 89 of file lpcVIC.h.

#define VIC_PLL   12

Definition at line 82 of file lpcVIC.h.

#define VIC_PWM   8

Definition at line 76 of file lpcVIC.h.

Referenced by actuators_4015_init().

#define VIC_PWM0   8

Definition at line 77 of file lpcVIC.h.

#define VIC_RTC   13

Definition at line 83 of file lpcVIC.h.

#define VIC_SPI   10

Definition at line 79 of file lpcVIC.h.

#define VIC_SPI0   10

Definition at line 80 of file lpcVIC.h.

Referenced by spi0_arch_init().

#define VIC_SPI1   11
#define VIC_TIMER0   4

Definition at line 72 of file lpcVIC.h.

Referenced by sys_time_arch_init().

#define VIC_TIMER1   5

Definition at line 73 of file lpcVIC.h.

#define VIC_UART0   6

Definition at line 74 of file lpcVIC.h.

#define VIC_UART1   7

Definition at line 75 of file lpcVIC.h.

#define VIC_USB   22

Definition at line 92 of file lpcVIC.h.

Referenced by VCOM_init().

#define VIC_WDT   0

Definition at line 69 of file lpcVIC.h.