2021-10-17 23:34:36 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "u8g2.h"
|
2021-10-19 14:42:49 +03:00
|
|
|
#include <stdbool.h>
|
2021-10-17 23:34:36 +03:00
|
|
|
|
|
|
|
uint8_t u8g2_gpio_and_delay_stm32(u8x8_t* u8x8, uint8_t msg, uint8_t arg_int, void* arg_ptr);
|
|
|
|
|
|
|
|
uint8_t u8x8_hw_spi_stm32(u8x8_t* u8x8, uint8_t msg, uint8_t arg_int, void* arg_ptr);
|
|
|
|
|
2022-01-05 19:10:18 +03:00
|
|
|
void u8g2_Setup_st756x_flipper(
|
|
|
|
u8g2_t* u8g2,
|
|
|
|
const u8g2_cb_t* rotation,
|
|
|
|
u8x8_msg_cb byte_cb,
|
|
|
|
u8x8_msg_cb gpio_and_delay_cb);
|
2021-10-19 14:42:49 +03:00
|
|
|
|
2022-01-05 19:10:18 +03:00
|
|
|
void u8x8_d_st756x_init(u8x8_t* u8x8, uint8_t contrast, uint8_t regulation_ratio, bool bias);
|
2023-06-06 20:46:01 +03:00
|
|
|
|
|
|
|
void u8x8_d_st756x_set_contrast(u8x8_t* u8x8, int8_t contrast_offset);
|