Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F0/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32F0/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F1/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F1/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ extern "C" {

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F2/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F2/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ extern "C" {

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F3/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32F3/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F4/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F4/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ extern "C" {

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32F7/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32F7/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32G0/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32G4/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32H7/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32L0/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L1/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ extern "C" {

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L4/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32L4/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 4 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L5/can_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ extern "C" {

#endif // DEVICE_CAN

#ifdef __cplusplus
}
#endif

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32L5/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32WB/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif
4 changes: 3 additions & 1 deletion targets/TARGET_STM/TARGET_STM32WL/i2c_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ uint32_t i2c_get_timing(I2CName i2c, int hz);
void i2c_compute_presc_scldel_sdadel(uint32_t clock_src_freq, uint32_t I2C_speed);
uint32_t i2c_compute_scll_sclh(uint32_t clock_src_freq, uint32_t I2C_speed);

#endif // DEVICE_I2C

#ifdef __cplusplus
}
#endif
#endif // DEVICE_I2C

#endif