当前位置:网站首页>Stm32f103zet6 [development of standard library functions] - Introduction to library functions

Stm32f103zet6 [development of standard library functions] - Introduction to library functions

2022-04-23 08:34:00 Wang Xiaoqi next door

One 、GPIO Overview of library functions

GPIO_DeInit 	// Add peripherals GPIOx  Register reset to default 
GPIO_AFIODeInit // Reuse functions ( Remapping event control and EXTI  Set up ) Reset to default 
GPIO_Init 		// according to GPIO_InitStruct  The parameter specified in GPIOx  register 
GPIO_StructInit // hold GPIO_InitStruct  Each parameter in the is filled in by default 
GPIO_ReadInputDataBit   // Read the input of the specified port pin 
GPIO_ReadInputData 		// Read the specified GPIO  Port input 
GPIO_ReadOutputDataBit  // Read the output of the specified port pin 
GPIO_ReadOutputData 	// Read the specified GPIO  Port output 
GPIO_SetBits 			// Set the specified data port bit 
GPIO_ResetBits 			// Clear the specified data port bit 
GPIO_WriteBit			// Set or clear the specified data port bit 
GPIO_Write 				// Assign to GPIO  The data port writes data 
GPIO_PinLockConfig 		// lock GPIO  Pin setting register 
GPIO_EventOutputConfig  // choice GPIO  Pins are used as event outputs 
GPIO_EventOutputCmd 	// Enable or disable event output 
GPIO_PinRemapConfig 	// Change the mapping of the specified pin 
GPIO_EXTILineConfig		// choice GPIO  The pin is used as an external interrupt line 

版权声明
本文为[Wang Xiaoqi next door]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230810281599.html