mirror of https://github.com/ARMmbed/mbed-os.git
STM32: correct __cplusplus brackets in ci2c_device.h
parent
073c82e568
commit
81dc8f8605
|
@ -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
|
||||
|
|
|
@ -45,4 +45,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -44,4 +44,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -31,4 +31,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -31,4 +31,8 @@ extern "C" {
|
|||
|
||||
#endif // DEVICE_I2C
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue