
- •1 Acronyms and definitions
- •2 Overview of HAL drivers
- •2.1.1 HAL driver files
- •2.2 HAL data structures
- •2.2.1 Peripheral handle structures
- •2.2.2 Initialization and configuration structure
- •2.2.3 Specific process structures
- •2.3 API classification
- •2.4 Devices supported by HAL drivers
- •2.5 HAL drivers rules
- •2.5.1 HAL API naming rules
- •2.5.2 HAL general naming rules
- •2.5.3 HAL interrupt handler and callback functions
- •2.6 HAL generic APIs
- •2.7 HAL extension APIs
- •2.7.1 HAL extension model overview
- •2.7.2 HAL extension model cases
- •2.8 File inclusion model
- •2.9 HAL common resources
- •2.10 HAL configuration
- •2.11 HAL system peripheral handling
- •2.11.1 Clock
- •2.11.2 GPIOs
- •2.11.3 Cortex NVIC and SysTick timer
- •2.11.5 EXTI
- •2.12 How to use HAL drivers
- •2.12.1 HAL usage models
- •2.12.2 HAL initialization
- •2.12.2.1 HAL global initialization
- •2.12.2.2 System clock initialization
- •2.12.2.3 HAL MSP initialization process
- •2.12.3 HAL IO operation process
- •2.12.3.1 Polling mode
- •2.12.3.2 Interrupt mode
- •2.12.3.3 DMA mode
- •2.12.4 Timeout and error management
- •2.12.4.1 Timeout management
- •2.12.4.2 Error management
- •3 HAL System Driver
- •3.1 HAL Firmware driver API description
- •3.1.1 How to use this driver
- •3.1.3 HAL Control functions
- •3.1.4 HAL_Init
- •3.1.5 HAL_DeInit
- •3.1.6 HAL_MspInit
- •3.1.7 HAL_MspDeInit
- •3.1.8 HAL_InitTick
- •3.1.9 HAL_IncTick
- •3.1.10 HAL_GetTick
- •3.1.11 HAL_Delay
- •3.1.12 HAL_SuspendTick
- •3.1.13 HAL_ResumeTick
- •3.1.14 HAL_GetHalVersion
- •3.1.15 HAL_GetREVID
- •3.1.16 HAL_GetDEVID
- •3.1.17 HAL_DBGMCU_EnableDBGSleepMode
- •3.1.18 HAL_DBGMCU_DisableDBGSleepMode
- •3.1.19 HAL_DBGMCU_EnableDBGStopMode
- •3.1.20 HAL_DBGMCU_DisableDBGStopMode
- •3.1.21 HAL_DBGMCU_EnableDBGStandbyMode
- •3.1.22 HAL_DBGMCU_DisableDBGStandbyMode
- •3.1.23 HAL_EnableCompensationCell
- •3.1.24 HAL_DisableCompensationCell
- •3.2 HAL Firmware driver defines
- •4 HAL ADC Generic Driver
- •4.1 ADC Firmware driver registers structures
- •4.1.1 ADC_InitTypeDef
- •4.1.2 ADC_HandleTypeDef
- •4.1.3 ADC_ChannelConfTypeDef
- •4.1.4 ADC_AnalogWDGConfTypeDef
- •4.2 ADC Firmware driver API description
- •4.2.1 ADC Peripheral features
- •4.2.2 How to use this driver
- •4.2.4 IO operation functions
- •4.2.5 Peripheral Control functions
- •4.2.6 Peripheral State and errors functions
- •4.2.7 HAL_ADC_Init
- •4.2.8 HAL_ADC_DeInit
- •4.2.9 HAL_ADC_MspInit
- •4.2.10 HAL_ADC_MspDeInit
- •4.2.11 HAL_ADC_Start
- •4.2.12 HAL_ADC_Stop
- •4.2.13 HAL_ADC_PollForConversion
- •4.2.14 HAL_ADC_PollForEvent
- •4.2.15 HAL_ADC_Start_IT
- •4.2.16 HAL_ADC_Stop_IT
- •4.2.17 HAL_ADC_IRQHandler
- •4.2.18 HAL_ADC_Start_DMA
- •4.2.19 HAL_ADC_Stop_DMA
- •4.2.20 HAL_ADC_GetValue
- •4.2.21 HAL_ADC_ConvCpltCallback
- •4.2.22 HAL_ADC_ConvHalfCpltCallback
- •4.2.23 HAL_ADC_LevelOutOfWindowCallback
- •4.2.24 HAL_ADC_ErrorCallback
- •4.2.25 HAL_ADC_ConfigChannel
- •4.2.26 HAL_ADC_AnalogWDGConfig
- •4.2.27 HAL_ADC_GetState
- •4.2.28 HAL_ADC_GetError
- •4.3 ADC Firmware driver defines
- •5 HAL ADC Extension Driver
- •5.1 ADCEx Firmware driver registers structures
- •5.1.1 ADC_InjectionConfTypeDef
- •5.1.2 ADC_MultiModeTypeDef
- •5.2 ADCEx Firmware driver API description
- •5.2.1 How to use this driver
- •5.2.2 Extended features functions
- •5.2.3 HAL_ADCEx_InjectedStart
- •5.2.4 HAL_ADCEx_InjectedStart_IT
- •5.2.5 HAL_ADCEx_InjectedStop
- •5.2.6 HAL_ADCEx_InjectedPollForConversion
- •5.2.7 HAL_ADCEx_InjectedStop_IT
- •5.2.8 HAL_ADCEx_InjectedGetValue
- •5.2.9 HAL_ADCEx_MultiModeStart_DMA
- •5.2.10 HAL_ADCEx_MultiModeStop_DMA
- •5.2.11 HAL_ADCEx_MultiModeGetValue
- •5.2.12 HAL_ADCEx_InjectedConvCpltCallback
- •5.2.13 HAL_ADCEx_InjectedConfigChannel
- •5.2.14 HAL_ADCEx_MultiModeConfigChannel
- •5.3 ADCEx Firmware driver defines
- •5.3.1 ADCEx
- •6 HAL CAN Generic Driver
- •6.1 CAN Firmware driver registers structures
- •6.1.1 CAN_InitTypeDef
- •6.1.2 CAN_FilterConfTypeDef
- •6.1.3 CanTxMsgTypeDef
- •6.1.4 CanRxMsgTypeDef
- •6.1.5 CAN_HandleTypeDef
- •6.2 CAN Firmware driver API description
- •6.2.1 How to use this driver
- •6.2.3 IO operation functions
- •6.2.4 Peripheral State and Error functions
- •6.2.5 HAL_CAN_Init
- •6.2.6 HAL_CAN_ConfigFilter
- •6.2.7 HAL_CAN_DeInit
- •6.2.8 HAL_CAN_MspInit
- •6.2.9 HAL_CAN_MspDeInit
- •6.2.10 HAL_CAN_Transmit
- •6.2.11 HAL_CAN_Transmit_IT
- •6.2.12 HAL_CAN_Receive
- •6.2.13 HAL_CAN_Receive_IT
- •6.2.14 HAL_CAN_Sleep
- •6.2.15 HAL_CAN_WakeUp
- •6.2.16 HAL_CAN_IRQHandler
- •6.2.17 HAL_CAN_TxCpltCallback
- •6.2.18 HAL_CAN_RxCpltCallback
- •6.2.19 HAL_CAN_ErrorCallback
- •6.2.20 HAL_CAN_GetState
- •6.2.21 HAL_CAN_GetError
- •6.3 CAN Firmware driver defines
- •7 HAL CEC Generic Driver
- •7.1 CEC Firmware driver registers structures
- •7.1.1 CEC_InitTypeDef
- •7.1.2 CEC_HandleTypeDef
- •7.2 CEC Firmware driver API description
- •7.2.1 Initialization and Configuration functions
- •7.2.2 IO operation functions
- •7.2.3 Peripheral Control function
- •7.2.4 HAL_CEC_Init
- •7.2.5 HAL_CEC_DeInit
- •7.2.6 HAL_CEC_MspInit
- •7.2.7 HAL_CEC_MspDeInit
- •7.2.8 HAL_CEC_Transmit
- •7.2.9 HAL_CEC_Receive
- •7.2.10 HAL_CEC_Transmit_IT
- •7.2.11 HAL_CEC_Receive_IT
- •7.2.12 HAL_CEC_GetReceivedFrameSize
- •7.2.13 HAL_CEC_IRQHandler
- •7.2.14 HAL_CEC_TxCpltCallback
- •7.2.15 HAL_CEC_RxCpltCallback
- •7.2.16 HAL_CEC_ErrorCallback
- •7.2.17 HAL_CEC_GetState
- •7.2.18 HAL_CEC_GetError
- •7.3 CEC Firmware driver defines
- •8 HAL CORTEX Generic Driver
- •8.1 CORTEX Firmware driver API description
- •8.1.1 How to use this driver
- •8.1.3 Peripheral Control functions
- •8.1.4 HAL_NVIC_SetPriorityGrouping
- •8.1.5 HAL_NVIC_SetPriority
- •8.1.6 HAL_NVIC_EnableIRQ
- •8.1.7 HAL_NVIC_DisableIRQ
- •8.1.8 HAL_NVIC_SystemReset
- •8.1.9 HAL_SYSTICK_Config
- •8.1.10 HAL_NVIC_GetPriorityGrouping
- •8.1.11 HAL_NVIC_GetPriority
- •8.1.12 HAL_NVIC_SetPendingIRQ
- •8.1.13 HAL_NVIC_GetPendingIRQ
- •8.1.14 HAL_NVIC_ClearPendingIRQ
- •8.1.15 HAL_NVIC_GetActive
- •8.1.16 HAL_SYSTICK_CLKSourceConfig
- •8.1.17 HAL_SYSTICK_IRQHandler
- •8.1.18 HAL_SYSTICK_Callback
- •8.2 CORTEX Firmware driver defines
- •8.2.1 CORTEX
- •9 HAL CRC Generic Driver
- •9.1 CRC Firmware driver registers structures
- •9.1.1 CRC_HandleTypeDef
- •9.2 CRC Firmware driver API description
- •9.2.1 How to use this driver
- •9.2.3 Peripheral Control functions
- •9.2.4 Peripheral State functions
- •9.2.5 HAL_CRC_Init
- •9.2.6 HAL_CRC_DeInit
- •9.2.7 HAL_CRC_MspInit
- •9.2.8 HAL_CRC_MspDeInit
- •9.2.9 HAL_CRC_Accumulate
- •9.2.10 HAL_CRC_Calculate
- •9.2.11 HAL_CRC_GetState
- •9.3 CRC Firmware driver defines
- •10 HAL CRYP Generic Driver
- •10.1 CRYP Firmware driver registers structures
- •10.1.1 CRYP_InitTypeDef
- •10.1.2 CRYP_HandleTypeDef
- •10.2 CRYP Firmware driver API description
- •10.2.1 How to use this driver
- •10.2.3 AES processing functions
- •10.2.4 DES processing functions
- •10.2.5 TDES processing functions
- •10.2.6 DMA callback functions
- •10.2.7 CRYP IRQ handler management
- •10.2.8 Peripheral State functions
- •10.2.9 HAL_CRYP_Init
- •10.2.10 HAL_CRYP_DeInit
- •10.2.11 HAL_CRYP_MspInit
- •10.2.12 HAL_CRYP_MspDeInit
- •10.2.13 HAL_CRYP_AESECB_Encrypt
- •10.2.14 HAL_CRYP_AESCBC_Encrypt
- •10.2.15 HAL_CRYP_AESCTR_Encrypt
- •10.2.16 HAL_CRYP_AESECB_Decrypt
- •10.2.17 HAL_CRYP_AESCBC_Decrypt
- •10.2.18 HAL_CRYP_AESCTR_Decrypt
- •10.2.19 HAL_CRYP_AESECB_Encrypt_IT
- •10.2.20 HAL_CRYP_AESCBC_Encrypt_IT
- •10.2.21 HAL_CRYP_AESCTR_Encrypt_IT
- •10.2.22 HAL_CRYP_AESECB_Decrypt_IT
- •10.2.23 HAL_CRYP_AESCBC_Decrypt_IT
- •10.2.24 HAL_CRYP_AESCTR_Decrypt_IT
- •10.2.25 HAL_CRYP_AESECB_Encrypt_DMA
- •10.2.26 HAL_CRYP_AESCBC_Encrypt_DMA
- •10.2.27 HAL_CRYP_AESCTR_Encrypt_DMA
- •10.2.28 HAL_CRYP_AESECB_Decrypt_DMA
- •10.2.29 HAL_CRYP_AESCBC_Decrypt_DMA
- •10.2.30 HAL_CRYP_AESCTR_Decrypt_DMA
- •10.2.31 HAL_CRYP_DESECB_Encrypt
- •10.2.32 HAL_CRYP_DESECB_Decrypt
- •10.2.33 HAL_CRYP_DESCBC_Encrypt
- •10.2.34 HAL_CRYP_DESCBC_Decrypt
- •10.2.35 HAL_CRYP_DESECB_Encrypt_IT
- •10.2.36 HAL_CRYP_DESCBC_Encrypt_IT
- •10.2.37 HAL_CRYP_DESECB_Decrypt_IT
- •10.2.38 HAL_CRYP_DESCBC_Decrypt_IT
- •10.2.39 HAL_CRYP_DESECB_Encrypt_DMA
- •10.2.40 HAL_CRYP_DESCBC_Encrypt_DMA
- •10.2.41 HAL_CRYP_DESECB_Decrypt_DMA
- •10.2.42 HAL_CRYP_DESCBC_Decrypt_DMA
- •10.2.43 HAL_CRYP_TDESECB_Encrypt
- •10.2.44 HAL_CRYP_TDESECB_Decrypt
- •10.2.45 HAL_CRYP_TDESCBC_Encrypt
- •10.2.46 HAL_CRYP_TDESCBC_Decrypt
- •10.2.47 HAL_CRYP_TDESECB_Encrypt_IT
- •10.2.48 HAL_CRYP_TDESCBC_Encrypt_IT
- •10.2.49 HAL_CRYP_TDESECB_Decrypt_IT
- •10.2.50 HAL_CRYP_TDESCBC_Decrypt_IT
- •10.2.51 HAL_CRYP_TDESECB_Encrypt_DMA
- •10.2.52 HAL_CRYP_TDESCBC_Encrypt_DMA
- •10.2.53 HAL_CRYP_TDESECB_Decrypt_DMA
- •10.2.54 HAL_CRYP_TDESCBC_Decrypt_DMA
- •10.2.55 HAL_CRYP_InCpltCallback
- •10.2.56 HAL_CRYP_OutCpltCallback
- •10.2.57 HAL_CRYP_ErrorCallback
- •10.2.58 HAL_CRYP_IRQHandler
- •10.2.59 HAL_CRYP_GetState
- •10.3 CRYP Firmware driver defines
- •10.3.1 CRYP
- •11 HAL CRYP Extension Driver
- •11.1 CRYPEx Firmware driver API description
- •11.1.1 How to use this driver
- •11.1.2 Extended AES processing functions
- •11.1.3 CRYPEx IRQ handler management
- •11.1.4 HAL_CRYPEx_AESCCM_Encrypt
- •11.1.5 HAL_CRYPEx_AESGCM_Encrypt
- •11.1.6 HAL_CRYPEx_AESGCM_Decrypt
- •11.1.7 HAL_CRYPEx_AESGCM_Finish
- •11.1.8 HAL_CRYPEx_AESCCM_Finish
- •11.1.9 HAL_CRYPEx_AESCCM_Decrypt
- •11.1.10 HAL_CRYPEx_AESGCM_Encrypt_IT
- •11.1.11 HAL_CRYPEx_AESCCM_Encrypt_IT
- •11.1.12 HAL_CRYPEx_AESGCM_Decrypt_IT
- •11.1.13 HAL_CRYPEx_AESCCM_Decrypt_IT
- •11.1.14 HAL_CRYPEx_AESGCM_Encrypt_DMA
- •11.1.15 HAL_CRYPEx_AESCCM_Encrypt_DMA
- •11.1.16 HAL_CRYPEx_AESGCM_Decrypt_DMA
- •11.1.17 HAL_CRYPEx_AESCCM_Decrypt_DMA
- •11.1.18 HAL_CRYPEx_GCMCCM_IRQHandler
- •11.2 CRYPEx Firmware driver defines
- •11.2.1 CRYPEx
- •12 HAL DAC Generic Driver
- •12.1 DAC Firmware driver registers structures
- •12.1.1 DAC_HandleTypeDef
- •12.1.2 DAC_ChannelConfTypeDef
- •12.2 DAC Firmware driver API description
- •12.2.1 DAC Peripheral features
- •12.2.2 How to use this driver
- •12.2.4 IO operation functions
- •12.2.5 Peripheral Control functions
- •12.2.6 Peripheral State and Errors functions
- •12.2.7 HAL_DAC_Init
- •12.2.8 HAL_DAC_DeInit
- •12.2.9 HAL_DAC_MspInit
- •12.2.10 HAL_DAC_MspDeInit
- •12.2.11 HAL_DAC_Start
- •12.2.12 HAL_DAC_Stop
- •12.2.13 HAL_DAC_Start_DMA
- •12.2.14 HAL_DAC_Stop_DMA
- •12.2.15 HAL_DAC_GetValue
- •12.2.16 HAL_DAC_IRQHandler
- •12.2.17 HAL_DAC_ConvCpltCallbackCh1
- •12.2.18 HAL_DAC_ConvHalfCpltCallbackCh1
- •12.2.19 HAL_DAC_ErrorCallbackCh1
- •12.2.20 HAL_DAC_DMAUnderrunCallbackCh1
- •12.2.21 HAL_DAC_ConfigChannel
- •12.2.22 HAL_DAC_SetValue
- •12.2.23 HAL_DAC_GetState
- •12.2.24 HAL_DAC_GetError
- •12.2.25 HAL_DAC_IRQHandler
- •12.2.26 HAL_DAC_ConvCpltCallbackCh1
- •12.2.27 HAL_DAC_ConvHalfCpltCallbackCh1
- •12.2.28 HAL_DAC_ErrorCallbackCh1
- •12.2.29 HAL_DAC_DMAUnderrunCallbackCh1
- •12.3 DAC Firmware driver defines
- •13 HAL DAC Extension Driver
- •13.1 DACEx Firmware driver API description
- •13.1.1 How to use this driver
- •13.1.2 Extended features functions
- •13.1.3 HAL_DACEx_DualGetValue
- •13.1.4 HAL_DACEx_TriangleWaveGenerate
- •13.1.5 HAL_DACEx_NoiseWaveGenerate
- •13.1.6 HAL_DACEx_DualSetValue
- •13.1.7 HAL_DACEx_ConvCpltCallbackCh2
- •13.1.8 HAL_DACEx_ConvHalfCpltCallbackCh2
- •13.1.9 HAL_DACEx_ErrorCallbackCh2
- •13.1.10 HAL_DACEx_DMAUnderrunCallbackCh2
- •13.2 DACEx Firmware driver defines
- •13.2.1 DACEx
- •14 HAL DCMI Generic Driver
- •14.1 DCMI Firmware driver registers structures
- •14.1.1 DCMI_HandleTypeDef
- •14.2 DCMI Firmware driver API description
- •14.2.1 How to use this driver
- •14.2.2 Initialization and Configuration functions
- •14.2.3 IO operation functions
- •14.2.4 Peripheral Control functions
- •14.2.5 Peripheral State and Errors functions
- •14.2.6 HAL_DCMI_Init
- •14.2.7 HAL_DCMI_DeInit
- •14.2.8 HAL_DCMI_MspInit
- •14.2.9 HAL_DCMI_MspDeInit
- •14.2.10 HAL_DCMI_Start_DMA
- •14.2.11 HAL_DCMI_Stop
- •14.2.12 HAL_DCMI_IRQHandler
- •14.2.13 HAL_DCMI_ErrorCallback
- •14.2.14 HAL_DCMI_LineEventCallback
- •14.2.15 HAL_DCMI_VsyncEventCallback
- •14.2.16 HAL_DCMI_FrameEventCallback
- •14.2.17 HAL_DCMI_ConfigCROP
- •14.2.18 HAL_DCMI_DisableCROP
- •14.2.19 HAL_DCMI_EnableCROP
- •14.2.20 HAL_DCMI_GetState
- •14.2.21 HAL_DCMI_GetError
- •14.3 DCMI Firmware driver defines
- •14.3.1 DCMI
- •15 HAL DCMI Extension Driver
- •15.1 DCMIEx Firmware driver registers structures
- •15.1.1 DCMI_CodesInitTypeDef
- •15.1.2 DCMI_InitTypeDef
- •15.2 DCMIEx Firmware driver API description
- •15.2.1 DCMI peripheral extension features
- •15.2.2 How to use this driver
- •15.2.3 Initialization and Configuration functions
- •15.2.4 HAL_DCMI_Init
- •15.3 DCMIEx Firmware driver defines
- •15.3.1 DCMIEx
- •16 HAL DMA Generic Driver
- •16.1 DMA Firmware driver registers structures
- •16.1.1 DMA_InitTypeDef
- •16.1.2 __DMA_HandleTypeDef
- •16.2 DMA Firmware driver API description
- •16.2.1 How to use this driver
- •16.2.3 IO operation functions
- •16.2.4 State and Errors functions
- •16.2.5 HAL_DMA_Init
- •16.2.6 HAL_DMA_DeInit
- •16.2.7 HAL_DMA_Start
- •16.2.8 HAL_DMA_Start_IT
- •16.2.9 HAL_DMA_Abort
- •16.2.10 HAL_DMA_PollForTransfer
- •16.2.11 HAL_DMA_IRQHandler
- •16.2.12 HAL_DMA_GetState
- •16.2.13 HAL_DMA_GetError
- •16.3 DMA Firmware driver defines
- •17 HAL DMA Extension Driver
- •17.1 DMAEx Firmware driver API description
- •17.1.1 How to use this driver
- •17.1.2 Extended features functions
- •17.1.3 HAL_DMAEx_MultiBufferStart
- •17.1.4 HAL_DMAEx_MultiBufferStart_IT
- •17.1.5 HAL_DMAEx_ChangeMemory
- •17.2 DMAEx Firmware driver defines
- •17.2.1 DMAEx
- •18 HAL DMA2D Generic Driver
- •18.1 DMA2D Firmware driver registers structures
- •18.1.1 DMA2D_ColorTypeDef
- •18.1.2 DMA2D_CLUTCfgTypeDef
- •18.1.3 DMA2D_InitTypeDef
- •18.1.4 DMA2D_LayerCfgTypeDef
- •18.1.5 __DMA2D_HandleTypeDef
- •18.2 DMA2D Firmware driver API description
- •18.2.1 How to use this driver
- •18.2.2 Initialization and Configuration functions
- •18.2.3 IO operation functions
- •18.2.4 Peripheral Control functions
- •18.2.5 Peripheral State and Errors functions
- •18.2.6 HAL_DMA2D_Init
- •18.2.7 HAL_DMA2D_DeInit
- •18.2.8 HAL_DMA2D_MspInit
- •18.2.9 HAL_DMA2D_MspDeInit
- •18.2.10 HAL_DMA2D_Start
- •18.2.11 HAL_DMA2D_Start_IT
- •18.2.12 HAL_DMA2D_BlendingStart
- •18.2.13 HAL_DMA2D_BlendingStart_IT
- •18.2.14 HAL_DMA2D_Abort
- •18.2.15 HAL_DMA2D_Suspend
- •18.2.16 HAL_DMA2D_Resume
- •18.2.17 HAL_DMA2D_PollForTransfer
- •18.2.18 HAL_DMA2D_IRQHandler
- •18.2.19 HAL_DMA2D_ConfigLayer
- •18.2.20 HAL_DMA2D_ConfigCLUT
- •18.2.21 HAL_DMA2D_EnableCLUT
- •18.2.22 HAL_DMA2D_DisableCLUT
- •18.2.23 HAL_DMA2D_ProgramLineEvent
- •18.2.24 HAL_DMA2D_GetState
- •18.2.25 HAL_DMA2D_GetError
- •18.3 DMA2D Firmware driver defines
- •19 HAL ETH Generic Driver
- •19.1 ETH Firmware driver registers structures
- •19.1.1 ETH_InitTypeDef
- •19.1.2 ETH_MACInitTypeDef
- •19.1.3 ETH_DMAInitTypeDef
- •19.1.4 ETH_DMADescTypeDef
- •19.1.5 ETH_DMARxFrameInfos
- •19.1.6 ETH_HandleTypeDef
- •19.2 ETH Firmware driver API description
- •19.2.1 How to use this driver
- •19.2.3 IO operation functions
- •19.2.4 Peripheral Control functions
- •19.2.5 Peripheral State functions
- •19.2.6 HAL_ETH_Init
- •19.2.7 HAL_ETH_DeInit
- •19.2.8 HAL_ETH_DMATxDescListInit
- •19.2.9 HAL_ETH_DMARxDescListInit
- •19.2.10 HAL_ETH_MspInit
- •19.2.11 HAL_ETH_MspDeInit
- •19.2.12 HAL_ETH_TransmitFrame
- •19.2.13 HAL_ETH_GetReceivedFrame
- •19.2.14 HAL_ETH_GetReceivedFrame_IT
- •19.2.15 HAL_ETH_IRQHandler
- •19.2.16 HAL_ETH_TxCpltCallback
- •19.2.17 HAL_ETH_RxCpltCallback
- •19.2.18 HAL_ETH_ErrorCallback
- •19.2.19 HAL_ETH_ReadPHYRegister
- •19.2.20 HAL_ETH_WritePHYRegister
- •19.2.21 HAL_ETH_Start
- •19.2.22 HAL_ETH_Stop
- •19.2.23 HAL_ETH_ConfigMAC
- •19.2.24 HAL_ETH_ConfigDMA
- •19.2.25 HAL_ETH_GetState
- •19.3 ETH Firmware driver defines
- •20 HAL FLASH Generic Driver
- •20.1 FLASH Firmware driver registers structures
- •20.1.1 FLASH_ProcessTypeDef
- •20.2 FLASH Firmware driver API description
- •20.2.1 FLASH peripheral features
- •20.2.2 How to use this driver
- •20.2.3 Programming operation functions
- •20.2.4 Peripheral Control functions
- •20.2.5 Peripheral Errors functions
- •20.2.6 HAL_FLASH_Program
- •20.2.7 HAL_FLASH_Program_IT
- •20.2.8 HAL_FLASH_IRQHandler
- •20.2.9 HAL_FLASH_EndOfOperationCallback
- •20.2.10 HAL_FLASH_OperationErrorCallback
- •20.2.11 HAL_FLASH_Unlock
- •20.2.12 HAL_FLASH_Lock
- •20.2.13 HAL_FLASH_OB_Unlock
- •20.2.14 HAL_FLASH_OB_Lock
- •20.2.15 HAL_FLASH_OB_Launch
- •20.2.16 HAL_FLASH_GetError
- •20.2.17 FLASH_WaitForLastOperation
- •20.3 FLASH Firmware driver defines
- •20.3.1 FLASH
- •21 HAL FLASH Extension Driver
- •21.1 FLASHEx Firmware driver registers structures
- •21.1.1 FLASH_EraseInitTypeDef
- •21.1.2 FLASH_OBProgramInitTypeDef
- •21.1.3 FLASH_AdvOBProgramInitTypeDef
- •21.2 FLASHEx Firmware driver API description
- •21.2.1 Flash Extension features
- •21.2.2 How to use this driver
- •21.2.3 Extended programming operation functions
- •21.2.4 HAL_FLASHEx_Erase
- •21.2.5 HAL_FLASHEx_Erase_IT
- •21.2.6 HAL_FLASHEx_OBProgram
- •21.2.7 HAL_FLASHEx_OBGetConfig
- •21.2.8 HAL_FLASHEx_AdvOBProgram
- •21.2.9 HAL_FLASHEx_AdvOBGetConfig
- •21.2.10 HAL_FLASHEx_OB_SelectPCROP
- •21.2.11 HAL_FLASHEx_OB_DeSelectPCROP
- •21.3 FLASHEx Firmware driver defines
- •21.3.1 FLASHEx
- •22 HAL FLASH__RAMFUNC Generic Driver
- •22.1 FLASH__RAMFUNC Firmware driver API description
- •22.1.1 APIs executed from Internal RAM
- •22.1.2 ramfunc functions
- •22.1.3 HAL_FLASHEx_StopFlashInterfaceClk
- •22.1.4 HAL_FLASHEx_StartFlashInterfaceClk
- •22.1.5 HAL_FLASHEx_EnableFlashSleepMode
- •22.1.6 HAL_FLASHEx_DisableFlashSleepMode
- •22.2 FLASH__RAMFUNC Firmware driver defines
- •22.2.1 FLASH__RAMFUNC
- •23 HAL FMPI2C Generic Driver
- •23.1 FMPI2C Firmware driver registers structures
- •23.1.1 FMPI2C_InitTypeDef
- •23.1.2 FMPI2C_HandleTypeDef
- •23.2 FMPI2C Firmware driver API description
- •23.2.2 IO operation functions
- •23.2.3 Peripheral State and Errors functions
- •23.2.4 HAL_FMPI2C_Init
- •23.2.5 HAL_FMPI2C_DeInit
- •23.2.6 HAL_FMPI2C_MspInit
- •23.2.7 HAL_FMPI2C_MspDeInit
- •23.2.8 HAL_FMPI2C_Master_Transmit
- •23.2.9 HAL_FMPI2C_Master_Receive
- •23.2.10 HAL_FMPI2C_Slave_Transmit
- •23.2.11 HAL_FMPI2C_Slave_Receive
- •23.2.12 HAL_FMPI2C_Master_Transmit_IT
- •23.2.13 HAL_FMPI2C_Master_Receive_IT
- •23.2.14 HAL_FMPI2C_Slave_Transmit_IT
- •23.2.15 HAL_FMPI2C_Slave_Receive_IT
- •23.2.16 HAL_FMPI2C_Master_Transmit_DMA
- •23.2.17 HAL_FMPI2C_Master_Receive_DMA
- •23.2.18 HAL_FMPI2C_Slave_Transmit_DMA
- •23.2.19 HAL_FMPI2C_Slave_Receive_DMA
- •23.2.20 HAL_FMPI2C_Mem_Write
- •23.2.21 HAL_FMPI2C_Mem_Read
- •23.2.22 HAL_FMPI2C_Mem_Write_IT
- •23.2.23 HAL_FMPI2C_Mem_Read_IT
- •23.2.24 HAL_FMPI2C_Mem_Write_DMA
- •23.2.25 HAL_FMPI2C_Mem_Read_DMA
- •23.2.26 HAL_FMPI2C_IsDeviceReady
- •23.2.27 HAL_FMPI2C_EV_IRQHandler
- •23.2.28 HAL_FMPI2C_ER_IRQHandler
- •23.2.29 HAL_FMPI2C_MasterTxCpltCallback
- •23.2.30 HAL_FMPI2C_MasterRxCpltCallback
- •23.2.31 HAL_FMPI2C_SlaveTxCpltCallback
- •23.2.32 HAL_FMPI2C_SlaveRxCpltCallback
- •23.2.33 HAL_FMPI2C_MemTxCpltCallback
- •23.2.34 HAL_FMPI2C_MemRxCpltCallback
- •23.2.35 HAL_FMPI2C_ErrorCallback
- •23.2.36 HAL_FMPI2C_GetState
- •23.2.37 HAL_FMPI2C_GetError
- •23.3 FMPI2C Firmware driver defines
- •23.3.1 FMPI2C
- •24 HAL FMPI2C Extension Driver
- •24.1 FMPI2CEx Firmware driver API description
- •24.1.1 Extension features functions
- •24.1.2 HAL_FMPI2CEx_AnalogFilter_Config
- •24.1.3 HAL_FMPI2CEx_DigitalFilter_Config
- •24.1.4 HAL_FMPI2CEx_EnableWakeUp
- •24.1.5 HAL_FMPI2CEx_DisableWakeUp
- •24.1.6 HAL_FMPI2CEx_EnableFastModePlus
- •24.1.7 HAL_FMPI2CEx_DisableFastModePlus
- •24.2 FMPI2CEx Firmware driver defines
- •24.2.1 FMPI2CEx
- •25 HAL GPIO Generic Driver
- •25.1 GPIO Firmware driver registers structures
- •25.1.1 GPIO_InitTypeDef
- •25.2 GPIO Firmware driver API description
- •25.2.1 GPIO Peripheral features
- •25.2.2 How to use this driver
- •25.2.4 IO operation functions
- •25.2.5 HAL_GPIO_Init
- •25.2.6 HAL_GPIO_DeInit
- •25.2.7 HAL_GPIO_ReadPin
- •25.2.8 HAL_GPIO_WritePin
- •25.2.9 HAL_GPIO_TogglePin
- •25.2.10 HAL_GPIO_LockPin
- •25.2.11 HAL_GPIO_EXTI_IRQHandler
- •25.2.12 HAL_GPIO_EXTI_Callback
- •25.3 GPIO Firmware driver defines
- •25.3.1 GPIO
- •26 HAL GPIO Extension Driver
- •26.1 GPIOEx Firmware driver defines
- •26.1.1 GPIOEx
- •27 HAL HASH Generic Driver
- •27.1 HASH Firmware driver registers structures
- •27.1.1 HASH_InitTypeDef
- •27.1.2 HASH_HandleTypeDef
- •27.2 HASH Firmware driver API description
- •27.2.1 How to use this driver
- •27.2.2 HASH processing using polling mode functions
- •27.2.3 HASH processing using interrupt mode functions
- •27.2.4 HASH processing using DMA mode functions
- •27.2.5 HMAC processing using polling mode functions
- •27.2.6 HMAC processing using DMA mode functions
- •27.2.7 Peripheral State functions
- •27.2.9 HAL_HASH_MD5_Start
- •27.2.10 HAL_HASH_MD5_Accumulate
- •27.2.11 HAL_HASH_SHA1_Start
- •27.2.12 HAL_HASH_SHA1_Accumulate
- •27.2.13 HAL_HASH_MD5_Start_IT
- •27.2.14 HAL_HASH_SHA1_Start_IT
- •27.2.15 HAL_HASH_IRQHandler
- •27.2.16 HAL_HMAC_SHA1_Start
- •27.2.17 HAL_HMAC_MD5_Start
- •27.2.18 HAL_HASH_MD5_Start_DMA
- •27.2.19 HAL_HASH_MD5_Finish
- •27.2.20 HAL_HASH_SHA1_Start_DMA
- •27.2.21 HAL_HASH_SHA1_Finish
- •27.2.22 HAL_HASH_SHA1_Start_IT
- •27.2.23 HAL_HASH_MD5_Start_IT
- •27.2.24 HAL_HMAC_MD5_Start
- •27.2.25 HAL_HMAC_SHA1_Start
- •27.2.26 HAL_HASH_SHA1_Start_DMA
- •27.2.27 HAL_HASH_SHA1_Finish
- •27.2.28 HAL_HASH_MD5_Start_DMA
- •27.2.29 HAL_HASH_MD5_Finish
- •27.2.30 HAL_HMAC_MD5_Start_DMA
- •27.2.31 HAL_HMAC_SHA1_Start_DMA
- •27.2.32 HAL_HASH_GetState
- •27.2.33 HAL_HASH_IRQHandler
- •27.2.34 HAL_HASH_Init
- •27.2.35 HAL_HASH_DeInit
- •27.2.36 HAL_HASH_MspInit
- •27.2.37 HAL_HASH_MspDeInit
- •27.2.38 HAL_HASH_InCpltCallback
- •27.2.39 HAL_HASH_ErrorCallback
- •27.2.40 HAL_HASH_DgstCpltCallback
- •27.2.41 HAL_HASH_GetState
- •27.2.42 HAL_HASH_MspInit
- •27.2.43 HAL_HASH_MspDeInit
- •27.2.44 HAL_HASH_InCpltCallback
- •27.2.45 HAL_HASH_DgstCpltCallback
- •27.2.46 HAL_HASH_ErrorCallback
- •27.3 HASH Firmware driver defines
- •27.3.1 HASH
- •28 HAL HASH Extension Driver
- •28.1 HASHEx Firmware driver API description
- •28.1.1 How to use this driver
- •28.1.2 HASH processing using polling mode functions
- •28.1.3 HMAC processing using polling mode functions
- •28.1.4 HASH processing using interrupt functions
- •28.1.5 HASH processing using DMA functions
- •28.1.6 HMAC processing using DMA functions
- •28.1.7 HAL_HASHEx_SHA224_Start
- •28.1.8 HAL_HASHEx_SHA256_Start
- •28.1.9 HAL_HASHEx_SHA224_Accumulate
- •28.1.10 HAL_HASHEx_SHA256_Accumulate
- •28.1.11 HAL_HMACEx_SHA224_Start
- •28.1.12 HAL_HMACEx_SHA256_Start
- •28.1.13 HAL_HASHEx_SHA224_Start_IT
- •28.1.14 HAL_HASHEx_SHA256_Start_IT
- •28.1.15 HAL_HASHEx_IRQHandler
- •28.1.16 HAL_HASHEx_SHA224_Start_DMA
- •28.1.17 HAL_HASHEx_SHA224_Finish
- •28.1.18 HAL_HASHEx_SHA256_Start_DMA
- •28.1.19 HAL_HASHEx_SHA256_Finish
- •28.1.20 HAL_HMACEx_SHA224_Start_DMA
- •28.1.21 HAL_HMACEx_SHA256_Start_DMA
- •28.1.22 HAL_HASHEx_SHA224_Start
- •28.1.23 HAL_HASHEx_SHA256_Start
- •28.1.24 HAL_HASHEx_SHA224_Accumulate
- •28.1.25 HAL_HASHEx_SHA256_Accumulate
- •28.1.26 HAL_HMACEx_SHA224_Start
- •28.1.27 HAL_HMACEx_SHA256_Start
- •28.1.28 HAL_HASHEx_SHA224_Start_IT
- •28.1.29 HAL_HASHEx_SHA256_Start_IT
- •28.1.30 HAL_HASHEx_SHA224_Start_DMA
- •28.1.31 HAL_HASHEx_SHA224_Finish
- •28.1.32 HAL_HASHEx_SHA256_Start_DMA
- •28.1.33 HAL_HASHEx_SHA256_Finish
- •28.1.34 HAL_HMACEx_SHA224_Start_DMA
- •28.1.35 HAL_HMACEx_SHA256_Start_DMA
- •28.1.36 HAL_HASHEx_IRQHandler
- •28.2 HASHEx Firmware driver defines
- •28.2.1 HASHEx
- •29 HAL HCD Generic Driver
- •29.1 HCD Firmware driver registers structures
- •29.1.1 HCD_HandleTypeDef
- •29.2 HCD Firmware driver API description
- •29.2.1 How to use this driver
- •29.2.3 IO operation functions
- •29.2.4 Peripheral Control functions
- •29.2.5 Peripheral State functions
- •29.2.6 HAL_HCD_Init
- •29.2.7 HAL_HCD_HC_Init
- •29.2.8 HAL_HCD_HC_Halt
- •29.2.9 HAL_HCD_DeInit
- •29.2.10 HAL_HCD_MspInit
- •29.2.11 HAL_HCD_MspDeInit
- •29.2.12 HAL_HCD_HC_SubmitRequest
- •29.2.13 HAL_HCD_IRQHandler
- •29.2.14 HAL_HCD_SOF_Callback
- •29.2.15 HAL_HCD_Connect_Callback
- •29.2.16 HAL_HCD_Disconnect_Callback
- •29.2.17 HAL_HCD_HC_NotifyURBChange_Callback
- •29.2.18 HAL_HCD_Start
- •29.2.19 HAL_HCD_Stop
- •29.2.20 HAL_HCD_ResetPort
- •29.2.21 HAL_HCD_GetState
- •29.2.22 HAL_HCD_HC_GetURBState
- •29.2.23 HAL_HCD_HC_GetXferCount
- •29.2.24 HAL_HCD_HC_GetState
- •29.2.25 HAL_HCD_GetCurrentFrame
- •29.2.26 HAL_HCD_GetCurrentSpeed
- •29.3 HCD Firmware driver defines
- •30 HAL I2C Generic Driver
- •30.1 I2C Firmware driver registers structures
- •30.1.1 I2C_InitTypeDef
- •30.1.2 I2C_HandleTypeDef
- •30.2 I2C Firmware driver API description
- •30.2.1 How to use this driver
- •30.2.3 IO operation functions
- •30.2.4 Peripheral State and Errors functions
- •30.2.5 HAL_I2C_Init
- •30.2.6 HAL_I2C_DeInit
- •30.2.7 HAL_I2C_MspInit
- •30.2.8 HAL_I2C_MspDeInit
- •30.2.9 HAL_I2C_Master_Transmit
- •30.2.10 HAL_I2C_Master_Receive
- •30.2.11 HAL_I2C_Slave_Transmit
- •30.2.12 HAL_I2C_Slave_Receive
- •30.2.13 HAL_I2C_Master_Transmit_IT
- •30.2.14 HAL_I2C_Master_Receive_IT
- •30.2.15 HAL_I2C_Slave_Transmit_IT
- •30.2.16 HAL_I2C_Slave_Receive_IT
- •30.2.17 HAL_I2C_Master_Transmit_DMA
- •30.2.18 HAL_I2C_Master_Receive_DMA
- •30.2.19 HAL_I2C_Slave_Transmit_DMA
- •30.2.20 HAL_I2C_Slave_Receive_DMA
- •30.2.21 HAL_I2C_Mem_Write
- •30.2.22 HAL_I2C_Mem_Read
- •30.2.23 HAL_I2C_Mem_Write_IT
- •30.2.24 HAL_I2C_Mem_Read_IT
- •30.2.25 HAL_I2C_Mem_Write_DMA
- •30.2.26 HAL_I2C_Mem_Read_DMA
- •30.2.27 HAL_I2C_IsDeviceReady
- •30.2.28 HAL_I2C_EV_IRQHandler
- •30.2.29 HAL_I2C_ER_IRQHandler
- •30.2.30 HAL_I2C_MasterTxCpltCallback
- •30.2.31 HAL_I2C_MasterRxCpltCallback
- •30.2.32 HAL_I2C_SlaveTxCpltCallback
- •30.2.33 HAL_I2C_SlaveRxCpltCallback
- •30.2.34 HAL_I2C_MemTxCpltCallback
- •30.2.35 HAL_I2C_MemRxCpltCallback
- •30.2.36 HAL_I2C_ErrorCallback
- •30.2.37 HAL_I2C_GetState
- •30.2.38 HAL_I2C_GetError
- •30.3 I2C Firmware driver defines
- •31 HAL I2C Extension Driver
- •31.1 I2CEx Firmware driver API description
- •31.1.1 I2C peripheral extension features
- •31.1.2 How to use this driver
- •31.1.3 Extension features functions
- •31.1.4 HAL_I2CEx_ConfigAnalogFilter
- •31.1.5 HAL_I2CEx_ConfigDigitalFilter
- •31.2 I2CEx Firmware driver defines
- •32 HAL I2S Generic Driver
- •32.1 I2S Firmware driver registers structures
- •32.1.1 I2S_InitTypeDef
- •32.1.2 I2S_HandleTypeDef
- •32.2 I2S Firmware driver API description
- •32.2.1 How to use this driver
- •32.2.3 IO operation functions
- •32.2.4 Peripheral State and Errors functions
- •32.2.5 HAL_I2S_Init
- •32.2.6 HAL_I2S_DeInit
- •32.2.7 HAL_I2S_MspInit
- •32.2.8 HAL_I2S_MspDeInit
- •32.2.9 HAL_I2S_Transmit
- •32.2.10 HAL_I2S_Receive
- •32.2.11 HAL_I2S_Transmit_IT
- •32.2.12 HAL_I2S_Receive_IT
- •32.2.13 HAL_I2S_Transmit_DMA
- •32.2.14 HAL_I2S_Receive_DMA
- •32.2.15 HAL_I2S_DMAPause
- •32.2.16 HAL_I2S_DMAResume
- •32.2.17 HAL_I2S_DMAStop
- •32.2.18 HAL_I2S_IRQHandler
- •32.2.19 HAL_I2S_TxHalfCpltCallback
- •32.2.20 HAL_I2S_TxCpltCallback
- •32.2.21 HAL_I2S_RxHalfCpltCallback
- •32.2.22 HAL_I2S_RxCpltCallback
- •32.2.23 HAL_I2S_ErrorCallback
- •32.2.24 HAL_I2S_GetState
- •32.2.25 HAL_I2S_GetError
- •32.2.26 HAL_I2S_GetState
- •32.2.27 HAL_I2S_GetError
- •32.3 I2S Firmware driver defines
- •33 HAL I2S Extension Driver
- •33.1 I2SEx Firmware driver API description
- •33.1.1 I2S Extension features
- •33.1.2 How to use this driver
- •33.1.3 HAL_I2SEx_TransmitReceive
- •33.1.4 HAL_I2SEx_TransmitReceive_IT
- •33.1.5 HAL_I2SEx_TransmitReceive_DMA
- •33.2 I2SEx Firmware driver defines
- •34 HAL IRDA Generic Driver
- •34.1 IRDA Firmware driver registers structures
- •34.1.1 IRDA_InitTypeDef
- •34.1.2 IRDA_HandleTypeDef
- •34.2 IRDA Firmware driver API description
- •34.2.1 How to use this driver
- •34.2.2 Initialization and Configuration functions
- •34.2.3 IO operation functions
- •34.2.4 Peripheral State and Errors functions
- •34.2.5 HAL_IRDA_Init
- •34.2.6 HAL_IRDA_DeInit
- •34.2.7 HAL_IRDA_MspInit
- •34.2.8 HAL_IRDA_MspDeInit
- •34.2.9 HAL_IRDA_Transmit
- •34.2.10 HAL_IRDA_Receive
- •34.2.11 HAL_IRDA_Transmit_IT
- •34.2.12 HAL_IRDA_Receive_IT
- •34.2.13 HAL_IRDA_Transmit_DMA
- •34.2.14 HAL_IRDA_Receive_DMA
- •34.2.15 HAL_IRDA_DMAPause
- •34.2.16 HAL_IRDA_DMAResume
- •34.2.17 HAL_IRDA_DMAStop
- •34.2.18 HAL_IRDA_IRQHandler
- •34.2.19 HAL_IRDA_TxCpltCallback
- •34.2.20 HAL_IRDA_TxHalfCpltCallback
- •34.2.21 HAL_IRDA_RxCpltCallback
- •34.2.22 HAL_IRDA_RxHalfCpltCallback
- •34.2.23 HAL_IRDA_ErrorCallback
- •34.2.24 HAL_IRDA_GetState
- •34.2.25 HAL_IRDA_GetError
- •34.3 IRDA Firmware driver defines
- •34.3.1 IRDA
- •35 HAL IWDG Generic Driver
- •35.1 IWDG Firmware driver registers structures
- •35.1.1 IWDG_InitTypeDef
- •35.1.2 IWDG_HandleTypeDef
- •35.2 IWDG Firmware driver API description
- •35.2.1 IWDG Specific features
- •35.2.2 How to use this driver
- •35.2.4 IO operation functions
- •35.2.5 Peripheral State functions
- •35.2.6 HAL_IWDG_Init
- •35.2.7 HAL_IWDG_MspInit
- •35.2.8 HAL_IWDG_Start
- •35.2.9 HAL_IWDG_Refresh
- •35.2.10 HAL_IWDG_GetState
- •35.3 IWDG Firmware driver defines
- •35.3.1 IWDG
- •36 HAL LTDC Generic Driver
- •36.1 LTDC Firmware driver registers structures
- •36.1.1 LTDC_ColorTypeDef
- •36.1.2 LTDC_InitTypeDef
- •36.1.3 LTDC_LayerCfgTypeDef
- •36.1.4 LTDC_HandleTypeDef
- •36.2 LTDC Firmware driver API description
- •36.2.1 How to use this driver
- •36.2.2 Initialization and Configuration functions
- •36.2.3 IO operation functions
- •36.2.4 Peripheral Control functions
- •36.2.5 Peripheral State and Errors functions
- •36.2.6 HAL_LTDC_Init
- •36.2.7 HAL_LTDC_DeInit
- •36.2.8 HAL_LTDC_MspInit
- •36.2.9 HAL_LTDC_MspDeInit
- •36.2.10 HAL_LTDC_ErrorCallback
- •36.2.11 HAL_LTDC_LineEvenCallback
- •36.2.12 HAL_LTDC_IRQHandler
- •36.2.13 HAL_LTDC_ErrorCallback
- •36.2.14 HAL_LTDC_LineEvenCallback
- •36.2.15 HAL_LTDC_ConfigLayer
- •36.2.16 HAL_LTDC_ConfigColorKeying
- •36.2.17 HAL_LTDC_ConfigCLUT
- •36.2.18 HAL_LTDC_EnableColorKeying
- •36.2.19 HAL_LTDC_DisableColorKeying
- •36.2.20 HAL_LTDC_EnableCLUT
- •36.2.21 HAL_LTDC_DisableCLUT
- •36.2.22 HAL_LTDC_EnableDither
- •36.2.23 HAL_LTDC_DisableDither
- •36.2.24 HAL_LTDC_SetWindowSize
- •36.2.25 HAL_LTDC_SetWindowPosition
- •36.2.26 HAL_LTDC_SetPixelFormat
- •36.2.27 HAL_LTDC_SetAlpha
- •36.2.28 HAL_LTDC_SetAddress
- •36.2.29 HAL_LTDC_ProgramLineEvent
- •36.2.30 HAL_LTDC_GetState
- •36.2.31 HAL_LTDC_GetError
- •36.3 LTDC Firmware driver defines
- •36.3.1 LTDC
- •37 HAL NAND Generic Driver
- •37.1 NAND Firmware driver registers structures
- •37.1.1 NAND_IDTypeDef
- •37.1.2 NAND_AddressTypeDef
- •37.1.3 NAND_InfoTypeDef
- •37.1.4 NAND_HandleTypeDef
- •37.2 NAND Firmware driver API description
- •37.2.1 How to use this driver
- •37.2.3 NAND Input and Output functions
- •37.2.4 NAND Control functions
- •37.2.5 NAND State functions
- •37.2.6 HAL_NAND_Init
- •37.2.7 HAL_NAND_DeInit
- •37.2.8 HAL_NAND_MspInit
- •37.2.9 HAL_NAND_MspDeInit
- •37.2.10 HAL_NAND_IRQHandler
- •37.2.11 HAL_NAND_ITCallback
- •37.2.12 HAL_NAND_Read_ID
- •37.2.13 HAL_NAND_Reset
- •37.2.14 HAL_NAND_Read_Page
- •37.2.15 HAL_NAND_Write_Page
- •37.2.16 HAL_NAND_Read_SpareArea
- •37.2.17 HAL_NAND_Write_SpareArea
- •37.2.18 HAL_NAND_Erase_Block
- •37.2.19 HAL_NAND_Read_Status
- •37.2.20 HAL_NAND_Address_Inc
- •37.2.21 HAL_NAND_ECC_Enable
- •37.2.22 HAL_NAND_ECC_Disable
- •37.2.23 HAL_NAND_GetECC
- •37.2.24 HAL_NAND_GetState
- •37.2.25 HAL_NAND_Read_Status
- •37.3 NAND Firmware driver defines
- •37.3.1 NAND
- •38 HAL NOR Generic Driver
- •38.1 NOR Firmware driver registers structures
- •38.1.1 NOR_IDTypeDef
- •38.1.2 NOR_CFITypeDef
- •38.1.3 NOR_HandleTypeDef
- •38.2 NOR Firmware driver API description
- •38.2.1 How to use this driver
- •38.2.2 NOR Initialization and de_initialization functions
- •38.2.3 NOR Input and Output functions
- •38.2.4 NOR Control functions
- •38.2.5 NOR State functions
- •38.2.6 HAL_NOR_Init
- •38.2.7 HAL_NOR_DeInit
- •38.2.8 HAL_NOR_MspInit
- •38.2.9 HAL_NOR_MspDeInit
- •38.2.10 HAL_NOR_MspWait
- •38.2.11 HAL_NOR_Read_ID
- •38.2.12 HAL_NOR_ReturnToReadMode
- •38.2.13 HAL_NOR_Read
- •38.2.14 HAL_NOR_Program
- •38.2.15 HAL_NOR_ReadBuffer
- •38.2.16 HAL_NOR_ProgramBuffer
- •38.2.17 HAL_NOR_Erase_Block
- •38.2.18 HAL_NOR_Erase_Chip
- •38.2.19 HAL_NOR_Read_CFI
- •38.2.20 HAL_NOR_WriteOperation_Enable
- •38.2.21 HAL_NOR_WriteOperation_Disable
- •38.2.22 HAL_NOR_GetState
- •38.2.23 HAL_NOR_GetStatus
- •38.3 NOR Firmware driver defines
- •39 HAL PCCARD Generic Driver
- •39.1 PCCARD Firmware driver registers structures
- •39.1.1 PCCARD_HandleTypeDef
- •39.2 PCCARD Firmware driver API description
- •39.2.1 How to use this driver
- •39.2.3 PCCARD Input and Output functions
- •39.2.4 PCCARD State functions
- •39.2.5 HAL_PCCARD_Init
- •39.2.6 HAL_PCCARD_DeInit
- •39.2.7 HAL_PCCARD_MspInit
- •39.2.8 HAL_PCCARD_MspDeInit
- •39.2.9 HAL_PCCARD_Read_ID
- •39.2.10 HAL_PCCARD_Read_Sector
- •39.2.11 HAL_PCCARD_Write_Sector
- •39.2.12 HAL_PCCARD_Erase_Sector
- •39.2.13 HAL_PCCARD_Reset
- •39.2.14 HAL_PCCARD_IRQHandler
- •39.2.15 HAL_PCCARD_ITCallback
- •39.2.16 HAL_PCCARD_GetState
- •39.2.17 HAL_PCCARD_GetStatus
- •39.2.18 HAL_PCCARD_ReadStatus
- •39.3 PCCARD Firmware driver defines
- •39.3.1 PCCARD
- •40 HAL PCD Generic Driver
- •40.1 PCD Firmware driver registers structures
- •40.1.1 PCD_HandleTypeDef
- •40.2 PCD Firmware driver API description
- •40.2.1 How to use this driver
- •40.2.3 IO operation functions
- •40.2.4 Peripheral Control functions
- •40.2.5 Peripheral State functions
- •40.2.6 HAL_PCD_Init
- •40.2.7 HAL_PCD_DeInit
- •40.2.8 HAL_PCD_MspInit
- •40.2.9 HAL_PCD_MspDeInit
- •40.2.10 HAL_PCD_Start
- •40.2.11 HAL_PCD_Stop
- •40.2.12 HAL_PCD_IRQHandler
- •40.2.13 HAL_PCD_DataOutStageCallback
- •40.2.14 HAL_PCD_DataInStageCallback
- •40.2.15 HAL_PCD_SetupStageCallback
- •40.2.16 HAL_PCD_SOFCallback
- •40.2.17 HAL_PCD_ResetCallback
- •40.2.18 HAL_PCD_SuspendCallback
- •40.2.19 HAL_PCD_ResumeCallback
- •40.2.20 HAL_PCD_ISOOUTIncompleteCallback
- •40.2.21 HAL_PCD_ISOINIncompleteCallback
- •40.2.22 HAL_PCD_ConnectCallback
- •40.2.23 HAL_PCD_DisconnectCallback
- •40.2.24 HAL_PCD_DevConnect
- •40.2.25 HAL_PCD_DevDisconnect
- •40.2.26 HAL_PCD_SetAddress
- •40.2.27 HAL_PCD_EP_Open
- •40.2.28 HAL_PCD_EP_Close
- •40.2.29 HAL_PCD_EP_Receive
- •40.2.30 HAL_PCD_EP_GetRxCount
- •40.2.31 HAL_PCD_EP_Transmit
- •40.2.32 HAL_PCD_EP_SetStall
- •40.2.33 HAL_PCD_EP_ClrStall
- •40.2.34 HAL_PCD_EP_Flush
- •40.2.35 HAL_PCD_ActivateRemoteWakeup
- •40.2.36 HAL_PCD_DeActivateRemoteWakeup
- •40.2.37 HAL_PCD_GetState
- •40.3 PCD Firmware driver defines
- •41 HAL PCD Extension Driver
- •41.1 PCDEx Firmware driver API description
- •41.1.1 Extended features functions
- •41.1.2 HAL_PCDEx_SetTxFiFo
- •41.1.3 HAL_PCDEx_SetRxFiFo
- •41.1.4 HAL_PCDEx_ActivateLPM
- •41.1.5 HAL_PCDEx_DeActivateLPM
- •41.1.6 HAL_PCDEx_LPM_Callback
- •41.2 PCDEx Firmware driver defines
- •41.2.1 PCDEx
- •42 HAL PWR Generic Driver
- •42.1 PWR Firmware driver registers structures
- •42.1.1 PWR_PVDTypeDef
- •42.2 PWR Firmware driver API description
- •42.2.2 Peripheral Control functions
- •42.2.3 HAL_PWR_DeInit
- •42.2.4 HAL_PWR_EnableBkUpAccess
- •42.2.5 HAL_PWR_DisableBkUpAccess
- •42.2.6 HAL_PWR_ConfigPVD
- •42.2.7 HAL_PWR_EnablePVD
- •42.2.8 HAL_PWR_DisablePVD
- •42.2.9 HAL_PWR_EnableWakeUpPin
- •42.2.10 HAL_PWR_DisableWakeUpPin
- •42.2.11 HAL_PWR_EnterSLEEPMode
- •42.2.12 HAL_PWR_EnterSTOPMode
- •42.2.13 HAL_PWR_EnterSTANDBYMode
- •42.2.14 HAL_PWR_PVD_IRQHandler
- •42.2.15 HAL_PWR_PVDCallback
- •42.2.16 HAL_PWR_EnableSleepOnExit
- •42.2.17 HAL_PWR_DisableSleepOnExit
- •42.2.18 HAL_PWR_EnableSEVOnPend
- •42.2.19 HAL_PWR_DisableSEVOnPend
- •42.3 PWR Firmware driver defines
- •43 HAL PWR Extension Driver
- •43.1 PWREx Firmware driver API description
- •43.1.1 Peripheral extended features functions
- •43.1.2 HAL_PWREx_EnableBkUpReg
- •43.1.3 HAL_PWREx_DisableBkUpReg
- •43.1.4 HAL_PWREx_EnableFlashPowerDown
- •43.1.5 HAL_PWREx_DisableFlashPowerDown
- •43.1.6 HAL_PWREx_GetVoltageRange
- •43.1.7 HAL_PWREx_ControlVoltageScaling
- •43.1.8 HAL_PWREx_EnableOverDrive
- •43.1.9 HAL_PWREx_DisableOverDrive
- •43.1.10 HAL_PWREx_EnterUnderDriveSTOPMode
- •43.2 PWREx Firmware driver defines
- •43.2.1 PWREx
- •44 HAL QSPI Generic Driver
- •44.1 QSPI Firmware driver registers structures
- •44.1.1 QSPI_InitTypeDef
- •44.1.2 QSPI_HandleTypeDef
- •44.1.3 QSPI_CommandTypeDef
- •44.1.4 QSPI_AutoPollingTypeDef
- •44.1.5 QSPI_MemoryMappedTypeDef
- •44.2 QSPI Firmware driver API description
- •44.2.1 Initialization and Configuration functions
- •44.2.2 IO operation functions
- •44.2.3 Peripheral Control and State functions
- •44.2.4 HAL_QSPI_Init
- •44.2.5 HAL_QSPI_DeInit
- •44.2.6 HAL_QSPI_MspInit
- •44.2.7 HAL_QSPI_MspDeInit
- •44.2.8 HAL_QSPI_IRQHandler
- •44.2.9 HAL_QSPI_Command
- •44.2.10 HAL_QSPI_Command_IT
- •44.2.11 HAL_QSPI_Transmit
- •44.2.12 HAL_QSPI_Receive
- •44.2.13 HAL_QSPI_Transmit_IT
- •44.2.14 HAL_QSPI_Receive_IT
- •44.2.15 HAL_QSPI_Transmit_DMA
- •44.2.16 HAL_QSPI_Receive_DMA
- •44.2.17 HAL_QSPI_AutoPolling
- •44.2.18 HAL_QSPI_AutoPolling_IT
- •44.2.19 HAL_QSPI_MemoryMapped
- •44.2.20 HAL_QSPI_ErrorCallback
- •44.2.21 HAL_QSPI_CmdCpltCallback
- •44.2.22 HAL_QSPI_RxCpltCallback
- •44.2.23 HAL_QSPI_TxCpltCallback
- •44.2.24 HAL_QSPI_RxHalfCpltCallback
- •44.2.25 HAL_QSPI_TxHalfCpltCallback
- •44.2.26 HAL_QSPI_FifoThresholdCallback
- •44.2.27 HAL_QSPI_StatusMatchCallback
- •44.2.28 HAL_QSPI_TimeOutCallback
- •44.2.29 HAL_QSPI_GetState
- •44.2.30 HAL_QSPI_GetError
- •44.2.31 HAL_QSPI_Abort
- •44.2.32 HAL_QSPI_SetTimeout
- •44.2.33 HAL_QSPI_ErrorCallback
- •44.2.34 HAL_QSPI_FifoThresholdCallback
- •44.2.35 HAL_QSPI_CmdCpltCallback
- •44.2.36 HAL_QSPI_RxCpltCallback
- •44.2.37 HAL_QSPI_TxCpltCallback
- •44.2.38 HAL_QSPI_RxHalfCpltCallback
- •44.2.39 HAL_QSPI_TxHalfCpltCallback
- •44.2.40 HAL_QSPI_StatusMatchCallback
- •44.2.41 HAL_QSPI_TimeOutCallback
- •44.2.42 HAL_QSPI_GetState
- •44.2.43 HAL_QSPI_GetError
- •44.2.44 HAL_QSPI_Abort
- •44.2.45 HAL_QSPI_SetTimeout
- •44.3 QSPI Firmware driver defines
- •44.3.1 QSPI
- •45 HAL RCC Generic Driver
- •45.1 RCC Firmware driver registers structures
- •45.1.1 RCC_OscInitTypeDef
- •45.1.2 RCC_ClkInitTypeDef
- •45.2 RCC Firmware driver API description
- •45.2.1 RCC specific features
- •45.2.2 RCC Limitations
- •45.2.4 Peripheral Control functions
- •45.2.5 HAL_RCC_DeInit
- •45.2.6 HAL_RCC_OscConfig
- •45.2.7 HAL_RCC_ClockConfig
- •45.2.8 HAL_RCC_MCOConfig
- •45.2.9 HAL_RCC_EnableCSS
- •45.2.10 HAL_RCC_DisableCSS
- •45.2.11 HAL_RCC_GetSysClockFreq
- •45.2.12 HAL_RCC_GetHCLKFreq
- •45.2.13 HAL_RCC_GetPCLK1Freq
- •45.2.14 HAL_RCC_GetPCLK2Freq
- •45.2.15 HAL_RCC_GetOscConfig
- •45.2.16 HAL_RCC_GetClockConfig
- •45.2.17 HAL_RCC_NMI_IRQHandler
- •45.2.18 HAL_RCC_CSSCallback
- •45.3 RCC Firmware driver defines
- •46 HAL RCC Extension Driver
- •46.1 RCCEx Firmware driver registers structures
- •46.1.1 RCC_PLLInitTypeDef
- •46.1.2 RCC_PLLI2SInitTypeDef
- •46.1.3 RCC_PLLSAIInitTypeDef
- •46.1.4 RCC_PeriphCLKInitTypeDef
- •46.2 RCCEx Firmware driver API description
- •46.2.1 Extended Peripheral Control functions
- •46.2.2 HAL_RCCEx_PeriphCLKConfig
- •46.2.3 HAL_RCCEx_GetPeriphCLKConfig
- •46.2.4 HAL_RCCEx_GetPeriphCLKFreq
- •46.2.5 HAL_RCCEx_SelectLSEMode
- •46.2.6 HAL_RCC_OscConfig
- •46.2.7 HAL_RCC_GetOscConfig
- •46.2.8 HAL_RCC_GetSysClockFreq
- •46.3 RCCEx Firmware driver defines
- •46.3.1 RCCEx
- •47 HAL RNG Generic Driver
- •47.1 RNG Firmware driver registers structures
- •47.1.1 RNG_HandleTypeDef
- •47.2 RNG Firmware driver API description
- •47.2.1 How to use this driver
- •47.2.3 Peripheral Control functions
- •47.2.4 Peripheral State functions
- •47.2.5 HAL_RNG_Init
- •47.2.6 HAL_RNG_DeInit
- •47.2.7 HAL_RNG_MspInit
- •47.2.8 HAL_RNG_MspDeInit
- •47.2.9 HAL_RNG_GenerateRandomNumber
- •47.2.10 HAL_RNG_GenerateRandomNumber_IT
- •47.2.11 HAL_RNG_IRQHandler
- •47.2.12 HAL_RNG_GetRandomNumber
- •47.2.13 HAL_RNG_GetRandomNumber_IT
- •47.2.14 HAL_RNG_ReadLastRandomNumber
- •47.2.15 HAL_RNG_ReadyDataCallback
- •47.2.16 HAL_RNG_ErrorCallback
- •47.2.17 HAL_RNG_GetState
- •47.3 RNG Firmware driver defines
- •48 HAL RTC Generic Driver
- •48.1 RTC Firmware driver registers structures
- •48.1.1 RTC_InitTypeDef
- •48.1.2 RTC_TimeTypeDef
- •48.1.3 RTC_DateTypeDef
- •48.1.4 RTC_AlarmTypeDef
- •48.1.5 RTC_HandleTypeDef
- •48.2 RTC Firmware driver API description
- •48.2.1 Backup Domain Operating Condition
- •48.2.2 Backup Domain Reset
- •48.2.3 Backup Domain Access
- •48.2.4 How to use this driver
- •48.2.5 RTC and low power modes
- •48.2.7 RTC Time and Date functions
- •48.2.8 RTC Alarm functions
- •48.2.9 Peripheral Control functions
- •48.2.10 Peripheral State functions
- •48.2.11 HAL_RTC_Init
- •48.2.12 HAL_RTC_DeInit
- •48.2.13 HAL_RTC_MspInit
- •48.2.14 HAL_RTC_MspDeInit
- •48.2.15 HAL_RTC_SetTime
- •48.2.16 HAL_RTC_GetTime
- •48.2.17 HAL_RTC_SetDate
- •48.2.18 HAL_RTC_GetDate
- •48.2.19 HAL_RTC_SetAlarm
- •48.2.20 HAL_RTC_SetAlarm_IT
- •48.2.21 HAL_RTC_DeactivateAlarm
- •48.2.22 HAL_RTC_GetAlarm
- •48.2.23 HAL_RTC_AlarmIRQHandler
- •48.2.24 HAL_RTC_AlarmAEventCallback
- •48.2.25 HAL_RTC_PollForAlarmAEvent
- •48.2.26 HAL_RTC_WaitForSynchro
- •48.2.27 HAL_RTC_GetState
- •48.3 RTC Firmware driver defines
- •49 HAL RTC Extension Driver
- •49.1 RTCEx Firmware driver registers structures
- •49.1.1 RTC_TamperTypeDef
- •49.2 RTCEx Firmware driver API description
- •49.2.1 How to use this driver
- •49.2.2 RTC TimeStamp and Tamper functions
- •49.2.4 Extension Peripheral Control functions
- •49.2.5 Extended features functions
- •49.2.6 HAL_RTCEx_SetTimeStamp
- •49.2.7 HAL_RTCEx_SetTimeStamp_IT
- •49.2.8 HAL_RTCEx_DeactivateTimeStamp
- •49.2.9 HAL_RTCEx_GetTimeStamp
- •49.2.10 HAL_RTCEx_SetTamper
- •49.2.11 HAL_RTCEx_SetTamper_IT
- •49.2.12 HAL_RTCEx_DeactivateTamper
- •49.2.13 HAL_RTCEx_TamperTimeStampIRQHandler
- •49.2.14 HAL_RTCEx_TimeStampEventCallback
- •49.2.15 HAL_RTCEx_Tamper1EventCallback
- •49.2.16 HAL_RTCEx_Tamper2EventCallback
- •49.2.17 HAL_RTCEx_PollForTimeStampEvent
- •49.2.18 HAL_RTCEx_PollForTamper1Event
- •49.2.19 HAL_RTCEx_PollForTamper2Event
- •49.2.20 HAL_RTCEx_SetWakeUpTimer
- •49.2.21 HAL_RTCEx_SetWakeUpTimer_IT
- •49.2.22 HAL_RTCEx_DeactivateWakeUpTimer
- •49.2.23 HAL_RTCEx_GetWakeUpTimer
- •49.2.24 HAL_RTCEx_WakeUpTimerIRQHandler
- •49.2.25 HAL_RTCEx_WakeUpTimerEventCallback
- •49.2.26 HAL_RTCEx_PollForWakeUpTimerEvent
- •49.2.27 HAL_RTCEx_BKUPWrite
- •49.2.28 HAL_RTCEx_BKUPRead
- •49.2.29 HAL_RTCEx_SetCoarseCalib
- •49.2.30 HAL_RTCEx_DeactivateCoarseCalib
- •49.2.31 HAL_RTCEx_SetSmoothCalib
- •49.2.32 HAL_RTCEx_SetSynchroShift
- •49.2.33 HAL_RTCEx_SetCalibrationOutPut
- •49.2.34 HAL_RTCEx_DeactivateCalibrationOutPut
- •49.2.35 HAL_RTCEx_SetRefClock
- •49.2.36 HAL_RTCEx_DeactivateRefClock
- •49.2.37 HAL_RTCEx_EnableBypassShadow
- •49.2.38 HAL_RTCEx_DisableBypassShadow
- •49.2.39 HAL_RTCEx_AlarmBEventCallback
- •49.2.40 HAL_RTCEx_PollForAlarmBEvent
- •49.3 RTCEx Firmware driver defines
- •49.3.1 RTCEx
- •50 HAL SAI Generic Driver
- •50.1 SAI Firmware driver registers structures
- •50.1.1 SAI_InitTypeDef
- •50.1.2 SAI_FrameInitTypeDef
- •50.1.3 SAI_SlotInitTypeDef
- •50.1.4 __SAI_HandleTypeDef
- •50.2 SAI Firmware driver API description
- •50.2.1 How to use this driver
- •50.2.3 IO operation functions
- •50.2.4 Peripheral State and Errors functions
- •50.2.5 HAL_SAI_InitProtocol
- •50.2.6 HAL_SAI_Init
- •50.2.7 HAL_SAI_DeInit
- •50.2.8 HAL_SAI_MspInit
- •50.2.9 HAL_SAI_MspDeInit
- •50.2.10 HAL_SAI_Transmit
- •50.2.11 HAL_SAI_Receive
- •50.2.12 HAL_SAI_Transmit_IT
- •50.2.13 HAL_SAI_Receive_IT
- •50.2.14 HAL_SAI_DMAPause
- •50.2.15 HAL_SAI_DMAResume
- •50.2.16 HAL_SAI_DMAStop
- •50.2.17 HAL_SAI_Abort
- •50.2.18 HAL_SAI_Transmit_DMA
- •50.2.19 HAL_SAI_Receive_DMA
- •50.2.20 HAL_SAI_EnableTxMuteMode
- •50.2.21 HAL_SAI_DisableTxMuteMode
- •50.2.22 HAL_SAI_EnableRxMuteMode
- •50.2.23 HAL_SAI_DisableRxMuteMode
- •50.2.24 HAL_SAI_IRQHandler
- •50.2.25 HAL_SAI_TxCpltCallback
- •50.2.26 HAL_SAI_TxHalfCpltCallback
- •50.2.27 HAL_SAI_RxCpltCallback
- •50.2.28 HAL_SAI_RxHalfCpltCallback
- •50.2.29 HAL_SAI_ErrorCallback
- •50.2.30 HAL_SAI_GetState
- •50.2.31 HAL_SAI_GetError
- •50.3 SAI Firmware driver defines
- •51 HAL SAI Extension Driver
- •51.1 SAIEx Firmware driver API description
- •51.1.1 SAI peripheral extension features
- •51.1.2 How to use this driver
- •51.1.3 Extension features Functions
- •51.1.4 SAI_BlockSynchroConfig
- •51.1.5 SAI_GetInputClock
- •51.2 SAIEx Firmware driver defines
- •51.2.1 SAIEx
- •52 HAL SDRAM Generic Driver
- •52.1 SDRAM Firmware driver registers structures
- •52.1.1 SDRAM_HandleTypeDef
- •52.2 SDRAM Firmware driver API description
- •52.2.1 How to use this driver
- •52.2.2 SDRAM Initialization and de_initialization functions
- •52.2.3 SDRAM Input and Output functions
- •52.2.4 SDRAM Control functions
- •52.2.5 SDRAM State functions
- •52.2.6 HAL_SDRAM_Init
- •52.2.7 HAL_SDRAM_DeInit
- •52.2.8 HAL_SDRAM_MspInit
- •52.2.9 HAL_SDRAM_MspDeInit
- •52.2.10 HAL_SDRAM_IRQHandler
- •52.2.11 HAL_SDRAM_RefreshErrorCallback
- •52.2.12 HAL_SDRAM_DMA_XferCpltCallback
- •52.2.13 HAL_SDRAM_DMA_XferErrorCallback
- •52.2.14 HAL_SDRAM_Read_8b
- •52.2.15 HAL_SDRAM_Write_8b
- •52.2.16 HAL_SDRAM_Read_16b
- •52.2.17 HAL_SDRAM_Write_16b
- •52.2.18 HAL_SDRAM_Read_32b
- •52.2.19 HAL_SDRAM_Write_32b
- •52.2.20 HAL_SDRAM_Read_DMA
- •52.2.21 HAL_SDRAM_Write_DMA
- •52.2.22 HAL_SDRAM_WriteProtection_Enable
- •52.2.23 HAL_SDRAM_WriteProtection_Disable
- •52.2.24 HAL_SDRAM_SendCommand
- •52.2.25 HAL_SDRAM_ProgramRefreshRate
- •52.2.26 HAL_SDRAM_SetAutoRefreshNumber
- •52.2.27 HAL_SDRAM_GetModeStatus
- •52.2.28 HAL_SDRAM_GetState
- •52.3 SDRAM Firmware driver defines
- •52.3.1 SDRAM
- •53 HAL SD Generic Driver
- •53.1 SD Firmware driver registers structures
- •53.1.1 SD_HandleTypeDef
- •53.1.2 HAL_SD_CSDTypedef
- •53.1.3 HAL_SD_CIDTypedef
- •53.1.4 HAL_SD_CardStatusTypedef
- •53.1.5 HAL_SD_CardInfoTypedef
- •53.2 SD Firmware driver API description
- •53.2.1 How to use this driver
- •53.2.3 IO operation functions
- •53.2.4 Peripheral Control functions
- •53.2.5 Peripheral State functions
- •53.2.6 HAL_SD_Init
- •53.2.7 HAL_SD_DeInit
- •53.2.8 HAL_SD_MspInit
- •53.2.9 HAL_SD_MspDeInit
- •53.2.10 HAL_SD_ReadBlocks
- •53.2.11 HAL_SD_WriteBlocks
- •53.2.12 HAL_SD_ReadBlocks_DMA
- •53.2.13 HAL_SD_WriteBlocks_DMA
- •53.2.14 HAL_SD_CheckReadOperation
- •53.2.15 HAL_SD_CheckWriteOperation
- •53.2.16 HAL_SD_Erase
- •53.2.17 HAL_SD_IRQHandler
- •53.2.18 HAL_SD_XferCpltCallback
- •53.2.19 HAL_SD_XferErrorCallback
- •53.2.20 HAL_SD_DMA_RxCpltCallback
- •53.2.21 HAL_SD_DMA_RxErrorCallback
- •53.2.22 HAL_SD_DMA_TxCpltCallback
- •53.2.23 HAL_SD_DMA_TxErrorCallback
- •53.2.24 HAL_SD_Get_CardInfo
- •53.2.25 HAL_SD_WideBusOperation_Config
- •53.2.26 HAL_SD_StopTransfer
- •53.2.27 HAL_SD_HighSpeed
- •53.2.28 HAL_SD_SendSDStatus
- •53.2.29 HAL_SD_GetStatus
- •53.2.30 HAL_SD_GetCardStatus
- •53.3 SD Firmware driver defines
- •54 HAL SMARTCARD Generic Driver
- •54.1 SMARTCARD Firmware driver registers structures
- •54.1.1 SMARTCARD_InitTypeDef
- •54.1.2 SMARTCARD_HandleTypeDef
- •54.2 SMARTCARD Firmware driver API description
- •54.2.1 How to use this driver
- •54.2.2 Initialization and Configuration functions
- •54.2.3 IO operation functions
- •54.2.4 Peripheral State and Errors functions
- •54.2.5 HAL_SMARTCARD_Init
- •54.2.6 HAL_SMARTCARD_DeInit
- •54.2.7 HAL_SMARTCARD_MspInit
- •54.2.8 HAL_SMARTCARD_MspDeInit
- •54.2.9 HAL_SMARTCARD_ReInit
- •54.2.10 HAL_SMARTCARD_Transmit
- •54.2.11 HAL_SMARTCARD_Receive
- •54.2.12 HAL_SMARTCARD_Transmit_IT
- •54.2.13 HAL_SMARTCARD_Receive_IT
- •54.2.14 HAL_SMARTCARD_Transmit_DMA
- •54.2.15 HAL_SMARTCARD_Receive_DMA
- •54.2.16 HAL_SMARTCARD_IRQHandler
- •54.2.17 HAL_SMARTCARD_TxCpltCallback
- •54.2.18 HAL_SMARTCARD_RxCpltCallback
- •54.2.19 HAL_SMARTCARD_ErrorCallback
- •54.2.20 HAL_SMARTCARD_GetState
- •54.2.21 HAL_SMARTCARD_GetError
- •54.3 SMARTCARD Firmware driver defines
- •54.3.1 SMARTCARD
- •55 HAL SPDIFRX Generic Driver
- •55.1 SPDIFRX Firmware driver registers structures
- •55.1.1 SPDIFRX_InitTypeDef
- •55.1.2 SPDIFRX_SetDataFormatTypeDef
- •55.1.3 SPDIFRX_HandleTypeDef
- •55.2 SPDIFRX Firmware driver API description
- •55.2.1 How to use this driver
- •55.2.3 IO operation functions
- •55.2.4 Peripheral State and Errors functions
- •55.2.5 HAL_SPDIFRX_Init
- •55.2.6 HAL_SPDIFRX_DeInit
- •55.2.7 HAL_SPDIFRX_MspInit
- •55.2.8 HAL_SPDIFRX_MspDeInit
- •55.2.9 HAL_SPDIFRX_SetDataFormat
- •55.2.10 HAL_SPDIFRX_ReceiveDataFlow
- •55.2.11 HAL_SPDIFRX_ReceiveControlFlow
- •55.2.12 HAL_SPDIFRX_ReceiveDataFlow_IT
- •55.2.13 HAL_SPDIFRX_ReceiveControlFlow_IT
- •55.2.14 HAL_SPDIFRX_ReceiveDataFlow_DMA
- •55.2.15 HAL_SPDIFRX_ReceiveControlFlow_DMA
- •55.2.16 HAL_SPDIFRX_DMAStop
- •55.2.17 HAL_SPDIFRX_IRQHandler
- •55.2.18 HAL_SPDIFRX_RxHalfCpltCallback
- •55.2.19 HAL_SPDIFRX_RxCpltCallback
- •55.2.20 HAL_SPDIFRX_CxHalfCpltCallback
- •55.2.21 HAL_SPDIFRX_CxCpltCallback
- •55.2.22 HAL_SPDIFRX_ErrorCallback
- •55.2.23 HAL_SPDIFRX_GetState
- •55.2.24 HAL_SPDIFRX_GetError
- •55.3 SPDIFRX Firmware driver defines
- •55.3.1 SPDIFRX
- •56 HAL SPI Generic Driver
- •56.1 SPI Firmware driver registers structures
- •56.1.1 SPI_InitTypeDef
- •56.1.2 __SPI_HandleTypeDef
- •56.2 SPI Firmware driver API description
- •56.2.1 How to use this driver
- •56.2.3 IO operation functions
- •56.2.4 Peripheral State and Errors functions
- •56.2.5 HAL_SPI_Init
- •56.2.6 HAL_SPI_DeInit
- •56.2.7 HAL_SPI_MspInit
- •56.2.8 HAL_SPI_MspDeInit
- •56.2.9 HAL_SPI_Transmit
- •56.2.10 HAL_SPI_Receive
- •56.2.11 HAL_SPI_TransmitReceive
- •56.2.12 HAL_SPI_Transmit_IT
- •56.2.13 HAL_SPI_Receive_IT
- •56.2.14 HAL_SPI_TransmitReceive_IT
- •56.2.15 HAL_SPI_Transmit_DMA
- •56.2.16 HAL_SPI_Receive_DMA
- •56.2.17 HAL_SPI_TransmitReceive_DMA
- •56.2.18 HAL_SPI_DMAPause
- •56.2.19 HAL_SPI_DMAResume
- •56.2.20 HAL_SPI_DMAStop
- •56.2.21 HAL_SPI_IRQHandler
- •56.2.22 HAL_SPI_TxCpltCallback
- •56.2.23 HAL_SPI_RxCpltCallback
- •56.2.24 HAL_SPI_TxRxCpltCallback
- •56.2.25 HAL_SPI_TxHalfCpltCallback
- •56.2.26 HAL_SPI_RxHalfCpltCallback
- •56.2.27 HAL_SPI_TxRxHalfCpltCallback
- •56.2.28 HAL_SPI_ErrorCallback
- •56.2.29 HAL_SPI_GetState
- •56.2.30 HAL_SPI_GetError
- •56.3 SPI Firmware driver defines
- •57 HAL SRAM Generic Driver
- •57.1 SRAM Firmware driver registers structures
- •57.1.1 SRAM_HandleTypeDef
- •57.2 SRAM Firmware driver API description
- •57.2.1 How to use this driver
- •57.2.2 SRAM Initialization and de_initialization functions
- •57.2.3 SRAM Input and Output functions
- •57.2.4 SRAM Control functions
- •57.2.5 SRAM State functions
- •57.2.6 HAL_SRAM_Init
- •57.2.7 HAL_SRAM_DeInit
- •57.2.8 HAL_SRAM_MspInit
- •57.2.9 HAL_SRAM_MspDeInit
- •57.2.10 HAL_SRAM_DMA_XferCpltCallback
- •57.2.11 HAL_SRAM_DMA_XferErrorCallback
- •57.2.12 HAL_SRAM_Read_8b
- •57.2.13 HAL_SRAM_Write_8b
- •57.2.14 HAL_SRAM_Read_16b
- •57.2.15 HAL_SRAM_Write_16b
- •57.2.16 HAL_SRAM_Read_32b
- •57.2.17 HAL_SRAM_Write_32b
- •57.2.18 HAL_SRAM_Read_DMA
- •57.2.19 HAL_SRAM_Write_DMA
- •57.2.20 HAL_SRAM_WriteOperation_Enable
- •57.2.21 HAL_SRAM_WriteOperation_Disable
- •57.2.22 HAL_SRAM_GetState
- •57.3 SRAM Firmware driver defines
- •57.3.1 SRAM
- •58 HAL TIM Generic Driver
- •58.1 TIM Firmware driver registers structures
- •58.1.1 TIM_Base_InitTypeDef
- •58.1.2 TIM_OC_InitTypeDef
- •58.1.3 TIM_OnePulse_InitTypeDef
- •58.1.4 TIM_IC_InitTypeDef
- •58.1.5 TIM_Encoder_InitTypeDef
- •58.1.6 TIM_ClockConfigTypeDef
- •58.1.7 TIM_ClearInputConfigTypeDef
- •58.1.8 TIM_SlaveConfigTypeDef
- •58.1.9 TIM_HandleTypeDef
- •58.2 TIM Firmware driver API description
- •58.2.1 TIMER Generic features
- •58.2.2 How to use this driver
- •58.2.3 Time Base functions
- •58.2.4 Time Output Compare functions
- •58.2.5 Time PWM functions
- •58.2.6 Time Input Capture functions
- •58.2.7 Time One Pulse functions
- •58.2.8 Time Encoder functions
- •58.2.9 IRQ handler management
- •58.2.10 Peripheral Control functions
- •58.2.11 TIM Callbacks functions
- •58.2.12 Peripheral State functions
- •58.2.13 HAL_TIM_Base_Init
- •58.2.14 HAL_TIM_Base_DeInit
- •58.2.15 HAL_TIM_Base_MspInit
- •58.2.16 HAL_TIM_Base_MspDeInit
- •58.2.17 HAL_TIM_Base_Start
- •58.2.18 HAL_TIM_Base_Stop
- •58.2.19 HAL_TIM_Base_Start_IT
- •58.2.20 HAL_TIM_Base_Stop_IT
- •58.2.21 HAL_TIM_Base_Start_DMA
- •58.2.22 HAL_TIM_Base_Stop_DMA
- •58.2.23 HAL_TIM_OC_Init
- •58.2.24 HAL_TIM_OC_DeInit
- •58.2.25 HAL_TIM_OC_MspInit
- •58.2.26 HAL_TIM_OC_MspDeInit
- •58.2.27 HAL_TIM_OC_Start
- •58.2.28 HAL_TIM_OC_Stop
- •58.2.29 HAL_TIM_OC_Start_IT
- •58.2.30 HAL_TIM_OC_Stop_IT
- •58.2.31 HAL_TIM_OC_Start_DMA
- •58.2.32 HAL_TIM_OC_Stop_DMA
- •58.2.33 HAL_TIM_PWM_Init
- •58.2.34 HAL_TIM_PWM_DeInit
- •58.2.35 HAL_TIM_PWM_MspInit
- •58.2.36 HAL_TIM_PWM_MspDeInit
- •58.2.37 HAL_TIM_PWM_Start
- •58.2.38 HAL_TIM_PWM_Stop
- •58.2.39 HAL_TIM_PWM_Start_IT
- •58.2.40 HAL_TIM_PWM_Stop_IT
- •58.2.41 HAL_TIM_PWM_Start_DMA
- •58.2.42 HAL_TIM_PWM_Stop_DMA
- •58.2.43 HAL_TIM_IC_Init
- •58.2.44 HAL_TIM_IC_DeInit
- •58.2.45 HAL_TIM_IC_MspInit
- •58.2.46 HAL_TIM_IC_MspDeInit
- •58.2.47 HAL_TIM_IC_Start
- •58.2.48 HAL_TIM_IC_Stop
- •58.2.49 HAL_TIM_IC_Start_IT
- •58.2.50 HAL_TIM_IC_Stop_IT
- •58.2.51 HAL_TIM_IC_Start_DMA
- •58.2.52 HAL_TIM_IC_Stop_DMA
- •58.2.53 HAL_TIM_OnePulse_Init
- •58.2.54 HAL_TIM_OnePulse_DeInit
- •58.2.55 HAL_TIM_OnePulse_MspInit
- •58.2.56 HAL_TIM_OnePulse_MspDeInit
- •58.2.57 HAL_TIM_OnePulse_Start
- •58.2.58 HAL_TIM_OnePulse_Stop
- •58.2.59 HAL_TIM_OnePulse_Start_IT
- •58.2.60 HAL_TIM_OnePulse_Stop_IT
- •58.2.61 HAL_TIM_Encoder_Init
- •58.2.62 HAL_TIM_Encoder_DeInit
- •58.2.63 HAL_TIM_Encoder_MspInit
- •58.2.64 HAL_TIM_Encoder_MspDeInit
- •58.2.65 HAL_TIM_Encoder_Start
- •58.2.66 HAL_TIM_Encoder_Stop
- •58.2.67 HAL_TIM_Encoder_Start_IT
- •58.2.68 HAL_TIM_Encoder_Stop_IT
- •58.2.69 HAL_TIM_Encoder_Start_DMA
- •58.2.70 HAL_TIM_Encoder_Stop_DMA
- •58.2.71 HAL_TIM_IRQHandler
- •58.2.72 HAL_TIM_OC_ConfigChannel
- •58.2.73 HAL_TIM_IC_ConfigChannel
- •58.2.74 HAL_TIM_PWM_ConfigChannel
- •58.2.75 HAL_TIM_OnePulse_ConfigChannel
- •58.2.76 HAL_TIM_DMABurst_WriteStart
- •58.2.77 HAL_TIM_DMABurst_WriteStop
- •58.2.78 HAL_TIM_DMABurst_ReadStart
- •58.2.79 HAL_TIM_DMABurst_ReadStop
- •58.2.80 HAL_TIM_GenerateEvent
- •58.2.81 HAL_TIM_ConfigOCrefClear
- •58.2.82 HAL_TIM_ConfigClockSource
- •58.2.83 HAL_TIM_ConfigTI1Input
- •58.2.84 HAL_TIM_SlaveConfigSynchronization
- •58.2.85 HAL_TIM_SlaveConfigSynchronization_IT
- •58.2.86 HAL_TIM_ReadCapturedValue
- •58.2.87 HAL_TIM_PeriodElapsedCallback
- •58.2.88 HAL_TIM_OC_DelayElapsedCallback
- •58.2.89 HAL_TIM_IC_CaptureCallback
- •58.2.90 HAL_TIM_PWM_PulseFinishedCallback
- •58.2.91 HAL_TIM_TriggerCallback
- •58.2.92 HAL_TIM_ErrorCallback
- •58.2.93 HAL_TIM_Base_GetState
- •58.2.94 HAL_TIM_OC_GetState
- •58.2.95 HAL_TIM_PWM_GetState
- •58.2.96 HAL_TIM_IC_GetState
- •58.2.97 HAL_TIM_OnePulse_GetState
- •58.2.98 HAL_TIM_Encoder_GetState
- •58.3 TIM Firmware driver defines
- •59 HAL TIM Extension Driver
- •59.1 TIMEx Firmware driver registers structures
- •59.1.1 TIM_HallSensor_InitTypeDef
- •59.1.2 TIM_MasterConfigTypeDef
- •59.1.3 TIM_BreakDeadTimeConfigTypeDef
- •59.2 TIMEx Firmware driver API description
- •59.2.1 TIMER Extended features
- •59.2.2 How to use this driver
- •59.2.3 Timer Hall Sensor functions
- •59.2.4 Timer Complementary Output Compare functions
- •59.2.5 Timer Complementary PWM functions
- •59.2.6 Timer Complementary One Pulse functions
- •59.2.7 Peripheral Control functions
- •59.2.8 Extension Callbacks functions
- •59.2.9 Extension Peripheral State functions
- •59.2.10 HAL_TIMEx_HallSensor_Init
- •59.2.11 HAL_TIMEx_HallSensor_DeInit
- •59.2.12 HAL_TIMEx_HallSensor_MspInit
- •59.2.13 HAL_TIMEx_HallSensor_MspDeInit
- •59.2.14 HAL_TIMEx_HallSensor_Start
- •59.2.15 HAL_TIMEx_HallSensor_Stop
- •59.2.16 HAL_TIMEx_HallSensor_Start_IT
- •59.2.17 HAL_TIMEx_HallSensor_Stop_IT
- •59.2.18 HAL_TIMEx_HallSensor_Start_DMA
- •59.2.19 HAL_TIMEx_HallSensor_Stop_DMA
- •59.2.20 HAL_TIMEx_OCN_Start
- •59.2.21 HAL_TIMEx_OCN_Stop
- •59.2.22 HAL_TIMEx_OCN_Start_IT
- •59.2.23 HAL_TIMEx_OCN_Stop_IT
- •59.2.24 HAL_TIMEx_OCN_Start_DMA
- •59.2.25 HAL_TIMEx_OCN_Stop_DMA
- •59.2.26 HAL_TIMEx_PWMN_Start
- •59.2.27 HAL_TIMEx_PWMN_Stop
- •59.2.28 HAL_TIMEx_PWMN_Start_IT
- •59.2.29 HAL_TIMEx_PWMN_Stop_IT
- •59.2.30 HAL_TIMEx_PWMN_Start_DMA
- •59.2.31 HAL_TIMEx_PWMN_Stop_DMA
- •59.2.32 HAL_TIMEx_OnePulseN_Start
- •59.2.33 HAL_TIMEx_OnePulseN_Stop
- •59.2.34 HAL_TIMEx_OnePulseN_Start_IT
- •59.2.35 HAL_TIMEx_OnePulseN_Stop_IT
- •59.2.36 HAL_TIMEx_ConfigCommutationEvent
- •59.2.37 HAL_TIMEx_ConfigCommutationEvent_IT
- •59.2.38 HAL_TIMEx_ConfigCommutationEvent_DMA
- •59.2.39 HAL_TIMEx_MasterConfigSynchronization
- •59.2.40 HAL_TIMEx_ConfigBreakDeadTime
- •59.2.41 HAL_TIMEx_RemapConfig
- •59.2.42 HAL_TIMEx_CommutationCallback
- •59.2.43 HAL_TIMEx_BreakCallback
- •59.2.44 TIMEx_DMACommutationCplt
- •59.2.45 HAL_TIMEx_HallSensor_GetState
- •59.3 TIMEx Firmware driver defines
- •59.3.1 TIMEx
- •60 HAL UART Generic Driver
- •60.1 UART Firmware driver registers structures
- •60.1.1 UART_InitTypeDef
- •60.1.2 UART_HandleTypeDef
- •60.2 UART Firmware driver API description
- •60.2.1 How to use this driver
- •60.2.2 Initialization and Configuration functions
- •60.2.3 IO operation functions
- •60.2.4 Peripheral Control functions
- •60.2.5 Peripheral State and Errors functions
- •60.2.6 HAL_UART_Init
- •60.2.7 HAL_HalfDuplex_Init
- •60.2.8 HAL_LIN_Init
- •60.2.9 HAL_MultiProcessor_Init
- •60.2.10 HAL_UART_DeInit
- •60.2.11 HAL_UART_MspInit
- •60.2.12 HAL_UART_MspDeInit
- •60.2.13 HAL_UART_Transmit
- •60.2.14 HAL_UART_Receive
- •60.2.15 HAL_UART_Transmit_IT
- •60.2.16 HAL_UART_Receive_IT
- •60.2.17 HAL_UART_Transmit_DMA
- •60.2.18 HAL_UART_Receive_DMA
- •60.2.19 HAL_UART_DMAPause
- •60.2.20 HAL_UART_DMAResume
- •60.2.21 HAL_UART_DMAStop
- •60.2.22 HAL_UART_IRQHandler
- •60.2.23 HAL_UART_TxCpltCallback
- •60.2.24 HAL_UART_TxHalfCpltCallback
- •60.2.25 HAL_UART_RxCpltCallback
- •60.2.26 HAL_UART_RxHalfCpltCallback
- •60.2.27 HAL_UART_ErrorCallback
- •60.2.28 HAL_LIN_SendBreak
- •60.2.29 HAL_MultiProcessor_EnterMuteMode
- •60.2.30 HAL_MultiProcessor_ExitMuteMode
- •60.2.31 HAL_HalfDuplex_EnableTransmitter
- •60.2.32 HAL_HalfDuplex_EnableReceiver
- •60.2.33 HAL_UART_GetState
- •60.2.34 HAL_UART_GetError
- •60.3 UART Firmware driver defines
- •60.3.1 UART
- •61 HAL USART Generic Driver
- •61.1 USART Firmware driver registers structures
- •61.1.1 USART_InitTypeDef
- •61.1.2 USART_HandleTypeDef
- •61.2 USART Firmware driver API description
- •61.2.1 How to use this driver
- •61.2.2 Initialization and Configuration functions
- •61.2.3 IO operation functions
- •61.2.4 Peripheral State and Errors functions
- •61.2.5 HAL_USART_Init
- •61.2.6 HAL_USART_DeInit
- •61.2.7 HAL_USART_MspInit
- •61.2.8 HAL_USART_MspDeInit
- •61.2.9 HAL_USART_Transmit
- •61.2.10 HAL_USART_Receive
- •61.2.11 HAL_USART_TransmitReceive
- •61.2.12 HAL_USART_Transmit_IT
- •61.2.13 HAL_USART_Receive_IT
- •61.2.14 HAL_USART_TransmitReceive_IT
- •61.2.15 HAL_USART_Transmit_DMA
- •61.2.16 HAL_USART_Receive_DMA
- •61.2.17 HAL_USART_TransmitReceive_DMA
- •61.2.18 HAL_USART_DMAPause
- •61.2.19 HAL_USART_DMAResume
- •61.2.20 HAL_USART_DMAStop
- •61.2.21 HAL_USART_IRQHandler
- •61.2.22 HAL_USART_TxCpltCallback
- •61.2.23 HAL_USART_TxHalfCpltCallback
- •61.2.24 HAL_USART_RxCpltCallback
- •61.2.25 HAL_USART_RxHalfCpltCallback
- •61.2.26 HAL_USART_TxRxCpltCallback
- •61.2.27 HAL_USART_ErrorCallback
- •61.2.28 HAL_USART_GetState
- •61.2.29 HAL_USART_GetError
- •61.3 USART Firmware driver defines
- •61.3.1 USART
- •62 HAL WWDG Generic Driver
- •62.1 WWDG Firmware driver registers structures
- •62.1.1 WWDG_InitTypeDef
- •62.1.2 WWDG_HandleTypeDef
- •62.2 WWDG Firmware driver API description
- •62.2.1 WWDG specific features
- •62.2.2 How to use this driver
- •62.2.4 IO operation functions
- •62.2.5 Peripheral State functions
- •62.2.6 HAL_WWDG_Init
- •62.2.7 HAL_WWDG_DeInit
- •62.2.8 HAL_WWDG_MspInit
- •62.2.9 HAL_WWDG_MspDeInit
- •62.2.10 HAL_WWDG_WakeupCallback
- •62.2.11 HAL_WWDG_Start
- •62.2.12 HAL_WWDG_Start_IT
- •62.2.13 HAL_WWDG_Refresh
- •62.2.14 HAL_WWDG_IRQHandler
- •62.2.15 HAL_WWDG_WakeupCallback
- •62.2.16 HAL_WWDG_GetState
- •62.3 WWDG Firmware driver defines
- •62.3.1 WWDG
- •63 FAQs
- •64 Revision history

