diff options
Diffstat (limited to 'firmware/targets/f7/furi-hal/furi-hal-resources.h')
-rw-r--r-- | firmware/targets/f7/furi-hal/furi-hal-resources.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/firmware/targets/f7/furi-hal/furi-hal-resources.h b/firmware/targets/f7/furi-hal/furi-hal-resources.h index 09af7532..aed61372 100644 --- a/firmware/targets/f7/furi-hal/furi-hal-resources.h +++ b/firmware/targets/f7/furi-hal/furi-hal-resources.h @@ -10,24 +10,6 @@ extern "C" { #endif -#define POWER_I2C_SCL_Pin LL_GPIO_PIN_9 -#define POWER_I2C_SCL_GPIO_Port GPIOA -#define POWER_I2C_SDA_Pin LL_GPIO_PIN_10 -#define POWER_I2C_SDA_GPIO_Port GPIOA - -#define POWER_I2C I2C1 -/** Timing register value is computed with the STM32CubeMX Tool, - * Standard Mode @100kHz with I2CCLK = 64 MHz, - * rise time = 0ns, fall time = 0ns - */ -#define POWER_I2C_TIMINGS_100 0x10707DBC - -/** Timing register value is computed with the STM32CubeMX Tool, - * Fast Mode @400kHz with I2CCLK = 64 MHz, - * rise time = 0ns, fall time = 0ns - */ -#define POWER_I2C_TIMINGS_400 0x00602173 - /* Input Related Constants */ #define INPUT_DEBOUNCE_TICKS 20 @@ -99,6 +81,9 @@ extern const GpioPin gpio_irda_tx; extern const GpioPin gpio_usart_tx; extern const GpioPin gpio_usart_rx; +extern const GpioPin gpio_i2c_power_sda; +extern const GpioPin gpio_i2c_power_scl; + #ifdef __cplusplus } |