A HAL library written for AI8051U
+ Driver
+ inc
+ adc.h
+ gpio.h
+ i2c.h
+ spi.h
+ tft.h
+ timer.h
+ usart.h
+ src
+ adc.c
+ gpio.c
+ i2c.c
+ spi.c
+ tft.c
+ timer.c
+ usart.c
+ main.c
+ ai8051u_conf.h
We need to config the project in ai8051u_conf.h and include the driver file in your main project file.