Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
i2c_arch.h
Go to the documentation of this file.
1 #ifndef SIM_MCU_PERIPH_I2C_ARCH_H
2 #define SIM_MCU_PERIPH_I2C_ARCH_H
3 
4 #include "mcu_periph/i2c.h"
5 
6 #define I2cSendStart() {}
7 
8 
9 #ifdef USE_I2C0
10 
11 extern void i2c0_hw_init(void);
12 #define i2c0_ev_irq_handler() {}
13 #define i2c0_er_irq_handler() {}
14 
15 #endif /* USE_I2C0 */
16 
17 
18 #ifdef USE_I2C1
19 
20 extern void i2c1_hw_init(void);
21 #define i2c1_ev_irq_handler() {}
22 #define i2c1_er_irq_handler() {}
23 
24 #endif /* USE_I2C1 */
25 
26 
27 #ifdef USE_I2C2
28 
29 extern void i2c2_hw_init(void);
30 #define i2c2_ev_irq_handler() {}
31 #define i2c2_er_irq_handler() {}
32 
33 #endif /* USE_I2C2 */
34 
35 
36 #endif /* SIM_MCU_PERIPH_I2C_ARCH_H */