#include <stdio.h>#include <string.h>#include "sdkconfig.h"#include "esp_log.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "u8g2_esp32_hal.h"Macros | |
| #define | ESP_ERROR_CHECK(x) do { esp_err_t rc = (x); if (rc != ESP_OK) { ESP_LOGE("err", "esp_err_t = %d", rc); assert(0 && #x);} } while(0); |
Functions | |
| void | u8g2_esp32_hal_init (u8g2_esp32_hal_t u8g2_esp32_hal_param) |
| uint8_t | u8g2_esp32_msg_comms_cb (u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr) |
| uint8_t | u8g2_esp32_msg_i2c_cb (u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr) |
| uint8_t | u8g2_esp32_msg_gpio_and_delay_cb (u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr) |
| uint8_t | u8g2_esp32_msg_i2c_and_delay_cb (u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr) |
Variables | |
| static const char * | TAG = "u8g2_hal" |
| static spi_device_handle_t | handle |
| static u8g2_esp32_hal_t | u8g2_esp32_hal |
| #define ESP_ERROR_CHECK | ( | x | ) | do { esp_err_t rc = (x); if (rc != ESP_OK) { ESP_LOGE("err", "esp_err_t = %d", rc); assert(0 && #x);} } while(0); |
| void u8g2_esp32_hal_init | ( | u8g2_esp32_hal_t | u8g2_esp32_hal_param | ) |
| uint8_t u8g2_esp32_msg_comms_cb | ( | u8x8_t * | u8x8, |
| uint8_t | msg, | ||
| uint8_t | arg_int, | ||
| void * | arg_ptr | ||
| ) |
| uint8_t u8g2_esp32_msg_gpio_and_delay_cb | ( | u8x8_t * | u8x8, |
| uint8_t | msg, | ||
| uint8_t | arg_int, | ||
| void * | arg_ptr | ||
| ) |
| uint8_t u8g2_esp32_msg_i2c_and_delay_cb | ( | u8x8_t * | u8x8, |
| uint8_t | msg, | ||
| uint8_t | arg_int, | ||
| void * | arg_ptr | ||
| ) |
| uint8_t u8g2_esp32_msg_i2c_cb | ( | u8x8_t * | u8x8, |
| uint8_t | msg, | ||
| uint8_t | arg_int, | ||
| void * | arg_ptr | ||
| ) |
|
static |
|
static |
|
static |