HAL RTC Generic Driver |
UM1725 |
__IO HAL_RTCStateTypeDef RTC_HandleTypeDef::State
Time communication state
48.2RTC Firmware driver API description
48.2.1Backup Domain Operating Condition
The real-time clock (RTC), the RTC backup registers, and the backup SRAM (BKP SRAM) can be powered from the VBAT voltage when the main VDD supply is powered off. To retain the content of the RTC backup registers, backup SRAM, and supply the RTC when VDD is turned off, VBAT pin can be connected to an optional standby voltage supplied by a battery or by another source.
To allow the RTC operating even when the main digital supply (VDD) is turned off, the VBAT pin powers the following blocks:
1.The RTC
2.The LSE oscillator
3.The backup SRAM when the low power backup regulator is enabled
4.PC13 to PC15 I/Os, plus PI8 I/O (when available)
When the backup domain is supplied by VDD (analog switch connected to VDD), the following pins are available:
1.PC14 and PC15 can be used as either GPIO or LSE pins
2.PC13 can be used as a GPIO or as the RTC_AF1 pin
3.PI8 can be used as a GPIO or as the RTC_AF2 pin
When the backup domain is supplied by VBAT (analog switch connected to VBAT because VDD is not present), the following pins are available:
1.PC14 and PC15 can be used as LSE pins only
2.PC13 can be used as the RTC_AF1 pin
3.PI8 can be used as the RTC_AF2 pin
48.2.2Backup Domain Reset
The backup domain reset sets all RTC registers and the RCC_BDCR register to their reset values. The BKPSRAM is not affected by this reset. The only way to reset the BKPSRAM is through the Flash interface by requesting a protection level change from 1 to 0.
A backup domain reset is generated when one of the following events occurs:
1.Software reset, triggered by setting the BDRST bit in the RCC Backup domain control register (RCC_BDCR).
2.VDD or VBAT power on, if both supplies have previously been powered off.
48.2.3Backup Domain Access
After reset, the backup domain (RTC registers, RTC backup data registers and backup SRAM) is protected against possible unwanted write accesses.
To enable access to the RTC Domain and RTC registers, proceed as follows:
Enable the Power Controller (PWR) APB1 interface clock using the __HAL_RCC_PWR_CLK_ENABLE() function.
Enable access to RTC domain using the HAL_PWR_EnableBkUpAccess() function.
Select the RTC clock source using the __HAL_RCC_RTC_CONFIG() function.
Enable RTC Clock using the __HAL_RCC_RTC_ENABLE() function.
616/900 |
DOCID025834 Rev 2 |

