STM32筆記4:基本庫函數寫法(結構體指針的應用)

//構建庫函數雛形 //peripheral:外設 #include"stm32f4xx.h" //peripheral #define PERIPHERAL ((unsigned int)(0x40000000)) #define AHB1_BASE ((unsigned int)(PERIPHERAL + 0x0002 0000)) #define GPIOA_BASE ((unsigned
相關文章
相關標籤/搜索