Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
stm32f10x_gpio.c File Reference
This file provides all the GPIO firmware functions. More...
Go to the source code of this file.
Functions | |
| void | GPIO_DeInit (GPIO_TypeDef *GPIOx) |
| Deinitializes the GPIOx peripheral registers to their default reset values. | |
| void | GPIO_AFIODeInit (void) |
| Deinitializes the Alternate Functions (remap, event control and EXTI configuration) registers to their default reset values. | |
| void | GPIO_Init (GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_InitStruct) |
| Initializes the GPIOx peripheral according to the specified parameters in the GPIO_InitStruct. | |
| void | GPIO_StructInit (GPIO_InitTypeDef *GPIO_InitStruct) |
| Fills each GPIO_InitStruct member with its default value. | |
| uint8_t | GPIO_ReadInputDataBit (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Reads the specified input port pin. | |
| uint16_t | GPIO_ReadInputData (GPIO_TypeDef *GPIOx) |
| Reads the specified GPIO input data port. | |
| uint8_t | GPIO_ReadOutputDataBit (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Reads the specified output data port bit. | |
| uint16_t | GPIO_ReadOutputData (GPIO_TypeDef *GPIOx) |
| Reads the specified GPIO output data port. | |
| void | GPIO_SetBits (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Sets the selected data port bits. | |
| void | GPIO_ResetBits (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Clears the selected data port bits. | |
| void | GPIO_WriteBit (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, BitAction BitVal) |
| Sets or clears the selected data port bit. | |
| void | GPIO_Write (GPIO_TypeDef *GPIOx, uint16_t PortVal) |
| Writes data to the specified GPIO data port. | |
| void | GPIO_PinLockConfig (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Locks GPIO Pins configuration registers. | |
| void | GPIO_EventOutputConfig (uint8_t GPIO_PortSource, uint8_t GPIO_PinSource) |
| Selects the GPIO pin used as Event output. | |
| void | GPIO_EventOutputCmd (FunctionalState NewState) |
| Enables or disables the Event Output. | |
| void | GPIO_PinRemapConfig (uint32_t GPIO_Remap, FunctionalState NewState) |
| Changes the mapping of the specified pin. | |
| void | GPIO_EXTILineConfig (uint8_t GPIO_PortSource, uint8_t GPIO_PinSource) |
| Selects the GPIO pin used as EXTI Line. | |
| void | GPIO_ETH_MediaInterfaceConfig (uint32_t GPIO_ETH_MediaInterface) |
| Selects the Ethernet media interface. | |
Detailed Description
This file provides all the GPIO firmware functions.
- Version:
- V3.5.0
- Date:
- 11-March-2011
- Attention:
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
© COPYRIGHT 2011 STMicroelectronics
Definition in file stm32f10x_gpio.c.
Generated on Tue Jul 12 2022 20:45:32 by
1.7.2