EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #239 background imageLoading...
Page #239 background image
UM1581
General-purpose I/Os (GPIO)
DocID023800 Rev 1
239/584
12.2.6.2 GPIO_ReadInputData
Function Name
uint16_t GPIO_ReadInputData ( GPIO_TypeDef * GPIOx)
Function Description
Reads the specified input port pin.
Parameters
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
Return values
ï‚· The input port pin value.
Notes
ï‚· None.
12.2.6.3 GPIO_ReadOutputDataBit
Function Name
uint8_t GPIO_ReadOutputDataBit ( GPIO_TypeDef * GPIOx,
uint16_t GPIO_Pin)
Function Description
Reads the specified output data port bit.
Parameters
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
ï‚· GPIO_Pin : Specifies the port bit to read.
Return values
ï‚· The output port pin value.
Notes
ï‚· This parameter can be GPIO_Pin_x where x can be : (0..15)
for GPIOA, GPIOB, GPIOC, GPIOD or GPIOE; (0..2, 4, 6,
9..10) for GPIOF.
12.2.6.4 GPIO_ReadOutputData
Function Name
uint16_t GPIO_ReadOutputData ( GPIO_TypeDef * GPIOx)
Function Description
Reads the specified GPIO output data port.
Parameters
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals