Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/targets/f6/furi-hal/furi-hal-resources.h')
-rw-r--r--firmware/targets/f6/furi-hal/furi-hal-resources.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/firmware/targets/f6/furi-hal/furi-hal-resources.h b/firmware/targets/f6/furi-hal/furi-hal-resources.h
index bec183ef..feec0451 100644
--- a/firmware/targets/f6/furi-hal/furi-hal-resources.h
+++ b/firmware/targets/f6/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
@@ -98,6 +80,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
}