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

furi-hal-i2c-config.h « furi-hal « f7 « targets « firmware - github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2094dca3ae764c1502610c6ad07d4ded66374b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once

#include <furi-hal-i2c-types.h>

#ifdef __cplusplus
extern "C" {
#endif

/** Internal(power) i2c bus, I2C1, under reset when not used */
extern FuriHalI2cBus furi_hal_i2c_bus_power;

/** External i2c bus, I2C3, under reset when not used */
extern FuriHalI2cBus furi_hal_i2c_bus_external;

/** Handle for internal(power) i2c bus
 * Bus: furi_hal_i2c_bus_external
 * Pins: PA9(SCL) / PA10(SDA), float on release
 * Params: 400khz
 */
extern FuriHalI2cBusHandle furi_hal_i2c_handle_power;

/** Handle for external i2c bus
 * Bus: furi_hal_i2c_bus_external
 * Pins: PC0(SCL) / PC1(SDA), float on release
 * Params: 100khz
 */
extern FuriHalI2cBusHandle furi_hal_i2c_handle_external;

#ifdef __cplusplus
}
#endif