UM1725 |
HAL RTC Generic Driver |
48.2.4How to use this driver
Enable the RTC domain access (see description in the section above).
Configure the RTC Prescaler (Asynchronous and Synchronous) and RTC hour format using the HAL_RTC_Init() function.
Time and Date configuration
To configure the RTC Calendar (Time and Date) use the HAL_RTC_SetTime() and HAL_RTC_SetDate() functions.
To read the RTC Calendar, use the HAL_RTC_GetTime() and HAL_RTC_GetDate() functions.
Alarm configuration
To configure the RTC Alarm use the HAL_RTC_SetAlarm() function. You can also configure the RTC Alarm with interrupt mode using the HAL_RTC_SetAlarm_IT() function.
To read the RTC Alarm, use the HAL_RTC_GetAlarm() function.
48.2.5RTC and low power modes
The MCU can be woken up from a low power mode by an RTC alternate function.
The RTC alternate functions are the RTC alarms (Alarm A and Alarm B), RTC wake-up, RTC tamper event detection and RTC time stamp event detection. These RTC alternate functions can wake up the system from the Stop and Standby low power modes.
The system can also wake up from low power modes without depending on an external interrupt (Auto-wake-up mode), by using the RTC alarm or the RTC wake-up events.
The RTC provides a programmable time base for waking up from the Stop or Standby mode at regular intervals. Wake-up from STOP and STANDBY modes is possible only when the RTC clock source is LSE or LSI.
48.2.6Initialization and de-initialization functions
This section provides functions allowing to initialize and configure the RTC Prescaler (Synchronous and Asynchronous), RTC Hour format, disable RTC registers Write protection, enter and exit the RTC initialization mode, RTC registers synchronization check and reference clock detection enable.
1.The RTC Prescaler is programmed to generate the RTC 1Hz time base. It is split into 2 programmable prescalers to minimize power consumption.
A 7-bit asynchronous prescaler and a 13-bit synchronous prescaler.
When both prescalers are used, it is recommended to configure the asynchronous prescaler to a high value to minimize power consumption.
2.All RTC registers are Write protected. Writing to the RTC registers is enabled by writing a key into the Write Protection register, RTC_WPR.
3.To configure the RTC Calendar, user application should enter initialization mode. In this mode, the calendar counter is stopped and its value can be updated. When the initialization sequence is complete, the calendar restarts counting after 4 RTCCLK cycles.
DOCID025834 Rev 2 |
617/900 |

