2021-10-24 10:54:30 索煒達(dá)電子 839
項目編號:E1728
文件大?。?0M
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述:
這是ssd1306 oled顯示器的spl庫。此存儲庫包含i2c驅(qū)動程序、顯示BSP和SSD1306庫。我們有三層工作庫來實現(xiàn)完美的溝通。
第一層:硬件驅(qū)動層第一層是硬件控制層,即在驅(qū)動程序文件夾中。在這一層中,我們實現(xiàn)了硬件中需要的所有硬件操作,如i2c初始化、i2c讀寫數(shù)據(jù)功能以及從機(jī)地址設(shè)置或延遲操作。
第二層:顯示BSP第二層是板支持包層,這一層使用驅(qū)動程序和庫創(chuàng)建一個邏輯和易于與顯示器通信的訪問。bsp將硬件驅(qū)動程序的實例發(fā)送到庫部分,然后庫將完成所有通信工作。
第三層:應(yīng)用層這第三層是一塊現(xiàn)成的蛋糕,你可以調(diào)用你的bsp函數(shù),工作就完成了!
目錄│文件列表:
└ 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