11#define INPUT_DEBOUNCE_TICKS 4
27 LightGreen = (1 << 1),
29 LightBacklight = (1 << 3),
48extern const size_t input_pins_count;
51extern const size_t gpio_pins_count;
57extern const GpioPin gpio_ibutton;
59extern const GpioPin gpio_display_cs;
60extern const GpioPin gpio_display_rst_n;
61extern const GpioPin gpio_display_di;
62extern const GpioPin gpio_sdcard_cs;
63extern const GpioPin gpio_sdcard_cd;
65extern const GpioPin gpio_button_up;
66extern const GpioPin gpio_button_down;
67extern const GpioPin gpio_button_right;
68extern const GpioPin gpio_button_left;
69extern const GpioPin gpio_button_ok;
70extern const GpioPin gpio_button_back;
72extern const GpioPin gpio_spi_d_miso;
73extern const GpioPin gpio_spi_d_mosi;
74extern const GpioPin gpio_spi_d_sck;
76extern const GpioPin gpio_ext_pc0;
77extern const GpioPin gpio_ext_pc1;
78extern const GpioPin gpio_ext_pc3;
79extern const GpioPin gpio_ext_pb2;
80extern const GpioPin gpio_ext_pb3;
81extern const GpioPin gpio_ext_pa4;
82extern const GpioPin gpio_ext_pa6;
83extern const GpioPin gpio_ext_pa7;
85extern const GpioPin gpio_ext_pc5;
86extern const GpioPin gpio_ext_pc4;
87extern const GpioPin gpio_ext_pa5;
88extern const GpioPin gpio_ext_pb9;
89extern const GpioPin gpio_ext_pa0;
90extern const GpioPin gpio_ext_pa1;
91extern const GpioPin gpio_ext_pa15;
92extern const GpioPin gpio_ext_pe4;
93extern const GpioPin gpio_ext_pa2;
94extern const GpioPin gpio_ext_pb4;
95extern const GpioPin gpio_ext_pb5;
96extern const GpioPin gpio_ext_pd0;
97extern const GpioPin gpio_ext_pb13;
99extern const GpioPin gpio_usart_tx;
100extern const GpioPin gpio_usart_rx;
101extern const GpioPin gpio_i2c_power_sda;
102extern const GpioPin gpio_i2c_power_scl;
104extern const GpioPin gpio_speaker;
106extern const GpioPin gpio_periph_power;
108extern const GpioPin gpio_usb_dm;
109extern const GpioPin gpio_usb_dp;
111void furi_hal_resources_init_early(
void);
113void furi_hal_resources_deinit_early(
void);
115void furi_hal_resources_init(
void);
122int32_t furi_hal_resources_get_ext_pin_number(
const GpioPin* gpio);
132const GpioPinRecord* furi_hal_resources_pin_by_name(
const char* name);
142const GpioPinRecord* furi_hal_resources_pin_by_number(uint8_t number);
FuriHalAdcChannel
Definition furi_hal_adc.h:79
Gpio structure.
Definition furi_hal_gpio.h:161
Definition f18/furi_hal/furi_hal_resources.h:39