stm32_uc1701_u8g2/U8g2/u8g2_stm32_spi.h

24 lines
540 B
C
Raw Permalink Normal View History

//
// Created by wuqiyang on 24-8-18.
//
#ifndef STM32UI_U8G2_STM32_SPI_H
#define STM32UI_U8G2_STM32_SPI_H
#include "main.h"
#include "u8g2.h"
#include "spi.h"
extern u8g2_t u8g2;
uint8_t u8g2_byte_sw_spi_stm32(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
uint8_t u8x8_gpio_and_delay_stm32(U8X8_UNUSED u8x8_t *u8x8,
U8X8_UNUSED uint8_t msg, U8X8_UNUSED uint8_t arg_int,
U8X8_UNUSED void *arg_ptr);
void drawDemo();
#endif //STM32UI_U8G2_STM32_SPI_H