HAL RTC Generic Driver |
UM1725 |
4. To read the calendar through the shadow registers after Calendar initialization, calendar update or after wake-up from low power modes the software must first clear the RSF flag. The software must then wait until it is set again before reading the calendar, which means that the calendar registers have been correctly copied into the RTC_TR and RTC_DR shadow registers.The HAL_RTC_WaitForSynchro() function implements the above software sequence (RSF clear and RSF check).
This section contains the following APIs:
HAL_RTC_Init()
HAL_RTC_DeInit()
HAL_RTC_MspInit()
HAL_RTC_MspDeInit()
48.2.7RTC Time and Date functions
This section provides functions allowing to configure Time and Date features
This section contains the following APIs:
HAL_RTC_SetTime()
HAL_RTC_GetTime()
HAL_RTC_SetDate()
HAL_RTC_GetDate()
48.2.8RTC Alarm functions
This section provides functions allowing to configure Alarm feature
This section contains the following APIs:
HAL_RTC_SetAlarm()
HAL_RTC_SetAlarm_IT()
HAL_RTC_DeactivateAlarm()
HAL_RTC_GetAlarm()
HAL_RTC_AlarmIRQHandler()
HAL_RTC_AlarmAEventCallback()
HAL_RTC_PollForAlarmAEvent()
48.2.9Peripheral Control functions
This subsection provides functions allowing to
Wait for RTC Time and Date Synchronization This section contains the following APIs:
HAL_RTC_WaitForSynchro()
48.2.10Peripheral State functions
This subsection provides functions allowing to
Get RTC state
This section contains the following APIs:
HAL_RTC_GetState()
48.2.11HAL_RTC_Init
Function Name |
HAL_StatusTypeDef HAL_RTC_Init (RTC_HandleTypeDef * |
618/900 |
DOCID025834 Rev 2 |

UM1725 |
|
HAL RTC Generic Driver |
|
hrtc) |
|
Function Description |
Initializes the RTC peripheral. |
|
Parameters |
|
hrtc: pointer to a RTC_HandleTypeDef structure that |
|
|
contains the configuration information for RTC. |
Return values |
|
HAL status |
48.2.12HAL_RTC_DeInit
Function Name |
HAL_StatusTypeDef HAL_RTC_DeInit (RTC_HandleTypeDef * |
|
|
hrtc) |
|
Function Description |
DeInitializes the RTC peripheral. |
|
Parameters |
|
hrtc: pointer to a RTC_HandleTypeDef structure that |
|
|
contains the configuration information for RTC. |
Return values |
|
HAL status |
Notes |
This function doesn't reset the RTC Backup Data registers. |
48.2.13HAL_RTC_MspInit
Function Name |
void HAL_RTC_MspInit (RTC_HandleTypeDef * hrtc) |
|
Function Description |
Initializes the RTC MSP. |
|
Parameters |
|
hrtc: pointer to a RTC_HandleTypeDef structure that |
|
|
contains the configuration information for RTC. |
Return values |
|
None |
48.2.14HAL_RTC_MspDeInit
Function Name |
void HAL_RTC_MspDeInit (RTC_HandleTypeDef * hrtc) |
|
Function Description |
DeInitializes the RTC MSP. |
|
Parameters |
|
hrtc: pointer to a RTC_HandleTypeDef structure that |
|
|
contains the configuration information for RTC. |
Return values |
|
None |
48.2.15HAL_RTC_SetTime
Function Name |
HAL_StatusTypeDef HAL_RTC_SetTime (RTC_HandleTypeDef |
||
|
* hrtc, RTC_TimeTypeDef * sTime, uint32_t Format) |
|
|
Function Description |
Sets RTC current time. |
|
|
Parameters |
|
hrtc: pointer to a RTC_HandleTypeDef structure that |
|
|
|
contains the configuration information for RTC. |
|
|
sTime: Pointer to Time structure |
|
|
|
Format: Specifies the format of the entered parameters. This |
||
|
|
parameter can be one of the following values: |
|
|
|
RTC_FORMAT_BIN: Binary data |
|
|
|
formatRTC_FORMAT_BCD: BCD data format |
|
Return values |
|
HAL status |
|
|
|
DOCID025834 Rev 2 |
619/900 |