#define Set_Cs GPIOD->ODR |= ( 1<<12 ); #define Clr_Cs GPIOD->ODR &= ~( 1<<12 );
#define Set_Rs GPIOD->ODR |= ( 1<<13 ); #define Clr_Rs GPIOD->ODR &= ~( 1<<13 );
#define Set_nWr GPIOD->ODR |= ( 1<<14 ); #define Clr_nWr GPIOD->ODR &= ~( 1<<14 );
#define Set_nRd GPIOD->ODR |= ( 1<<15 ); #define Clr_nRd GPIOD->ODR &= ~( 1<<15 );
新手求指导 这是从lcd驱动上写下的一段代码,对寄存器的操作,看不懂怎么回事,求指导
|