資源簡介
利用st7565r芯片驅動128x64字符液晶,mcu芯片采用stm32f030系列
代碼片段和文件信息
/*
?*?L9110S_driver.c
?*
?*??Created?on:?2018年1月30日
?*??????Author:?WQS
?*/
#include?“stm32f0xx.h“
#include?“L9110S_driver.h“
#define?IA_H {GPIO_SetBits(GPIOBGPIO_Pin_3);} //L9110S?IA管腳拉高
#define?IA_L {GPIO_ResetBits(GPIOBGPIO_Pin_3);} //HT1621數據口拉低
#define?IB_H {GPIO_SetBits(GPIOAGPIO_Pin_15);} //HT1621片選信號拉高
#define?IB_L {GPIO_ResetBits(GPIOAGPIO_Pin_15);} //HT1621片選信號拉低
void?L9110sRCC_Configuration()
{
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA?|?RCC_AHBPeriph_GPIOBENABLE);
// RCC_APB2PeriphResetCmd(RCC_APB2Periph_SYSCFGENABLE);
}
void?GPIO_L9110SInit()
{
GPIO_InitTypeDef?GPIO_InitStruct_L9110S;
GPIO_InitStruct_L9110S.GPIO_Pin???=?GPIO_Pin_3;
GPIO_InitStruct_L9110S.GPIO_Mode??=?GPIO_Mode_OUT;
GPIO_InitStruct_L9110S.GPIO_Speed?=?GPIO_Speed_50MHz;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-03-27?14:13??ST7565R_12864\
?????文件???????29530??2018-03-27?14:38??ST7565R_12864\.cproject
?????文件?????????791??2018-03-27?14:17??ST7565R_12864\.project
?????目錄???????????0??2018-03-26?14:00??ST7565R_12864\.settings\
?????文件????????1077??2018-01-31?11:28??ST7565R_12864\.settings\org.eclipse.cdt.managedbuilder.core.prefs
?????目錄???????????0??2018-03-28?17:35??ST7565R_12864\Debug\
?????文件????????5713??2018-03-28?17:35??ST7565R_12864\Debug\ST7565R_12864.hex
?????文件???????43616??2018-03-28?17:35??ST7565R_12864\Debug\ST7565R_12864.out
?????文件????????2449??2018-03-28?16:18??ST7565R_12864\Debug\ST7565R_12864.sim
?????文件????????4572??2018-03-27?14:16??ST7565R_12864\Debug\ST7565R_12864_driver.hex
?????文件???????40732??2018-03-27?14:16??ST7565R_12864\Debug\ST7565R_12864_driver.out
?????目錄???????????0??2018-03-28?17:35??ST7565R_12864\Debug\driver\
?????文件???????14028??2018-03-27?14:18??ST7565R_12864\Debug\driver\L9110S_driver.o
?????文件???????34163??2018-03-28?17:35??ST7565R_12864\Debug\driver\ST7565R_driver.o
?????文件????????8894??2018-03-27?14:18??ST7565R_12864\Debug\driver\WG214_driver.o
?????文件?????????404??2018-03-28?17:35??ST7565R_12864\Debug\ili
?????文件?????????500??2018-03-27?14:16??ST7565R_12864\Debug\ili
?????目錄???????????0??2018-03-27?14:13??ST7565R_12864\Debug\lib\
?????目錄???????????0??2018-03-27?14:59??ST7565R_12864\Debug\lib\src\
?????文件???????27463??2018-03-27?14:56??ST7565R_12864\Debug\lib\src\stm32f0xx_gpio.o
?????文件???????74267??2018-03-27?14:58??ST7565R_12864\Debug\lib\src\stm32f0xx_rcc.o
?????文件???????17635??2018-03-27?14:57??ST7565R_12864\Debug\lib\src\stm32f0xx_syscfg.o
?????文件???????20045??2018-03-27?14:59??ST7565R_12864\Debug\lib\src\system_stm32f0xx.o
?????目錄???????????0??2018-03-28?14:11??ST7565R_12864\Debug\user\
?????目錄???????????0??2018-03-27?18:58??ST7565R_12864\Debug\user\app\
?????文件???????83266??2018-03-27?14:19??ST7565R_12864\Debug\user\app\LCD_YT74623C.o
?????文件???????17197??2018-03-27?18:58??ST7565R_12864\Debug\user\app\SysTick_Delay.o
?????文件????????7752??2018-03-28?14:11??ST7565R_12864\Debug\user\main.o
?????目錄???????????0??2018-03-27?14:20??ST7565R_12864\driver\
?????文件????????1003??2018-03-27?18:58??ST7565R_12864\driver\HT1621B_driver.h
?????文件????????1617??2018-02-07?14:33??ST7565R_12864\driver\L9110S_driver.c
............此處省略31個文件信息
- 上一篇:socket實現jpg圖片的傳輸
- 下一篇:FPGA 60秒秒表代碼
評論
共有 條評論