Table 32: Correspondence Between Gpio Registers And Gpio Low-Layer Driver Functions; Table 33: Correspondence Between I2C Registers And I2C Low-Layer Driver Functions; Gpio - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

Correspondence between API registers and API
low-layer driver functions
71.8

GPIO

Table 32: Correspondence between GPIO registers and GPIO low-layer driver functions

Register
AFRH
AFRL
BSRR
IDR
LCKR
MODER
ODR
OSPEEDR
OTYPER
PUPDR
71.9
I2C

Table 33: Correspondence between I2C registers and I2C low-layer driver functions

Register
CCR
1328/1371
Field
AFSELy
AFSELy
BRy
BSy
IDy
LCKK
LCKy
MODEy
ODy
OSPEEDy
OTy
PUPDy
Field
CCR
DUTY
DocID028236 Rev 2
Function
LL_GPIO_GetAFPin_8_15
LL_GPIO_SetAFPin_8_15
LL_GPIO_GetAFPin_0_7
LL_GPIO_SetAFPin_0_7
LL_GPIO_ResetOutputPin
LL_GPIO_SetOutputPin
LL_GPIO_IsInputPinSet
LL_GPIO_ReadInputPort
LL_GPIO_IsAnyPinLocked
LL_GPIO_LockPin
LL_GPIO_IsPinLocked
LL_GPIO_GetPinMode
LL_GPIO_SetPinMode
LL_GPIO_IsOutputPinSet
LL_GPIO_ReadOutputPort
LL_GPIO_TogglePin
LL_GPIO_WriteOutputPort
LL_GPIO_GetPinSpeed
LL_GPIO_SetPinSpeed
LL_GPIO_GetPinOutputType
LL_GPIO_SetPinOutputType
LL_GPIO_GetPinPull
LL_GPIO_SetPinPull
Function
LL_I2C_ConfigSpeed
LL_I2C_GetClockPeriod
LL_I2C_SetClockPeriod
LL_I2C_ConfigSpeed
LL_I2C_GetDutyCycle
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF