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 @@ -74,21 +74,6 @@ struct spi_s {
74
74
PinName pin_ssel ;
75
75
};
76
76
77
- struct i2c_s {
78
- I2CName i2c ;
79
- I2C_HandleTypeDef handle ;
80
- IRQn_Type event_i2cIRQ ;
81
- IRQn_Type error_i2cIRQ ;
82
- uint32_t slave ;
83
- #if DEVICE_I2C_ASYNCH
84
- uint32_t event ;
85
- uint32_t address ;
86
- uint32_t stop ;
87
- uint32_t available_events ;
88
- uint32_t XferOperation ;
89
- #endif
90
- };
91
-
92
77
#include "common_objects.h"
93
78
#include "gpio_object.h"
94
79
Original file line number Diff line number Diff line change @@ -68,6 +68,21 @@ struct serial_s {
68
68
#endif
69
69
};
70
70
71
+ struct i2c_s {
72
+ I2CName i2c ;
73
+ I2C_HandleTypeDef handle ;
74
+ IRQn_Type event_i2cIRQ ;
75
+ IRQn_Type error_i2cIRQ ;
76
+ uint32_t slave ;
77
+ #if DEVICE_I2C_ASYNCH
78
+ uint32_t event ;
79
+ uint32_t address ;
80
+ uint32_t stop ;
81
+ uint32_t available_events ;
82
+ uint32_t XferOperation ;
83
+ #endif
84
+ };
85
+
71
86
#include "gpio_object.h"
72
87
73
88
#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments