HAL库文件结构:
HAL驱动文件:
外设驱动API文件和头文件:包含了常见主要的通用API,其中ppp表示外设名称,如adc、usart、gpio、irda等;
stm32f0xx_hal_ppp.c
stm32f0xx_hal_ppp.h
外设驱动扩展API文件和头文件:包含指定的API和内部不同实现以覆盖通用API的新定义API接口函数,其中ppp表示外设名称;
stm32xx_hal_ppp_ex.c
stm32xx_hal_ppp_ex.h
初始化HAL库文件、包含DBGMCU(调试接口)、Remap(重映射)和SysTick的TimeDelay;
stm32xx_hal.c
stm32xx_hal.h
自带的相应库函数例子:包含相应外设的初始化和去初始化;
stm32xx_hal_msp_template.c
stm32xx_hal_conf_template.h
通用HAL资源定义:包含通用定义声明、枚举、结构和宏定义;
stm32xx_hal_def.h
|