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 #238 background imageLoading...
Page #238 background image
General-purpose I/Os (GPIO)
UM1581
238/584
DocID023800 Rev 1
Function Description
Fills each GPIO_InitStruct member with its default value.
Parameters
ï‚· GPIO_InitStruct : pointer to a GPIO_InitTypeDef structure
which will be initialized.
Return values
ï‚· None.
Notes
ï‚· None.
12.2.5.4 GPIO_PinLockConfig
Function Name
void GPIO_PinLockConfig ( GPIO_TypeDef * GPIOx, uint16_t
GPIO_Pin)
Function Description
Locks GPIO Pins configuration registers.
Parameters
ï‚· GPIOx : where x can be (A or B or D) to select the GPIO
peripheral.
ï‚· GPIO_Pin : specifies the port bit to be written. This
parameter can be any combination of GPIO_Pin_x where x
can be (0..15).
Return values
ï‚· None.
Notes
ï‚· The configuration of the locked GPIO pins can no longer be
modified until the next reset.
12.2.6 GPIO Read and Write functions
12.2.6.1 GPIO_ReadInputDataBit
Function Name
uint8_t GPIO_ReadInputDataBit ( GPIO_TypeDef * GPIOx,
uint16_t GPIO_Pin)
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.
ï‚· GPIO_Pin : specifies the port bit to read.
Return values
ï‚· The input 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.

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