2021-10-24 10:54:30 索炜达电子 525
项目编号:E1728
文件大小:10M
源码说明:带中文注释
开发环境:C编译器
简要概述:
这是ssd1306 oled显示器的spl库。此存储库包含i2c驱动程序、显示BSP和SSD1306库。我们有三层工作库来实现完美的沟通。
第一层:硬件驱动层第一层是硬件控制层,即在驱动程序文件夹中。在这一层中,我们实现了硬件中需要的所有硬件操作,如i2c初始化、i2c读写数据功能以及从机地址设置或延迟操作。
第二层:显示BSP第二层是板支持包层,这一层使用驱动程序和库创建一个逻辑和易于与显示器通信的访问。bsp将硬件驱动程序的实例发送到库部分,然后库将完成所有通信工作。
第三层:应用层这第三层是一块现成的蛋糕,你可以调用你的bsp函数,工作就完成了!
目录│文件列表:
└ STM32f103-Demo
│ Blink.ioc
│ main.c
│ mainv1.c
├ Drivers
│ ├ CMSIS
│ │ ├ Device
│ │ │ └ ST
│ │ │ └ STM32F1xx
│ │ │ ├ Include
│ │ │ │ │ stm32f100xb.h
│ │ │ │ │ stm32f100xe.h
│ │ │ │ │ stm32f101x6.h
│ │ │ │ │ stm32f101xb.h
│ │ │ │ │ stm32f101xe.h
│ │ │ │ │ stm32f101xg.h
│ │ │ │ │ stm32f102x6.h
│ │ │ │ │ stm32f102xb.h
│ │ │ │ │ stm32f103x6.h
│ │ │ │ │ stm32f103xb.h
│ │ │ │ │ stm32f103xe.h
│ │ │ │ │ stm32f103xg.h
│ │ │ │ │ stm32f105xc.h
│ │ │ │ │ stm32f107xc.h
│ │ │ │ │ stm32f1xx.h
│ │ │ │ └ system_stm32f1xx.h
│ │ │ └ Source
│ │ │ └ Templates
│ │ │ │ system_stm32f1xx.c
│ │ │ ├ arm
│ │ │ │ │ startup_stm32f100xb.s
│ │ │ │ │ startup_stm32f100xe.s
│ │ │ │ │ startup_stm32f101x6.s
│ │ │ │ │ startup_stm32f101xb.s
│ │ │ │ │ startup_stm32f101xe.s
│ │ │ │ │ startup_stm32f101xg.s
│ │ │ │ │ startup_stm32f102x6.s
│ │ │ │ │ startup_stm32f102xb.s
│ │ │ │ │ startup_stm32f103x6.s
│ │ │ │ │ startup_stm32f103xb.s
│ │ │ │ │ startup_stm32f103xe.s
│ │ │ │ │ startup_stm32f103xg.s
│ │ │ │ │ startup_stm32f105xc.s
│ │ │ │ └ startup_stm32f107xc.s
│ │ │ ├ gcc
│ │ │ │ │ startup_stm32f100xb.s
│ │ │ │ │ startup_stm32f100xe.s
│ │ │ │ │ startup_stm32f101x6.s
│ │ │ │ │ startup_stm32f101xb.s
│ │ │ │ │ startup_stm32f101xe.s
│ │ │ │ │ startup_stm32f101xg.s
│ │ │ │ │ startup_stm32f102x6.s
│ │ │ │ │ startup_stm32f102xb.s
│ │ │ │ │ startup_stm32f103x6.s
│ │ │ │ │ startup_stm32f103xb.s
│ │ │ │ │ startup_stm32f103xe.s
│ │ │ │ │ startup_stm32f103xg.s
│ │ │ │ │ startup_stm32f105xc.s
│ │ │ │ └ startup_stm32f107xc.s
│ │ │ └ iar
│ │ │ │ startup_stm32f100xb.s
│ │ │ │ startup_stm32f100xe.s
│ │ │ │ startup_stm32f101x6.s
│ │ │ │ startup_stm32f101xb.s
│ │ │ │ startup_stm32f101xe.s
│ │ │ │ startup_stm32f101xg.s
│ │ │ │ startup_stm32f102x6.s
│ │ │ │ startup_stm32f102xb.s
│ │ │ │ startup_stm32f103x6.s
│ │ │ │ startup_stm32f103xb.s
│ │ │ │ startup_stm32f103xe.s
│ │ │ │ startup_stm32f103xg.s
│ │ │ │ startup_stm32f105xc.s
│ │ │ │ startup_stm32f107xc.s
│ │ │ └ linker
│ │ │ │ stm32f100xb_flash.icf
│ │ │ │ stm32f100xb_sram.icf
│ │ │ │ stm32f100xe_flash.icf
│ │ │ │ stm32f100xe_sram.icf
│ │ │ │ stm32f101x6_flash.icf
│ │ │ │ stm32f101x6_sram.icf
│ │ │ │ stm32f101xb_flash.icf
│ │ │ │ stm32f101xb_sram.icf
│ │ │ │ stm32f101xe_flash.icf
│ │ │ │ stm32f101xe_sram.icf
│ │ │ │ stm32f101xg_flash.icf
│ │ │ │ stm32f101xg_sram.icf
│ │ │ │ stm32f102x6_flash.icf
│ │ │ │ stm32f102x6_sram.icf
│ │ │ │ stm32f102xb_flash.icf
│ │ │ │ stm32f102xb_sram.icf
│ │ │ │ stm32f103x6_flash.icf
│ │ │ │ stm32f103x6_sram.icf