K1Guitar/AT32F403ARCT7_BOOT/project/inc/includes.h

25 lines
527 B
C

#ifndef __INCLUDES_H__
#define __INCLUDES_H__
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "at32f403a_407.h"
#include "Drv_ILI9341_Lcd_Init.h"
#include "Drv_ILI9341_Lcd_App.h"
#include "wk_spi.h"
#include "wk_system.h"
#define GPIO_PIN_RESET false
#define GPIO_PIN_SET true
#define HAL_GPIO_ReadPin(gpio_x, pins) gpio_output_data_bit_read(gpio_x, pins)
#define HAL_GPIO_WritePin(gpio_x, pins, flag) gpio_bits_write(gpio_x,pins,flag)
#define GPIO_InitStruct gpio_init_struct
#endif