Table 18: Optional Peripheral Initialization Functions - ST STM32F2 User Manual

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

Advertisement

UM1940
Additional functions are available for some peripherals (refer to
peripheral initialization functions"
Functions
LL_PPP
{_CATEGORY}_Init
LL_PPP
{_CATEGORY}_
StructInit
LL_PPP_
CommonInit
)

Table 18: Optional peripheral initialization functions

Return
Parameters
Type
PPP_TypeDef* PPPx
LL_PPP{_CATEGORY}
Error
_InitTypeDef*
Status
PPP{_CATEGORY}_Init
Struct
LL_PPP{_CATEGORY}_InitT
ypeDef*
void
PPP{_CATEGORY}_
InitStruct
PPP_TypeDef* PPPx
LL_PPP_CommonInit
Error
TypeDef*
Status
PPP_CommonInitStruct
DocID028236 Rev 2
Overview of Low Layer drivers
Table 18: "Optional
Examples
Initializes peripheral features
according to the parameters
specified in PPP_InitStruct.
Example:
LL_ADC_INJ_Init(ADC_TypeDef
*ADCx, LL_ADC_INJ_InitTypeDef
*ADC_INJ_InitStruct)
LL_RTC_TIME_Init(RTC_TypeDef
*RTCx, uint32_t RTC_Format,
LL_RTC_TimeTypeDef
*RTC_TimeStruct)
LL_RTC_DATE_Init(RTC_TypeDef
*RTCx, uint32_t RTC_Format,
LL_RTC_DateTypeDef
*RTC_DateStruct)
LL_TIM_IC_Init(TIM_TypeDef*
TIMx, uint32_t Channel,
LL_TIM_IC_InitTypeDef*
TIM_IC_InitStruct)
LL_TIM_ENCODER_Init(TIM_Type
Def* TIMx,
LL_TIM_ENCODER_InitTypeDef*
TIM_EncoderInitStruct)
Fills each
PPP{_CATEGORY}_InitStruct
member with its default value.
Example:
LL_ADC_INJ_StructInit(LL_ADC_IN
J_InitTypeDef *ADC_INJ_InitStruct)
Initializes the common features
shared between different instances
of the same peripheral.
Example:
LL_ADC_CommonInit(ADC_Comm
on_TypeDef *ADCxy_COMMON,
LL_ADC_CommonInitTypeDef
*ADC_CommonInitStruct)
65/1371

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