File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
hal/targets/hal/TARGET_STM/TARGET_STM32F4 Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -60,21 +60,6 @@ struct analogin_s {
60
60
uint8_t channel ;
61
61
};
62
62
63
- struct i2c_s {
64
- I2CName i2c ;
65
- I2C_HandleTypeDef handle ;
66
- IRQn_Type event_i2cIRQ ;
67
- IRQn_Type error_i2cIRQ ;
68
- uint32_t slave ;
69
- #if DEVICE_I2C_ASYNCH
70
- uint32_t event ;
71
- uint32_t address ;
72
- uint32_t stop ;
73
- uint32_t available_events ;
74
- uint32_t XferOperation ;
75
- #endif
76
- };
77
-
78
63
#include "common_objects.h"
79
64
#include "gpio_object.h"
80
65
Original file line number Diff line number Diff line change @@ -83,6 +83,21 @@ struct spi_s {
83
83
#endif
84
84
};
85
85
86
+ struct i2c_s {
87
+ I2CName i2c ;
88
+ I2C_HandleTypeDef handle ;
89
+ IRQn_Type event_i2cIRQ ;
90
+ IRQn_Type error_i2cIRQ ;
91
+ uint32_t slave ;
92
+ #if DEVICE_I2C_ASYNCH
93
+ uint32_t event ;
94
+ uint32_t address ;
95
+ uint32_t stop ;
96
+ uint32_t available_events ;
97
+ uint32_t XferOperation ;
98
+ #endif
99
+ };
100
+
86
101
#include "gpio_object.h"
87
102
88
103
#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments