#define LCD_RS_H GPIOA->BSRR = 1Ul<<9 这段代码是什么意思? 10
从一段单片机的c语言程序截的。有图。#defineLCD_D0_HGPIOA->BSRR=1Ul<<12//PA12#defineLCD_D0_LGPIOA->BRR=1...
从一段单片机的c语言程序截的。有图。#define LCD_D0_H GPIOA->BSRR = 1Ul<<12 // PA12#define LCD_D0_L GPIOA->BRR = 1Ul<<12#define LCD_D1_H GPIOA->BSRR = 1Ul<<6 // PA6#define LCD_D1_L GPIOA->BRR = 1Ul<<6#define LCD_D2_H GPIOA->BSRR = 1Ul<<5 // PA5#define LCD_D2_L GPIOA->BRR = 1Ul<<5#define LCD_D3_H GPIOA->BSRR = 1Ul<<4 // PA4#define LCD_D3_L GPIOA->BRR = 1Ul<<4#define LCD_D4_H GPIOB->BSRR = 1Ul<<5 // PB5#define LCD_D4_L GPIOB->BRR = 1Ul<<5#define LCD_D5_H GPIOB->BSRR = 1Ul<<6 // PB6#define LCD_D5_L GPIOB->BRR = 1Ul<<6#define LCD_D6_H GPIOB->BSRR = 1Ul<<7 // PB7#define LCD_D6_L GPIOB->BRR = 1Ul<<7#define LCD_D7_H GPIOB->BSRR = 1Ul<<8 // PB8#define LCD_D7_L GPIOB->BRR = 1Ul<<8
展开
2017-05-06
展开全部
define宏就是替换,,,,,将宏定义的名称,替换成后面的字符或值
~~~~~~~~~~
~~~~~~~~~~
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询