logo资料库

STM32 F4 HAL固件库驱动详解.pdf

第1页 / 共865页
第2页 / 共865页
第3页 / 共865页
第4页 / 共865页
第5页 / 共865页
第6页 / 共865页
第7页 / 共865页
第8页 / 共865页
资料共865页,剩余部分请下载后查看
1 Acronyms and definitions
2 Overview of HAL drivers
2.1 HAL and user application files
2.1.1 HAL driver files
2.1.2 User-application 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.4 PWR
2.11.5 EXTI
2.11.6 DMA
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 HAL 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
2.12.4.3 Run-time checking
3 HAL common driver
3.1 HAL Firmware driver API description
3.1.1 How to use this driver
3.1.2 Initialization and de-initialization functions
3.1.3 HAL Control functions
3.1.4 Initialization and de-initialization Functions
3.1.4.1 HAL_Init
3.1.4.2 HAL_DeInit
3.1.4.3 HAL_MspInit
3.1.4.4 HAL_MspDeInit
3.1.5 HAL Control functions
3.1.5.1 HAL_IncTick
3.1.5.2 HAL_GetTick
3.1.5.3 HAL_Delay
3.1.5.4 HAL_GetHalVersion
3.1.5.5 HAL_GetREVID
3.1.5.6 HAL_GetDEVID
3.1.5.7 HAL_EnableDBGSleepMode
3.1.5.8 HAL_DisableDBGSleepMode
3.1.5.9 HAL_EnableDBGStopMode
3.1.5.10 HAL_DisableDBGStopMode
3.1.5.11 HAL_EnableDBGStandbyMode
3.1.5.12 HAL_DisableDBGStandbyMode
3.1.5.13 HAL_EnableCompensationCell
3.1.5.14 HAL_DisableCompensationCell
3.1.5.15 HAL_EnableMemorySwappingBank
3.1.5.16 HAL_DisableMemorySwappingBank
3.2 HAL Firmware driver defines
3.2.1 HAL
4 HAL ADC Generic Driver
4.1 ADC Firmware driver registers structures
4.1.1 ADC_HandleTypeDef
4.1.2 ADC_InitTypeDef
4.1.3 ADC_ChannelConfTypeDef
4.1.4 ADC_AnalogWDGConfTypeDef
4.1.5 ADC_Common_TypeDef
4.1.6 ADC_TypeDef
4.2 ADC Firmware driver API description
4.2.1 ADC Peripheral features
4.2.2 How to use this driver
4.2.3 Initialization and de-initialization functions
4.2.4 IO operation functions
4.2.5 Peripheral Control functions
4.2.6 Peripheral State and errors functions
4.2.7 Initialization and de-initialization functions
4.2.7.1 HAL_ADC_Init
4.2.7.2 HAL_ADC_DeInit
4.2.7.3 HAL_ADC_MspInit
4.2.7.4 HAL_ADC_MspDeInit
4.2.8 IO operation functions
4.2.8.1 HAL_ADC_Start
4.2.8.2 HAL_ADC_Stop
4.2.8.3 HAL_ADC_PollForConversion
4.2.8.4 HAL_ADC_PollForEvent
4.2.8.5 HAL_ADC_Start_IT
4.2.8.6 HAL_ADC_Stop_IT
4.2.8.7 HAL_ADC_IRQHandler
4.2.8.8 HAL_ADC_Start_DMA
4.2.8.9 HAL_ADC_Stop_DMA
4.2.8.10 HAL_ADC_GetValue
4.2.8.11 HAL_ADC_ConvCpltCallback
4.2.8.12 HAL_ADC_ConvHalfCpltCallback
4.2.8.13 HAL_ADC_LevelOutOfWindowCallback
4.2.8.14 HAL_ADC_ErrorCallback
4.2.9 Peripheral Control functions
4.2.9.1 HAL_ADC_ConfigChannel
4.2.9.2 HAL_ADC_AnalogWDGConfig
4.2.10 ADC Peripheral State functions
4.2.10.1 HAL_ADC_GetState
4.2.10.2 HAL_ADC_GetError
4.3 ADC Firmware driver defines
4.3.1 ADC
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 Extended features functions
5.2.3.1 HAL_ADCEx_InjectedStart
5.2.3.2 HAL_ADCEx_InjectedStart_IT
5.2.3.3 HAL_ADCEx_InjectedStop
5.2.3.4 HAL_ADCEx_InjectedPollForConversion
5.2.3.5 HAL_ADCEx_InjectedStop_IT
5.2.3.6 HAL_ADCEx_InjectedGetValue
5.2.3.7 HAL_ADCEx_MultiModeStart_DMA
5.2.3.8 HAL_ADCEx_MultiModeStop_DMA
5.2.3.9 HAL_ADCEx_MultiModeGetValue
5.2.3.10 HAL_ADCEx_InjectedConvCpltCallback
5.2.3.11 HAL_ADCEx_InjectedConfigChannel
5.2.3.12 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_HandleTypeDef
6.1.2 CAN_InitTypeDef
6.1.3 CAN_FilterConfTypeDef
6.1.4 CAN_FIFOMailBox_TypeDef
6.1.5 CAN_FilterRegister_TypeDef
6.1.6 CAN_TxMailBox_TypeDef
6.1.7 CAN_TypeDef
6.2 CAN Firmware driver API description
6.2.1 How to use this driver
6.2.2 Initialization and de-initialization functions
6.2.3 IO operation functions
6.2.4 Peripheral State and Error functions
6.2.5 Initialization and de-initialization functions
6.2.5.1 HAL_CAN_Init
6.2.5.2 HAL_CAN_ConfigFilter
6.2.5.3 HAL_CAN_DeInit
6.2.5.4 HAL_CAN_MspInit
6.2.5.5 HAL_CAN_MspDeInit
6.2.6 IO operation functions
6.2.6.1 HAL_CAN_Transmit
6.2.6.2 HAL_CAN_Transmit_IT
6.2.6.3 HAL_CAN_Receive
6.2.6.4 HAL_CAN_Receive_IT
6.2.6.5 HAL_CAN_Sleep
6.2.6.6 HAL_CAN_WakeUp
6.2.6.7 HAL_CAN_IRQHandler
6.2.6.8 HAL_CAN_TxCpltCallback
6.2.6.9 HAL_CAN_RxCpltCallback
6.2.6.10 HAL_CAN_ErrorCallback
6.2.7 Peripheral State and Error functions
6.2.7.1 HAL_CAN_GetState
6.2.7.2 HAL_CAN_GetError
6.3 CAN Firmware driver defines
6.3.1 CAN
7 HAL CORTEX Generic Driver
7.1 CORTEX Firmware driver API description
7.1.1 How to use this driver
7.1.2 Initialization and de-initialization functions
7.1.3 Peripheral Control functions
7.1.4 Initialization and de-initialization functions
7.1.4.1 HAL_NVIC_SetPriorityGrouping
7.1.4.2 HAL_NVIC_SetPriority
7.1.4.3 HAL_NVIC_EnableIRQ
7.1.4.4 HAL_NVIC_DisableIRQ
7.1.4.5 HAL_NVIC_SystemReset
7.1.4.6 HAL_SYSTICK_Config
7.1.5 Peripheral Control functions
7.1.5.1 HAL_NVIC_GetPriorityGrouping
7.1.5.2 HAL_NVIC_GetPriority
7.1.5.3 HAL_NVIC_SetPendingIRQ
7.1.5.4 HAL_NVIC_GetPendingIRQ
7.1.5.5 HAL_NVIC_ClearPendingIRQ
7.1.5.6 HAL_NVIC_GetActive
7.1.5.7 HAL_SYSTICK_CLKSourceConfig
7.1.5.8 HAL_SYSTICK_IRQHandler
7.1.5.9 HAL_SYSTICK_Callback
7.2 CORTEX Firmware driver defines
7.2.1 CORTEX
8 HAL CRC Generic Driver
8.1 CRC Firmware driver registers structures
8.1.1 CRC_HandleTypeDef
8.1.2 CRC_TypeDef
8.2 CRC Firmware driver API description
8.2.1 How to use this driver
8.2.2 Initialization and de-initialization functions
8.2.3 Peripheral Control functions
8.2.4 Peripheral State functions
8.2.5 Initialization and de-initialization functions
8.2.5.1 HAL_CRC_Init
8.2.5.2 HAL_CRC_DeInit
8.2.5.3 HAL_CRC_MspInit
8.2.5.4 HAL_CRC_MspDeInit
8.2.6 Peripheral Control functions
8.2.6.1 HAL_CRC_Accumulate
8.2.6.2 HAL_CRC_Calculate
8.2.7 Peripheral State functions
8.2.7.1 HAL_CRC_GetState
8.3 CRC Firmware driver defines
8.3.1 CRC
9 HAL CRYP Generic Driver
9.1 CRYP Firmware driver registers structures
9.1.1 CRYP_HandleTypeDef
9.1.2 CRYP_InitTypeDef
9.1.3 CRYP_TypeDef
9.2 CRYP Firmware driver API description
9.2.1 How to use this driver
9.2.2 Initialization and de-initialization functions
9.2.3 AES processing functions
9.2.4 DES processing functions
9.2.5 TDES processing functions
9.2.6 DMA callback functions
9.2.7 CRYP IRQ handler management
9.2.8 Peripheral State functions
9.2.9 Initialization and de-initialization functions
9.2.9.1 HAL_CRYP_Init
9.2.9.2 HAL_CRYP_DeInit
9.2.9.3 HAL_CRYP_MspInit
9.2.9.4 HAL_CRYP_MspDeInit
9.2.10 AES processing functions
9.2.10.1 HAL_CRYP_AESECB_Encrypt
9.2.10.2 HAL_CRYP_AESCBC_Encrypt
9.2.10.3 HAL_CRYP_AESCTR_Encrypt
9.2.10.4 HAL_CRYP_AESECB_Decrypt
9.2.10.5 HAL_CRYP_AESCBC_Decrypt
9.2.10.6 HAL_CRYP_AESCTR_Decrypt
9.2.10.7 HAL_CRYP_AESECB_Encrypt_IT
9.2.10.8 HAL_CRYP_AESCBC_Encrypt_IT
9.2.10.9 HAL_CRYP_AESCTR_Encrypt_IT
9.2.10.10 HAL_CRYP_AESECB_Decrypt_IT
9.2.10.11 HAL_CRYP_AESCBC_Decrypt_IT
9.2.10.12 HAL_CRYP_AESCTR_Decrypt_IT
9.2.10.13 HAL_CRYP_AESECB_Encrypt_DMA
9.2.10.14 HAL_CRYP_AESCBC_Encrypt_DMA
9.2.10.15 HAL_CRYP_AESCTR_Encrypt_DMA
9.2.10.16 HAL_CRYP_AESECB_Decrypt_DMA
9.2.10.17 HAL_CRYP_AESCBC_Decrypt_DMA
9.2.10.18 HAL_CRYP_AESCTR_Decrypt_DMA
9.2.11 DES processing functions
9.2.11.1 HAL_CRYP_DESECB_Encrypt
9.2.11.2 HAL_CRYP_DESECB_Decrypt
9.2.11.3 HAL_CRYP_DESCBC_Encrypt
9.2.11.4 HAL_CRYP_DESCBC_Decrypt
9.2.11.5 HAL_CRYP_DESECB_Encrypt_IT
9.2.11.6 HAL_CRYP_DESCBC_Encrypt_IT
9.2.11.7 HAL_CRYP_DESECB_Decrypt_IT
9.2.11.8 HAL_CRYP_DESCBC_Decrypt_IT
9.2.11.9 HAL_CRYP_DESECB_Encrypt_DMA
9.2.11.10 HAL_CRYP_DESCBC_Encrypt_DMA
9.2.11.11 HAL_CRYP_DESECB_Decrypt_DMA
9.2.11.12 HAL_CRYP_DESCBC_Decrypt_DMA
9.2.12 TDES processing functions
9.2.12.1 HAL_CRYP_TDESECB_Encrypt
9.2.12.2 HAL_CRYP_TDESECB_Decrypt
9.2.12.3 HAL_CRYP_TDESCBC_Encrypt
9.2.12.4 HAL_CRYP_TDESCBC_Decrypt
9.2.12.5 HAL_CRYP_TDESECB_Encrypt_IT
9.2.12.6 HAL_CRYP_TDESCBC_Encrypt_IT
9.2.12.7 HAL_CRYP_TDESECB_Decrypt_IT
9.2.12.8 HAL_CRYP_TDESCBC_Decrypt_IT
9.2.12.9 HAL_CRYP_TDESECB_Encrypt_DMA
9.2.12.10 HAL_CRYP_TDESCBC_Encrypt_DMA
9.2.12.11 HAL_CRYP_TDESECB_Decrypt_DMA
9.2.12.12 HAL_CRYP_TDESCBC_Decrypt_DMA
9.2.13 DMA callback functions
9.2.13.1 HAL_CRYP_InCpltCallback
9.2.13.2 HAL_CRYP_OutCpltCallback
9.2.13.3 HAL_CRYP_ErrorCallback
9.2.14 CRYP IRQ handler management
9.2.14.1 HAL_CRYP_IRQHandler
9.2.15 Peripheral State functions
9.2.15.1 HAL_CRYP_GetState
9.3 CRYP Firmware driver defines
9.3.1 CRYP
10 HAL DAC Generic Driver
10.1 DAC Firmware driver registers structures
10.1.1 DAC_HandleTypeDef
10.1.2 DAC_ChannelConfTypeDef
10.1.3 DAC_TypeDef
10.2 DAC Firmware driver API description
10.2.1 DAC Peripheral features
10.2.2 How to use this driver
10.2.3 Initialization and de-initialization functions
10.2.4 IO operation functions
10.2.5 Peripheral Control functions
10.2.6 Peripheral State and Errors functions
10.2.7 Initialization and de-initialization functions
10.2.7.1 HAL_DAC_Init
10.2.7.2 HAL_DAC_DeInit
10.2.7.3 HAL_DAC_MspInit
10.2.7.4 HAL_DAC_MspDeInit
10.2.8 IO operation functions
10.2.8.1 HAL_DAC_Start
10.2.8.2 HAL_DAC_Stop
10.2.8.3 HAL_DAC_Start_DMA
10.2.8.4 HAL_DAC_Stop_DMA
10.2.8.5 HAL_DAC_GetValue
10.2.8.6 HAL_DAC_IRQHandler
10.2.8.7 HAL_DAC_ConvCpltCallbackCh1
10.2.8.8 HAL_DAC_ConvHalfCpltCallbackCh1
10.2.8.9 HAL_DAC_ErrorCallbackCh1
10.2.8.10 HAL_DAC_DMAUnderrunCallbackCh1
10.2.9 Peripheral Control functions
10.2.9.1 HAL_DAC_ConfigChannel
10.2.9.2 HAL_DAC_SetValue
10.2.10 Peripheral State and Errors functions
10.2.10.1 HAL_DAC_GetState
10.2.10.2 HAL_DAC_GetError
10.3 DAC Firmware driver defines
10.3.1 DAC
11 HAL DAC Extension Driver
11.1 DACEx Firmware driver API description
11.1.1 How to use this driver
11.1.2 Extended features functions
11.1.3 Extended features functions
11.1.3.1 HAL_DACEx_DualGetValue
11.1.3.2 HAL_DACEx_TriangleWaveGenerate
11.1.3.3 HAL_DACEx_NoiseWaveGenerate
11.1.3.4 HAL_DACEx_DualSetValue
11.2 DACEx Firmware driver defines
11.2.1 DACEx
12 HAL DMA Generic Driver
12.1 DMA Firmware driver registers structures
12.1.1 DMA_HandleTypeDef
12.1.2 DMA_InitTypeDef
12.1.3 DMA_Stream_TypeDef
12.1.4 DMA_TypeDef
12.2 DMA Firmware driver API description
12.2.1 How to use this driver
12.2.2 Initialization and de-initialization functions
12.2.3 IO operation functions
12.2.4 State and Errors functions
12.2.5 Initialization and de-initialization functions
12.2.5.1 HAL_DMA_Init
12.2.5.2 HAL_DMA_DeInit
12.2.6 I/O operation functions
12.2.6.1 HAL_DMA_Start
12.2.6.2 HAL_DMA_Start_IT
12.2.6.3 HAL_DMA_Abort
12.2.6.4 HAL_DMA_PollForTransfer
12.2.6.5 HAL_DMA_IRQHandler
12.2.7 Peripheral State functions
12.2.7.1 HAL_DMA_GetState
12.2.7.2 HAL_DMA_GetError
12.3 DMA Firmware driver defines
12.3.1 DMA
13 HAL DMA Extension Driver
13.1 DMAEx Firmware driver API description
13.1.1 How to use this driver
13.1.2 Extended features functions
13.1.3 Extended features functions
13.1.3.1 HAL_DMAEx_MultiBufferStart
13.1.3.2 HAL_DMAEx_MultiBufferStart_IT
13.1.3.3 HAL_DMAEx_ChangeMemory
13.2 DMAEx Firmware driver defines
13.2.1 DMAEx
14 HAL DMA2D Generic Driver
14.1 DMA2D Firmware driver registers structures
14.1.1 DMA2D_HandleTypeDef
14.1.2 DMA2D_InitTypeDef
14.1.3 DMA2D_LayerCfgTypeDef
14.1.4 DMA2D_ColorTypeDef
14.1.5 DMA2D_CLUTCfgTypeDef
14.1.6 DMA2D_TypeDef
14.2 DMA2D 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 Initialization and Configuration functions
14.2.6.1 HAL_DMA2D_Init
14.2.6.2 HAL_DMA2D_DeInit
14.2.6.3 HAL_DMA2D_MspInit
14.2.6.4 HAL_DMA2D_MspDeInit
14.2.7 IO operation functions
14.2.7.1 HAL_DMA2D_Start
14.2.7.2 HAL_DMA2D_Start_IT
14.2.7.3 HAL_DMA2D_BlendingStart
14.2.7.4 HAL_DMA2D_BlendingStart_IT
14.2.7.5 HAL_DMA2D_Abort
14.2.7.6 HAL_DMA2D_Suspend
14.2.7.7 HAL_DMA2D_Resume
14.2.7.8 HAL_DMA2D_PollForTransfer
14.2.7.9 HAL_DMA2D_IRQHandler
14.2.8 Peripheral Control functions
14.2.8.1 HAL_DMA2D_ConfigLayer
14.2.8.2 HAL_DMA2D_ConfigCLUT
14.2.8.3 HAL_DMA2D_EnableCLUT
14.2.8.4 HAL_DMA2D_DisableCLUT
14.2.8.5 HAL_DMA2D_ProgramLineEvent
14.2.9 Peripheral State functions
14.2.9.1 HAL_DMA2D_GetState
14.2.9.2 HAL_DMA2D_GetError
14.3 DMA2D Firmware driver defines
14.3.1 DMA2D
15 HAL DCMI Generic Driver
15.1 DCMI Firmware driver registers structures
15.1.1 DCMI_HandleTypeDef
15.1.2 DCMI_InitTypeDef
15.1.3 DCMI_CodesInitTypeDef
15.1.4 DCMI_TypeDef
15.2 DCMI Firmware driver API description
15.2.1 How to use this driver
15.2.2 Initialization and Configuration functions
15.2.3 IO operation functions
15.2.4 Peripheral Control functions
15.2.5 Peripheral State and Errors functions
15.2.6 Initialization and Configuration functions
15.2.6.1 HAL_DCMI_Init
15.2.6.2 HAL_DCMI_DeInit
15.2.6.3 HAL_DCMI_MspInit
15.2.6.4 HAL_DCMI_MspDeInit
15.2.7 IO operation functions
15.2.7.1 HAL_DCMI_Start_DMA
15.2.7.2 HAL_DCMI_Stop
15.2.7.3 HAL_DCMI_IRQHandler
15.2.7.4 HAL_DCMI_ErrorCallback
15.2.7.5 HAL_DCMI_LineEventCallback
15.2.7.6 HAL_DCMI_VsyncEventCallback
15.2.7.7 HAL_DCMI_FrameEventCallback
15.2.8 Peripheral Control functions
15.2.8.1 HAL_DCMI_ConfigCROP
15.2.8.2 HAL_DCMI_DisableCROP
15.2.8.3 HAL_DCMI_EnableCROP
15.2.9 Peripheral State functions
15.2.9.1 HAL_DCMI_GetState
15.2.9.2 HAL_DCMI_GetError
15.3 DCMI Firmware driver defines
15.3.1 DCMI
16 HAL ETHERNET Generic Driver
16.1 ETH Firmware driver registers structures
16.1.1 ETH_HandleTypeDef
16.1.2 ETH_InitTypeDef
16.1.3 ETH_MACInitTypeDef
16.1.4 ETH_DMADescTypeDef
16.1.5 ETH_DMAInitTypeDef
16.1.6 ETH_DMARxFrameInfos
16.1.7 ETH_TypeDef
16.2 ETH Firmware driver API description
16.2.1 How to use this driver
16.2.2 Initialization and de-initialization functions
16.2.3 IO operation functions
16.2.4 Peripheral Control functions
16.2.5 Peripheral State functions
16.2.6 Initialization and de-initialization functions
16.2.6.1 HAL_ETH_Init
16.2.6.2 HAL_ETH_DeInit
16.2.6.3 HAL_ETH_DMATxDescListInit
16.2.6.4 HAL_ETH_DMARxDescListInit
16.2.6.5 HAL_ETH_MspInit
16.2.6.6 HAL_ETH_MspDeInit
16.2.7 IO operation functions
16.2.7.1 HAL_ETH_TransmitFrame
16.2.7.2 HAL_ETH_GetReceivedFrame
16.2.7.3 HAL_ETH_GetReceivedFrame_IT
16.2.7.4 HAL_ETH_IRQHandler
16.2.7.5 HAL_ETH_TxCpltCallback
16.2.7.6 HAL_ETH_RxCpltCallback
16.2.7.7 HAL_ETH_ErrorCallback
16.2.7.8 HAL_ETH_ReadPHYRegister
16.2.7.9 HAL_ETH_WritePHYRegister
16.2.8 Peripheral Control functions
16.2.8.1 HAL_ETH_Start
16.2.8.2 HAL_ETH_Stop
16.2.8.3 HAL_ETH_ConfigMAC
16.2.8.4 HAL_ETH_ConfigDMA
16.2.9 Peripheral State functions
16.2.9.1 HAL_ETH_GetState
16.3 ETH Firmware driver defines
16.3.1 ETH
17 HAL FLASH Generic Driver
17.1 FLASH Firmware driver registers structures
17.1.1 FLASH_ProcessTypeDef
17.1.2 FLASH_TypeDef
17.2 FLASH Firmware driver API description
17.2.1 FLASH peripheral features
17.2.2 How to use this driver
17.2.3 Programming operation functions
17.2.4 Peripheral Control functions
17.2.5 Peripheral Errors functions
17.2.6 Programming operation functions
17.2.6.1 HAL_FLASH_Program
17.2.6.2 HAL_FLASH_Program_IT
17.2.6.3 HAL_FLASH_IRQHandler
17.2.6.4 HAL_FLASH_EndOfOperationCallback
17.2.6.5 HAL_FLASH_OperationErrorCallback
17.2.7 Peripheral Control functions
17.2.7.1 HAL_FLASH_Unlock
17.2.7.2 HAL_FLASH_Lock
17.2.7.3 HAL_FLASH_OB_Unlock
17.2.7.4 HAL_FLASH_OB_Lock
17.2.7.5 HAL_FLASH_OB_Launch
17.2.8 Peripheral State and Errors functions
17.2.8.1 HAL_FLASH_GetError
17.3 FLASH Firmware driver defines
17.3.1 FLASH
18 HAL FLASH Extension Driver
18.1 FLASHEx Firmware driver registers structures
18.1.1 FLASH_EraseInitTypeDef
18.1.2 FLASH_OBProgramInitTypeDef
18.1.3 FLASH_AdvOBProgramInitTypeDef
18.2 FLASHEx Firmware driver API description
18.2.1 Flash Extension features
18.2.2 How to use this driver
18.2.3 Extended programming operation functions
18.2.4 Extended IO operation functions
18.2.4.1 HAL_FLASHEx_Erase
18.2.4.2 HAL_FLASHEx_Erase_IT
18.2.4.3 HAL_FLASHEx_OBProgram
18.2.4.4 HAL_FLASHEx_OBGetConfig
18.2.4.5 HAL_FLASHEx_AdvOBProgram
18.2.4.6 HAL_FLASHEx_AdvOBGetConfig
18.2.4.7 HAL_FLASHEx_OB_SelectPCROP
18.2.4.8 HAL_FLASHEx_OB_DeSelectPCROP
18.2.4.9 HAL_FLASHEx_OB_GetBank2WRP
18.3 FLASHEx Firmware driver defines
18.3.1 FLASHEx
19 HAL GPIO Generic Driver
19.1 GPIO Firmware driver registers structures
19.1.1 GPIO_InitTypeDef
19.1.2 GPIO_TypeDef
19.2 GPIO Firmware driver API description
19.2.1 GPIO Peripheral features
19.2.2 How to use this driver
19.2.3 Initialization and de-initialization functions
19.2.4 IO operation functions
19.2.5 Initialization and de-initialization functions
19.2.5.1 HAL_GPIO_Init
19.2.5.2 HAL_GPIO_DeInit
19.2.6 IO operation functions
19.2.6.1 HAL_GPIO_ReadPin
19.2.6.2 HAL_GPIO_WritePin
19.2.6.3 HAL_GPIO_TogglePin
19.2.6.4 HAL_GPIO_EXTI_IRQHandler
19.2.6.5 HAL_GPIO_EXTI_Callback
19.3 GPIO Firmware driver defines
19.3.1 GPIO
20 HAL HASH Generic Driver
20.1 HASH Firmware driver registers structures
20.1.1 HASH_HandleTypeDef
20.1.2 HASH_InitTypeDef
20.1.3 HASH_DIGEST_TypeDef
20.1.4 HASH_TypeDef
20.2 HASH Firmware driver API description
20.2.1 How to use this driver
20.2.2 Initialization and de-initialization functions
20.2.3 HASH processing using polling mode functions
20.2.4 HASH processing using interrupt mode functions
20.2.5 HASH processing using DMA mode functions
20.2.6 HMAC processing using polling mode functions
20.2.7 HMAC processing using DMA mode functions
20.2.8 Peripheral State functions
20.2.9 Initialization and de-initialization functions
20.2.9.1 HAL_HASH_Init
20.2.9.2 HAL_HASH_DeInit
20.2.9.3 HAL_HASH_MspInit
20.2.9.4 HAL_HASH_MspDeInit
20.2.9.5 HAL_HASH_InCpltCallback
20.2.9.6 HAL_HASH_ErrorCallback
20.2.9.7 HAL_HASH_DgstCpltCallback
20.2.10 HASH processing functions using polling mode
20.2.10.1 HAL_HASH_MD5_Start
20.2.10.2 HAL_HASH_MD5_Accumulate
20.2.10.3 HAL_HASH_SHA1_Start
20.2.10.4 HAL_HASH_SHA1_Accumulate
20.2.11 HASH processing functions using interrupt mode
20.2.11.1 HAL_HASH_MD5_Start_IT
20.2.11.2 HAL_HASH_SHA1_Start_IT
20.2.11.3 HAL_HASH_IRQHandler
20.2.12 HASH processing functions using DMA mode
20.2.12.1 HAL_HASH_MD5_Start_DMA
20.2.12.2 HAL_HASH_MD5_Finish
20.2.12.3 HAL_HASH_SHA1_Start_DMA
20.2.12.4 HAL_HASH_SHA1_Finish
20.2.13 HASH-MAC (HMAC) processing functions using polling mode
20.2.13.1 HAL_HMAC_MD5_Start
20.2.13.2 HAL_HMAC_SHA1_Start
20.2.14 HASH-MAC (HMAC) processing functions using DMA mode
20.2.14.1 HAL_HMAC_MD5_Start_DMA
20.2.14.2 HAL_HMAC_SHA1_Start_DMA
20.2.15 Peripheral State functions
20.2.15.1 HAL_HASH_GetState
20.3 HASH Firmware driver defines
20.3.1 HASH
21 HAL HASH Extension Driver
21.1 HASHEx Firmware driver API description
21.1.1 How to use this driver
21.1.2 HASH processing using polling mode functions
21.1.3 HMAC processing using polling mode functions
21.1.4 HASH processing using interrupt functions
21.1.5 HASH processing using DMA functions
21.1.6 HMAC processing using DMA functions
21.1.7 HASH processing functions
21.1.7.1 HAL_HASHEx_SHA224_Start
21.1.7.2 HAL_HASHEx_SHA256_Start
21.1.7.3 HAL_HASHEx_SHA224_Accumulate
21.1.7.4 HAL_HASHEx_SHA256_Accumulate
21.1.8 HMAC processing functions using polling mode
21.1.8.1 HAL_HMACEx_SHA224_Start
21.1.8.2 HAL_HMACEx_SHA256_Start
21.1.9 HASH processing functions using interrupt mode
21.1.9.1 HAL_HASHEx_SHA224_Start_IT
21.1.9.2 HAL_HASHEx_SHA256_Start_IT
21.1.9.3 HAL_HASHEx_IRQHandler
21.1.10 HASH processing functions using DMA mode
21.1.10.1 HAL_HASHEx_SHA224_Start_DMA
21.1.10.2 HAL_HASHEx_SHA224_Finish
21.1.10.3 HAL_HASHEx_SHA256_Start_DMA
21.1.10.4 HAL_HASHEx_SHA256_Finish
21.1.11 HMAC processing functions using DMA mode
21.1.11.1 HAL_HMACEx_SHA224_Start_DMA
21.1.11.2 HAL_HMACEx_SHA256_Start_DMA
21.2 HASHEx Firmware driver defines
21.2.1 HASHEx
22 HAL HCD Generic Driver
22.1 HCD Firmware driver registers structures
22.1.1 HCD_HandleTypeDef
22.2 HCD Firmware driver API description
22.2.1 How to use this driver
22.2.2 Initialization and de-initialization functions
22.2.3 IO operation functions
22.2.4 Peripheral Control functions
22.2.5 Peripheral State functions
22.2.6 Initialization and de-initialization functions
22.2.6.1 HAL_HCD_Init
22.2.6.2 HAL_HCD_HC_Init
22.2.6.3 HAL_HCD_HC_Halt
22.2.6.4 HAL_HCD_DeInit
22.2.6.5 HAL_HCD_MspInit
22.2.6.6 HAL_HCD_MspDeInit
22.2.7 IO operation functions
22.2.7.1 HAL_HCD_HC_SubmitRequest
22.2.7.2 HAL_HCD_IRQHandler
22.2.7.3 HAL_HCD_SOF_Callback
22.2.7.4 HAL_HCD_Connect_Callback
22.2.7.5 HAL_HCD_Disconnect_Callback
22.2.7.6 HAL_HCD_HC_NotifyURBChange_Callback
22.2.8 Peripheral Control functions
22.2.8.1 HAL_HCD_Start
22.2.8.2 HAL_HCD_Stop
22.2.8.3 HAL_HCD_ResetPort
22.2.9 Peripheral State functions
22.2.9.1 HAL_HCD_GetState
22.2.9.2 HAL_HCD_HC_GetURBState
22.2.9.3 HAL_HCD_HC_GetXferCount
22.2.9.4 HAL_HCD_HC_GetState
22.2.9.5 HAL_HCD_GetCurrentFrame
22.2.9.6 HAL_HCD_GetCurrentSpeed
22.3 HCD Firmware driver defines
22.3.1 HCD
23 HAL I2C Generic Driver
23.1 I2C Firmware driver registers structures
23.1.1 I2C_HandleTypeDef
23.1.2 I2C_InitTypeDef
23.1.3 I2C_TypeDef
23.2 I2C Firmware driver API description
23.2.1 How to use this driver
23.2.2 Initialization and de-initialization functions
23.2.3 IO operation functions
23.2.4 Peripheral State and Errors functions
23.2.5 Initialization and de-initialization functions
23.2.5.1 HAL_I2C_Init
23.2.5.2 HAL_I2C_DeInit
23.2.5.3 HAL_I2C_MspInit
23.2.5.4 HAL_I2C_MspDeInit
23.2.6 IO operation functions
23.2.6.1 HAL_I2C_Master_Transmit
23.2.6.2 HAL_I2C_Master_Receive
23.2.6.3 HAL_I2C_Slave_Transmit
23.2.6.4 HAL_I2C_Slave_Receive
23.2.6.5 HAL_I2C_Master_Transmit_IT
23.2.6.6 HAL_I2C_Master_Receive_IT
23.2.6.7 HAL_I2C_Slave_Transmit_IT
23.2.6.8 HAL_I2C_Slave_Receive_IT
23.2.6.9 HAL_I2C_Master_Transmit_DMA
23.2.6.10 HAL_I2C_Master_Receive_DMA
23.2.6.11 HAL_I2C_Slave_Transmit_DMA
23.2.6.12 HAL_I2C_Slave_Receive_DMA
23.2.6.13 HAL_I2C_Mem_Write
23.2.6.14 HAL_I2C_Mem_Read
23.2.6.15 HAL_I2C_Mem_Write_IT
23.2.6.16 HAL_I2C_Mem_Read_IT
23.2.6.17 HAL_I2C_Mem_Write_DMA
23.2.6.18 HAL_I2C_Mem_Read_DMA
23.2.6.19 HAL_I2C_IsDeviceReady
23.2.6.20 HAL_I2C_EV_IRQHandler
23.2.6.21 HAL_I2C_ER_IRQHandler
23.2.6.22 HAL_I2C_MasterTxCpltCallback
23.2.6.23 HAL_I2C_MasterRxCpltCallback
23.2.6.24 HAL_I2C_SlaveTxCpltCallback
23.2.6.25 HAL_I2C_SlaveRxCpltCallback
23.2.6.26 HAL_I2C_MemTxCpltCallback
23.2.6.27 HAL_I2C_MemRxCpltCallback
23.2.6.28 HAL_I2C_ErrorCallback
23.2.7 Peripheral State and Errors functions
23.2.7.1 HAL_I2C_GetState
23.2.7.2 HAL_I2C_GetError
23.3 I2C Firmware driver defines
23.3.1 I2C
24 HAL I2C Extension Driver
24.1 I2CEx Firmware driver API description
24.1.1 I2C peripheral extension features
24.1.2 How to use this driver
24.1.3 Extension features functions
24.1.4 Extension features functions
24.1.4.1 HAL_I2CEx_AnalogFilter_Config
24.1.4.2 HAL_I2CEx_DigitalFilter_Config
24.2 I2CEx Firmware driver defines
24.2.1 I2CEx
25 HAL I2S Generic Driver
25.1 I2S Firmware driver registers structures
25.1.1 I2S_HandleTypeDef
25.1.2 I2S_InitTypeDef
25.1.3 SPI_TypeDef
25.2 I2S Firmware driver API description
25.2.1 How to use this driver
25.2.2 Initialization and de-initialization functions
25.2.3 IO operation functions
25.2.4 Peripheral State and Errors functions
25.2.5 Initialization and de-initialization functions
25.2.5.1 HAL_I2S_Init
25.2.5.2 HAL_I2S_DeInit
25.2.5.3 HAL_I2S_MspInit
25.2.5.4 HAL_I2S_MspDeInit
25.2.6 IO operation functions
25.2.6.1 HAL_I2S_Transmit
25.2.6.2 HAL_I2S_Receive
25.2.6.3 HAL_I2S_Transmit_IT
25.2.6.4 HAL_I2S_Receive_IT
25.2.6.5 HAL_I2S_Transmit_DMA
25.2.6.6 HAL_I2S_Receive_DMA
25.2.6.7 HAL_I2S_DMAPause
25.2.6.8 HAL_I2S_DMAResume
25.2.6.9 HAL_I2S_DMAStop
25.2.6.10 HAL_I2S_IRQHandler
25.2.6.11 HAL_I2S_TxHalfCpltCallback
25.2.6.12 HAL_I2S_TxCpltCallback
25.2.6.13 HAL_I2S_RxHalfCpltCallback
25.2.6.14 HAL_I2S_RxCpltCallback
25.2.6.15 HAL_I2S_ErrorCallback
25.2.7 Peripheral State and Errors functions
25.2.7.1 HAL_I2S_GetState
25.2.7.2 HAL_I2S_GetError
25.3 I2S Firmware driver defines
25.3.1 I2S
26 HAL I2S Extension Driver
26.1 I2SEx Firmware driver API description
26.1.1 I2S Extension features
26.1.2 How to use this driver
26.1.3 Extension features Functions
26.1.4 Extension features functions
26.1.4.1 HAL_I2SEx_TransmitReceive
26.1.4.2 HAL_I2SEx_TransmitReceive_IT
26.1.4.3 HAL_I2SEx_TransmitReceive_DMA
26.2 I2SEx Firmware driver defines
26.2.1 I2SEx
27 HAL IRDA Generic Driver
27.1 IRDA Firmware driver registers structures
27.1.1 IRDA_HandleTypeDef
27.1.2 IRDA_InitTypeDef
27.1.3 USART_TypeDef
27.2 IRDA Firmware driver API description
27.2.1 How to use this driver
27.2.2 Initialization and Configuration functions
27.2.3 IO operation functions
27.2.4 Peripheral State and Errors functions
27.2.5 IrDA Initialization and de-initialization functions
27.2.5.1 HAL_IRDA_Init
27.2.5.2 HAL_IRDA_DeInit
27.2.5.3 HAL_IRDA_MspInit
27.2.5.4 HAL_IRDA_MspDeInit
27.2.6 IO operation functions
27.2.6.1 HAL_IRDA_Transmit
27.2.6.2 HAL_IRDA_Receive
27.2.6.3 HAL_IRDA_Transmit_IT
27.2.6.4 HAL_IRDA_Receive_IT
27.2.6.5 HAL_IRDA_Transmit_DMA
27.2.6.6 HAL_IRDA_Receive_DMA
27.2.6.7 HAL_IRDA_IRQHandler
27.2.6.8 HAL_IRDA_TxCpltCallback
27.2.6.9 HAL_IRDA_RxCpltCallback
27.2.6.10 HAL_IRDA_ErrorCallback
27.2.7 Peripheral State and Errors functions
27.2.7.1 HAL_IRDA_GetState
27.2.7.2 HAL_IRDA_GetError
27.3 IRDA Firmware driver defines
27.3.1 IRDA
28 HAL IWDG Generic Driver
28.1 IWDG Firmware driver registers structures
28.1.1 IWDG_HandleTypeDef
28.1.2 IWDG_InitTypeDef
28.1.3 IWDG_TypeDef
28.2 IWDG Firmware driver API description
28.2.1 IWDG Generic features
28.2.2 How to use this driver
28.2.3 Initialization and de-initialization functions
28.2.4 IO operation functions
28.2.5 Peripheral State functions
28.2.6 Initialization and de-initialization functions
28.2.6.1 HAL_IWDG_Init
28.2.6.2 HAL_IWDG_MspInit
28.2.7 IO operation functions
28.2.7.1 HAL_IWDG_Start
28.2.7.2 HAL_IWDG_Refresh
28.2.8 Peripheral State functions
28.2.8.1 HAL_IWDG_GetState
28.3 IWDG Firmware driver defines
28.3.1 IWDG
29 HAL LTDC Generic Driver
29.1 LTDC Firmware driver registers structures
29.1.1 LTDC_HandleTypeDef
29.1.2 LTDC_InitTypeDef
29.1.3 LTDC_ColorTypeDef
29.1.4 LTDC_LayerCfgTypeDef
29.1.5 LTDC_Layer_TypeDef
29.1.6 LTDC_TypeDef
29.2 LTDC Firmware driver API description
29.2.1 How to use this driver
29.2.2 Initialization and Configuration functions
29.2.3 IO operation functions
29.2.4 Peripheral Control functions
29.2.5 Peripheral State and Errors functions
29.2.6 Initialization and Configuration functions
29.2.6.1 HAL_LTDC_Init
29.2.6.2 HAL_LTDC_DeInit
29.2.6.3 HAL_LTDC_MspInit
29.2.6.4 HAL_LTDC_MspDeInit
29.2.7 IO operation functions
29.2.7.1 HAL_LTDC_IRQHandler
29.2.7.2 HAL_LTDC_ErrorCallback
29.2.7.3 HAL_LTDC_LineEvenCallback
29.2.8 Peripheral Control functions
29.2.8.1 HAL_LTDC_ConfigLayer
29.2.8.2 HAL_LTDC_ConfigColorKeying
29.2.8.3 HAL_LTDC_ConfigCLUT
29.2.8.4 HAL_LTDC_EnableColorKeying
29.2.8.5 HAL_LTDC_DisableColorKeying
29.2.8.6 HAL_LTDC_EnableCLUT
29.2.8.7 HAL_LTDC_DisableCLUT
29.2.8.8 HAL_LTDC_EnableDither
29.2.8.9 HAL_LTDC_DisableDither
29.2.8.10 HAL_LTDC_SetWindowSize
29.2.8.11 HAL_LTDC_SetWindowPosition
29.2.8.12 HAL_LTDC_SetPixelFormat
29.2.8.13 HAL_LTDC_SetAlpha
29.2.8.14 HAL_LTDC_SetAddress
29.2.8.15 HAL_LTDC_ProgramLineEvent
29.2.9 Peripheral State and Errors functions
29.2.9.1 HAL_LTDC_GetState
29.2.9.2 HAL_LTDC_GetError
29.3 LTDC Firmware driver defines
29.3.1 LTDC
30 HAL NAND Generic Driver
30.1 NAND Firmware driver registers structures
30.1.1 NAND_HandleTypeDef
30.1.2 NAND_AddressTypedef
30.1.3 NAND_IDTypeDef
30.2 NAND Firmware driver API description
30.2.1 How to use this driver
30.2.2 NAND Initialization and de-initialization functions
30.2.3 NAND Input and Output functions
30.2.4 NAND Control functions
30.2.5 NAND State functions
30.2.6 Initialization and de-initialization functions
30.2.6.1 HAL_NAND_Init
30.2.6.2 HAL_NAND_DeInit
30.2.6.3 HAL_NAND_MspInit
30.2.6.4 HAL_NAND_MspDeInit
30.2.6.5 HAL_NAND_IRQHandler
30.2.6.6 HAL_NAND_ITCallback
30.2.7 Input and Output functions
30.2.7.1 HAL_NAND_Read_ID
30.2.7.2 HAL_NAND_Reset
30.2.7.3 HAL_NAND_Read_Page
30.2.7.4 HAL_NAND_Write_Page
30.2.7.5 HAL_NAND_Read_SpareArea
30.2.7.6 HAL_NAND_Write_SpareArea
30.2.7.7 HAL_NAND_Erase_Block
30.2.7.8 HAL_NAND_Read_Status
30.2.7.9 HAL_NAND_Address_Inc
30.2.8 Control functions
30.2.8.1 HAL_NAND_ECC_Enable
30.2.8.2 HAL_NAND_ECC_Disable
30.2.8.3 HAL_NAND_GetECC
30.2.9 State functions
30.2.9.1 HAL_NAND_GetState
30.3 NAND Firmware driver defines
30.3.1 NAND
31 HAL NOR Generic Driver
31.1 NOR Firmware driver registers structures
31.1.1 NOR_HandleTypeDef
31.1.2 NOR_CFITypeDef
31.1.3 NOR_IDTypeDef
31.2 NOR Firmware driver API description
31.2.1 How to use this driver
31.2.2 NOR Initialization and de_initialization functions
31.2.3 NOR Input and Output functions
31.2.4 NOR Control functions
31.2.5 NOR State functions
31.2.6 Initialization and de-initialization functions
31.2.6.1 HAL_NOR_Init
31.2.6.2 HAL_NOR_DeInit
31.2.6.3 HAL_NOR_MspInit
31.2.6.4 HAL_NOR_MspDeInit
31.2.6.5 HAL_NOR_MspWait
31.2.7 Input and Output functions
31.2.7.1 HAL_NOR_Read_ID
31.2.7.2 HAL_NOR_ReturnToReadMode
31.2.7.3 HAL_NOR_Read
31.2.7.4 HAL_NOR_Program
31.2.7.5 HAL_NOR_ReadBuffer
31.2.7.6 HAL_NOR_ProgramBuffer
31.2.7.7 HAL_NOR_Erase_Block
31.2.7.8 HAL_NOR_Erase_Chip
31.2.7.9 HAL_NOR_Read_CFI
31.2.8 Control functions
31.2.8.1 HAL_NOR_WriteOperation_Enable
31.2.8.2 HAL_NOR_WriteOperation_Disable
31.2.9 State functions
31.2.9.1 HAL_NOR_GetState
31.2.9.2 HAL_NOR_GetStatus
31.3 NOR Firmware driver defines
31.3.1 NOR
32 HAL PCCARD Generic Driver
32.1 PCCARD Firmware driver registers structures
32.1.1 PCCARD_HandleTypeDef
32.2 PCCARD Firmware driver API description
32.2.1 How to use this driver
32.2.2 PCCARD Initialization and de-initialization functions
32.2.3 PCCARD Input and Output functions
32.2.4 PCCARD State functions
32.2.5 Initialization and de-initialization functions
32.2.5.1 HAL_PCCARD_Init
32.2.5.2 HAL_PCCARD_DeInit
32.2.5.3 HAL_PCCARD_MspInit
32.2.5.4 HAL_PCCARD_MspDeInit
32.2.6 Input and Output functions
32.2.6.1 HAL_CF_Read_ID
32.2.6.2 HAL_CF_Read_Sector
32.2.6.3 HAL_CF_Write_Sector
32.2.6.4 HAL_CF_Erase_Sector
32.2.6.5 HAL_CF_Reset
32.2.6.6 HAL_PCCARD_IRQHandler
32.2.6.7 HAL_PCCARD_ITCallback
32.2.7 State functions
32.2.7.1 HAL_PCCARD_GetState
32.2.7.2 HAL_CF_GetStatus
32.2.7.3 HAL_CF_ReadStatus
32.3 PCCARD Firmware driver defines
32.3.1 PCCARD
33 HAL PCD Generic Driver
33.1 PCD Firmware driver registers structures
33.1.1 PCD_HandleTypeDef
33.2 PCD Firmware driver API description
33.2.1 How to use this driver
33.2.2 Initialization and de-initialization functions
33.2.3 IO operation functions
33.2.4 Peripheral Control functions
33.2.5 Peripheral State functions
33.2.6 Initialization and de-initialization functions
33.2.6.1 HAL_PCD_Init
33.2.6.2 HAL_PCD_DeInit
33.2.6.3 HAL_PCD_MspInit
33.2.6.4 HAL_PCD_MspDeInit
33.2.7 IO operation functions
33.2.7.1 HAL_PCD_Start
33.2.7.2 HAL_PCD_Stop
33.2.7.3 HAL_PCD_IRQHandler
33.2.7.4 HAL_PCD_DataOutStageCallback
33.2.7.5 HAL_PCD_DataInStageCallback
33.2.7.6 HAL_PCD_SetupStageCallback
33.2.7.7 HAL_PCD_SOFCallback
33.2.7.8 HAL_PCD_ResetCallback
33.2.7.9 HAL_PCD_SuspendCallback
33.2.7.10 HAL_PCD_ResumeCallback
33.2.7.11 HAL_PCD_ISOOUTIncompleteCallback
33.2.7.12 HAL_PCD_ISOINIncompleteCallback
33.2.7.13 HAL_PCD_ConnectCallback
33.2.7.14 HAL_PCD_DisconnectCallback
33.2.8 Peripheral Control functions
33.2.8.1 HAL_PCD_DevConnect
33.2.8.2 HAL_PCD_DevDisconnect
33.2.8.3 HAL_PCD_SetAddress
33.2.8.4 HAL_PCD_EP_Open
33.2.8.5 HAL_PCD_EP_Close
33.2.8.6 HAL_PCD_EP_Receive
33.2.8.7 HAL_PCD_EP_GetRxCount
33.2.8.8 HAL_PCD_EP_Transmit
33.2.8.9 HAL_PCD_EP_SetStall
33.2.8.10 HAL_PCD_EP_ClrStall
33.2.8.11 HAL_PCD_EP_Flush
33.2.8.12 HAL_PCD_SetTxFiFo
33.2.8.13 HAL_PCD_SetRxFiFo
33.2.8.14 HAL_PCD_ActiveRemoteWakeup
33.2.8.15 HAL_PCD_DeActiveRemoteWakeup
33.2.9 Peripheral State functions
33.2.9.1 HAL_PCD_GetState
33.3 PCD Firmware driver defines
33.3.1 PCD
34 HAL PWR Generic Driver
34.1 PWR Firmware driver registers structures
34.1.1 PWR_PVDTypeDef
34.1.2 PWR_TypeDef
34.2 PWR Firmware driver API description
34.2.1 Initialization and de-initialization functions
34.2.2 Peripheral Control functions
34.2.3 Initialization and de-initialization functions
34.2.3.1 HAL_PWR_DeInit
34.2.3.2 HAL_PWR_EnableBkUpAccess
34.2.3.3 HAL_PWR_DisableBkUpAccess
34.2.4 Peripheral Control functions
34.2.4.1 HAL_PWR_PVDConfig
34.2.4.2 HAL_PWR_EnablePVD
34.2.4.3 HAL_PWR_DisablePVD
34.2.4.4 HAL_PWR_EnableWakeUpPin
34.2.4.5 HAL_PWR_DisableWakeUpPin
34.2.4.6 HAL_PWR_EnterSLEEPMode
34.2.4.7 HAL_PWR_EnterSTOPMode
34.2.4.8 HAL_PWR_EnterSTANDBYMode
34.2.4.9 HAL_PWR_PVD_IRQHandler
34.2.4.10 HAL_PWR_PVDCallback
34.3 PWR Firmware driver defines
34.3.1 PWR
35 HAL PWR Extension Driver
35.1 PWREx Firmware driver API description
35.1.1 Peripheral extended features functions
35.1.2 Peripheral Extended features functions
35.1.2.1 HAL_PWREx_EnableBkUpReg
35.1.2.2 HAL_PWREx_DisableBkUpReg
35.1.2.3 HAL_PWREx_EnableFlashPowerDown
35.1.2.4 HAL_PWREx_DisableFlashPowerDown
35.1.2.5 HAL_PWREx_ActivateOverDrive
35.1.2.6 HAL_PWREx_DeactivateOverDrive
35.2 PWREx Firmware driver defines
35.2.1 PWREx
36 HAL RCC Generic Driver
36.1 RCC Firmware driver registers structures
36.1.1 RCC_PLLInitTypeDef
36.1.2 RCC_ClkInitTypeDef
36.1.3 RCC_OscInitTypeDef
36.2 RCC Firmware driver API description
36.2.1 RCC specific features
36.2.2 Initialization and de-initialization functions
36.2.3 Peripheral Control functions
36.2.4 Initialization and de-initialization functions
36.2.4.1 HAL_RCC_DeInit
36.2.4.2 HAL_RCC_OscConfig
36.2.4.3 HAL_RCC_ClockConfig
36.2.5 Peripheral Control functions
36.2.5.1 HAL_RCC_MCOConfig
36.2.5.2 HAL_RCC_EnableCSS
36.2.5.3 HAL_RCC_DisableCSS
36.2.5.4 HAL_RCC_GetSysClockFreq
36.2.5.5 HAL_RCC_GetHCLKFreq
36.2.5.6 HAL_RCC_GetPCLK1Freq
36.2.5.7 HAL_RCC_GetPCLK2Freq
36.2.5.8 HAL_RCC_GetOscConfig
36.2.5.9 HAL_RCC_GetClockConfig
36.2.5.10 HAL_RCC_NMI_IRQHandler
36.2.5.11 HAL_RCC_CCSCallback
36.3 RCC Firmware driver defines
36.3.1 RCC
37 HAL RCC Extension Driver
37.1 RCCEx Firmware driver registers structures
37.1.1 RCC_PLLI2SInitTypeDef
37.1.2 RCC_PLLSAIInitTypeDef
37.1.3 RCC_PeriphCLKInitTypeDef
37.2 RCCEx Firmware driver API description
37.2.1 Extended Peripheral Control functions
37.2.2 Extended Peripheral Control functions
37.2.2.1 HAL_RCCEx_PeriphCLKConfig
37.2.2.2 HAL_RCCEx_GetPeriphCLKConfig
37.3 RCCEx Firmware driver defines
37.3.1 RCCEx
38 HAL RNG Generic Driver
38.1 RNG Firmware driver registers structures
38.1.1 RNG_HandleTypeDef
38.1.2 RNG_TypeDef
38.2 RNG Firmware driver API description
38.2.1 How to use this driver
38.2.2 Initialization and de-initialization functions
38.2.3 Peripheral Control functions
38.2.4 Peripheral State functions
38.2.5 Initialization and de-initialization functions
38.2.5.1 HAL_RNG_Init
38.2.5.2 HAL_RNG_DeInit
38.2.5.3 HAL_RNG_MspInit
38.2.5.4 HAL_RNG_MspDeInit
38.2.6 Peripheral Control functions
38.2.6.1 HAL_RNG_GetRandomNumber
38.2.6.2 HAL_RNG_GetRandomNumber_IT
38.2.6.3 HAL_RNG_IRQHandler
38.2.6.4 HAL_RNG_ReadyCallback
38.2.6.5 HAL_RNG_ErrorCallback
38.2.7 Peripheral State functions
38.2.7.1 HAL_RNG_GetState
38.3 RNG Firmware driver defines
38.3.1 RNG
39 HAL RTC Generic Driver
39.1 RTC Firmware driver registers structures
39.1.1 RTC_HandleTypeDef
39.1.2 RTC_InitTypeDef
39.1.3 RTC_DateTypeDef
39.1.4 RTC_TimeTypeDef
39.1.5 RTC_AlarmTypeDef
39.1.6 RTC_TypeDef
39.2 RTC Firmware driver API description
39.2.1 Backup Domain Operating Condition
39.2.2 Backup Domain Reset
39.2.3 Backup Domain Access
39.2.4 How to use this driver
39.2.5 RTC and low power modes
39.2.6 Initialization and de-initialization functions
39.2.7 RTC Time and Date functions
39.2.8 RTC Alarm functions
39.2.9 Peripheral Control functions
39.2.10 Peripheral State functions
39.2.11 Initialization and de-initialization functions
39.2.11.1 HAL_RTC_Init
39.2.11.2 HAL_RTC_DeInit
39.2.11.3 HAL_RTC_MspInit
39.2.11.4 HAL_RTC_MspDeInit
39.2.12 RTC Time and Date functions
39.2.12.1 HAL_RTC_SetTime
39.2.12.2 HAL_RTC_GetTime
39.2.12.3 HAL_RTC_SetDate
39.2.12.4 HAL_RTC_GetDate
39.2.13 RTC Alarm functions
39.2.13.1 HAL_RTC_SetAlarm
39.2.13.2 HAL_RTC_SetAlarm_IT
39.2.13.3 HAL_RTC_DeactivateAlarm
39.2.13.4 HAL_RTC_GetAlarm
39.2.13.5 HAL_RTC_AlarmIRQHandler
39.2.13.6 HAL_RTC_AlarmAEventCallback
39.2.13.7 HAL_RTC_PollForAlarmAEvent
39.2.14 Peripheral Control functions
39.2.14.1 HAL_RTC_WaitForSynchro
39.2.14.2 RTC_EnterInitMode
39.2.14.3 RTC_ByteToBcd2
39.2.14.4 RTC_Bcd2ToByte
39.2.15 Peripheral State functions
39.2.15.1 HAL_RTC_GetState
39.3 RTC Firmware driver defines
39.3.1 RTC
40 HAL RTC Extension Driver
40.1 RTCEx Firmware driver registers structures
40.1.1 RTC_TamperTypeDef
40.2 RTCEx Firmware driver API description
40.2.1 How to use this driver
40.2.2 RTC TimeStamp and Tamper functions
40.2.3 RTC Wake-up functions
40.2.4 Extension Peripheral Control functions
40.2.5 Extended features functions
40.2.6 RTC TimeStamp and Tamper functions
40.2.6.1 HAL_RTCEx_SetTimeStamp
40.2.6.2 HAL_RTCEx_SetTimeStamp_IT
40.2.6.3 HAL_RTCEx_DeactivateTimeStamp
40.2.6.4 HAL_RTCEx_GetTimeStamp
40.2.6.5 HAL_RTCEx_SetTamper
40.2.6.6 HAL_RTCEx_SetTamper_IT
40.2.6.7 HAL_RTCEx_DeactivateTamper
40.2.6.8 HAL_RTCEx_TamperTimeStampIRQHandler
40.2.6.9 HAL_RTCEx_TimeStampEventCallback
40.2.6.10 HAL_RTCEx_Tamper1EventCallback
40.2.6.11 HAL_RTCEx_Tamper2EventCallback
40.2.6.12 HAL_RTCEx_PollForTimeStampEvent
40.2.6.13 HAL_RTCEx_PollForTamper1Event
40.2.6.14 HAL_RTCEx_PollForTamper2Event
40.2.7 RTC Wake-up functions
40.2.7.1 HAL_RTCEx_SetWakeUpTimer
40.2.7.2 HAL_RTCEx_SetWakeUpTimer_IT
40.2.7.3 HAL_RTCEx_DeactivateWakeUpTimer
40.2.7.4 HAL_RTCEx_GetWakeUpTimer
40.2.7.5 HAL_RTCEx_WakeUpTimerIRQHandler
40.2.7.6 HAL_RTCEx_WakeUpTimerEventCallback
40.2.7.7 HAL_RTCEx_PollForWakeUpTimerEvent
40.2.8 Extension Peripheral Control functions
40.2.8.1 HAL_RTCEx_BKUPWrite
40.2.8.2 HAL_RTCEx_BKUPRead
40.2.8.3 HAL_RTCEx_SetCoarseCalib
40.2.8.4 HAL_RTCEx_DeactivateCoarseCalib
40.2.8.5 HAL_RTCEx_SetSmoothCalib
40.2.8.6 HAL_RTCEx_SetSynchroShift
40.2.8.7 HAL_RTCEx_SetCalibrationOutPut
40.2.8.8 HAL_RTCEx_DeactivateCalibrationOutPut
40.2.8.9 HAL_RTCEx_SetRefClock
40.2.8.10 HAL_RTCEx_DeactivateRefClock
40.2.8.11 HAL_RTCEx_EnableBypassShadow
40.2.8.12 HAL_RTCEx_DisableBypassShadow
40.2.9 Extended features functions
40.2.9.1 HAL_RTCEx_AlarmBEventCallback
40.2.9.2 HAL_RTCEx_PollForAlarmBEvent
40.3 RTCEx Firmware driver defines
40.3.1 RTCEx
41 HAL SAI Generic Driver
41.1 SAI Firmware driver registers structures
41.1.1 SAI_HandleTypeDef
41.1.2 SAI_InitTypeDef
41.1.3 SAI_FrameInitTypeDef
41.1.4 SAI_SlotInitTypeDef
41.1.5 SAI_Block_TypeDef
41.1.6 SAI_TypeDef
41.2 SAI Firmware driver API description
41.2.1 How to use this driver
41.2.2 Initialization and de-initialization functions
41.2.3 IO operation functions
41.2.4 Peripheral State and Errors functions
41.2.5 Initialization and de-initialization functions
41.2.5.1 HAL_SAI_Init
41.2.5.2 HAL_SAI_DeInit
41.2.5.3 HAL_SAI_MspInit
41.2.5.4 HAL_SAI_MspDeInit
41.2.6 IO operation functions
41.2.6.1 HAL_SAI_Transmit
41.2.6.2 HAL_SAI_Receive
41.2.6.3 HAL_SAI_Transmit_IT
41.2.6.4 HAL_SAI_Receive_IT
41.2.6.5 HAL_SAI_DMAPause
41.2.6.6 HAL_SAI_DMAResume
41.2.6.7 HAL_SAI_DMAStop
41.2.6.8 HAL_SAI_Transmit_DMA
41.2.6.9 HAL_SAI_Receive_DMA
41.2.6.10 HAL_SAI_IRQHandler
41.2.6.11 HAL_SAI_TxCpltCallback
41.2.6.12 HAL_SAI_TxHalfCpltCallback
41.2.6.13 HAL_SAI_RxCpltCallback
41.2.6.14 HAL_SAI_RxHalfCpltCallback
41.2.6.15 HAL_SAI_ErrorCallback
41.2.7 Peripheral State functions
41.2.7.1 HAL_SAI_GetState
41.2.7.2 HAL_SAI_GetError
41.3 SAI Firmware driver defines
41.3.1 SAI
42 HAL SMARTCARD Generic Driver
42.1 SMARTCARD Firmware driver registers structures
42.1.1 SMARTCARD_HandleTypeDef
42.1.2 SMARTCARD_InitTypeDef
42.1.3 USART_TypeDef
42.2 SMARTCARD Firmware driver API description
42.2.1 How to use this driver
42.2.2 Initialization and Configuration functions
42.2.3 IO operation functions
42.2.4 Peripheral State and Errors functions
42.2.5 SmartCard Initialization and de-initialization functions
42.2.5.1 HAL_SMARTCARD_Init
42.2.5.2 HAL_SMARTCARD_DeInit
42.2.5.3 HAL_SMARTCARD_MspInit
42.2.5.4 HAL_SMARTCARD_MspDeInit
42.2.6 IO operation functions
42.2.6.1 HAL_SMARTCARD_Transmit
42.2.6.2 HAL_SMARTCARD_Receive
42.2.6.3 HAL_SMARTCARD_Transmit_IT
42.2.6.4 HAL_SMARTCARD_Receive_IT
42.2.6.5 HAL_SMARTCARD_Transmit_DMA
42.2.6.6 HAL_SMARTCARD_Receive_DMA
42.2.6.7 HAL_SMARTCARD_IRQHandler
42.2.6.8 HAL_SMARTCARD_TxCpltCallback
42.2.6.9 HAL_SMARTCARD_RxCpltCallback
42.2.6.10 HAL_SMARTCARD_ErrorCallback
42.2.7 Peripheral State and Errors functions
42.2.7.1 HAL_SMARTCARD_GetState
42.2.7.2 HAL_SMARTCARD_GetError
42.3 SMARTCARD Firmware driver defines
42.3.1 SMARTCARD
43 HAL SRAM Generic Driver
43.1 SRAM Firmware driver registers structures
43.1.1 SRAM_HandleTypeDef
43.2 SRAM Firmware driver API description
43.2.1 How to use this driver
43.2.2 SRAM Initialization and de_initialization functions
43.2.3 SRAM Input and Output functions
43.2.4 SRAM Control functions
43.2.5 SRAM State functions
43.2.6 Initialization and de-initialization functions
43.2.6.1 HAL_SRAM_Init
43.2.6.2 HAL_SRAM_DeInit
43.2.6.3 HAL_SRAM_MspInit
43.2.6.4 HAL_SRAM_MspDeInit
43.2.6.5 HAL_SRAM_DMA_XferCpltCallback
43.2.6.6 HAL_SRAM_DMA_XferErrorCallback
43.2.7 Input and Output functions
43.2.7.1 HAL_SRAM_Read_8b
43.2.7.2 HAL_SRAM_Write_8b
43.2.7.3 HAL_SRAM_Read_16b
43.2.7.4 HAL_SRAM_Write_16b
43.2.7.5 HAL_SRAM_Read_32b
43.2.7.6 HAL_SRAM_Write_32b
43.2.7.7 HAL_SRAM_Read_DMA
43.2.7.8 HAL_SRAM_Write_DMA
43.2.8 Control functions
43.2.8.1 HAL_SRAM_WriteOperation_Enable
43.2.8.2 HAL_SRAM_WriteOperation_Disable
43.2.9 State functions
43.2.9.1 HAL_SRAM_GetState
43.3 SRAM Firmware driver defines
43.3.1 SRAM
44 HAL SDRAM Generic Driver
44.1 SDRAM Firmware driver registers structures
44.1.1 SDRAM_HandleTypeDef
44.2 SDRAM Firmware driver API description
44.2.1 How to use this driver
44.2.2 SDRAM Initialization and de_initialization functions
44.2.3 SDRAM Input and Output functions
44.2.4 SDRAM Control functions
44.2.5 SDRAM State functions
44.2.6 Initialization and de-initialization functions
44.2.6.1 HAL_SDRAM_Init
44.2.6.2 HAL_SDRAM_DeInit
44.2.6.3 HAL_SDRAM_MspInit
44.2.6.4 HAL_SDRAM_MspDeInit
44.2.6.5 HAL_SDRAM_IRQHandler
44.2.6.6 HAL_SDRAM_RefreshErrorCallback
44.2.6.7 HAL_SDRAM_DMA_XferCpltCallback
44.2.6.8 HAL_SDRAM_DMA_XferErrorCallback
44.2.7 Input and Output functions
44.2.7.1 HAL_SDRAM_Read_8b
44.2.7.2 HAL_SDRAM_Write_8b
44.2.7.3 HAL_SDRAM_Read_16b
44.2.7.4 HAL_SDRAM_Write_16b
44.2.7.5 HAL_SDRAM_Read_32b
44.2.7.6 HAL_SDRAM_Write_32b
44.2.7.7 HAL_SDRAM_Read_DMA
44.2.7.8 HAL_SDRAM_Write_DMA
44.2.8 Control functions
44.2.8.1 HAL_SDRAM_WriteProtection_Enable
44.2.8.2 HAL_SDRAM_WriteProtection_Disable
44.2.8.3 HAL_SDRAM_SendCommand
44.2.8.4 HAL_SDRAM_ProgramRefreshRate
44.2.8.5 HAL_SDRAM_SetAutoRefreshNumber
44.2.8.6 HAL_SDRAM_GetModeStatus
44.2.9 State functions
44.2.9.1 HAL_SDRAM_GetState
44.3 SDRAM Firmware driver defines
44.3.1 SDRAM
45 HAL SPI Generic Driver
45.1 SPI Firmware driver registers structures
45.1.1 SPI_HandleTypeDef
45.1.2 SPI_InitTypeDef
45.1.3 SPI_TypeDef
45.2 SPI Firmware driver API description
45.2.1 How to use this driver
45.2.2 Initialization and de-initialization functions
45.2.3 IO operation functions
45.2.4 Peripheral State and Errors functions
45.2.5 Initialization and de-initialization functions
45.2.5.1 HAL_SPI_Init
45.2.5.2 HAL_SPI_DeInit
45.2.5.3 HAL_SPI_MspInit
45.2.5.4 HAL_SPI_MspDeInit
45.2.6 IO operation functions
45.2.6.1 HAL_SPI_Transmit
45.2.6.2 HAL_SPI_Receive
45.2.6.3 HAL_SPI_TransmitReceive
45.2.6.4 HAL_SPI_Transmit_IT
45.2.6.5 HAL_SPI_Receive_IT
45.2.6.6 HAL_SPI_TransmitReceive_IT
45.2.6.7 HAL_SPI_Transmit_DMA
45.2.6.8 HAL_SPI_Receive_DMA
45.2.6.9 HAL_SPI_TransmitReceive_DMA
45.2.6.10 HAL_SPI_IRQHandler
45.2.6.11 HAL_SPI_TxCpltCallback
45.2.6.12 HAL_SPI_RxCpltCallback
45.2.6.13 HAL_SPI_TxRxCpltCallback
45.2.6.14 HAL_SPI_ErrorCallback
45.2.7 Peripheral State and Errors functions
45.2.7.1 HAL_SPI_GetState
45.2.7.2 HAL_SPI_GetError
45.3 SPI Firmware driver defines
45.3.1 SPI
46 HAL TIM Generic Driver
46.1 TIM Firmware driver registers structures
46.1.1 TIM_HandleTypeDef
46.1.2 TIM_Base_InitTypeDef
46.1.3 TIM_OC_InitTypeDef
46.1.4 TIM_IC_InitTypeDef
46.1.5 TIM_OnePulse_InitTypeDef
46.1.6 TIM_ClockConfigTypeDef
46.1.7 TIM_ClearInputConfigTypeDef
46.1.8 TIM_SlaveConfigTypeDef
46.1.9 TIM_Encoder_InitTypeDef
46.1.10 TIM_TypeDef
46.2 TIM Firmware driver API description
46.2.1 TIMER Generic features
46.2.2 How to use this driver
46.2.3 Time Base functions
46.2.4 Peripheral State functions
46.2.5 Time Output Compare functions
46.2.6 Time PWM functions
46.2.7 Time Input Capture functions
46.2.8 Time One Pulse functions
46.2.9 Time Encoder functions
46.2.10 IRQ handler management
46.2.11 Peripheral Control functions
46.2.12 TIM Callbacks functions
46.2.13 Time Base functions
46.2.13.1 HAL_TIM_Base_Init
46.2.13.2 HAL_TIM_Base_DeInit
46.2.13.3 HAL_TIM_Base_MspInit
46.2.13.4 HAL_TIM_Base_MspDeInit
46.2.13.5 HAL_TIM_Base_Start
46.2.13.6 HAL_TIM_Base_Stop
46.2.13.7 HAL_TIM_Base_Start_IT
46.2.13.8 HAL_TIM_Base_Stop_IT
46.2.13.9 HAL_TIM_Base_Start_DMA
46.2.13.10 HAL_TIM_Base_Stop_DMA
46.2.14 Peripheral State functions
46.2.14.1 HAL_TIM_Base_GetState
46.2.14.2 HAL_TIM_OC_GetState
46.2.14.3 HAL_TIM_PWM_GetState
46.2.14.4 HAL_TIM_IC_GetState
46.2.14.5 HAL_TIM_OnePulse_GetState
46.2.14.6 HAL_TIM_Encoder_GetState
46.2.15 Time Output Compare functions
46.2.15.1 HAL_TIM_OC_Init
46.2.15.2 HAL_TIM_OC_DeInit
46.2.15.3 HAL_TIM_OC_MspInit
46.2.15.4 HAL_TIM_OC_MspDeInit
46.2.15.5 HAL_TIM_OC_Start
46.2.15.6 HAL_TIM_OC_Stop
46.2.15.7 HAL_TIM_OC_Start_IT
46.2.15.8 HAL_TIM_OC_Stop_IT
46.2.15.9 HAL_TIM_OC_Start_DMA
46.2.15.10 HAL_TIM_OC_Stop_DMA
46.2.16 Time PWM functions
46.2.16.1 HAL_TIM_PWM_Init
46.2.16.2 HAL_TIM_PWM_DeInit
46.2.16.3 HAL_TIM_PWM_MspInit
46.2.16.4 HAL_TIM_PWM_MspDeInit
46.2.16.5 HAL_TIM_PWM_Start
46.2.16.6 HAL_TIM_PWM_Stop
46.2.16.7 HAL_TIM_PWM_Start_IT
46.2.16.8 HAL_TIM_PWM_Stop_IT
46.2.16.9 HAL_TIM_PWM_Start_DMA
46.2.16.10 HAL_TIM_PWM_Stop_DMA
46.2.17 Time Input Capture functions
46.2.17.1 HAL_TIM_IC_Init
46.2.17.2 HAL_TIM_IC_DeInit
46.2.17.3 HAL_TIM_IC_MspInit
46.2.17.4 HAL_TIM_IC_MspDeInit
46.2.17.5 HAL_TIM_IC_Start
46.2.17.6 HAL_TIM_IC_Stop
46.2.17.7 HAL_TIM_IC_Start_IT
46.2.17.8 HAL_TIM_IC_Stop_IT
46.2.17.9 HAL_TIM_IC_Start_DMA
46.2.17.10 HAL_TIM_IC_Stop_DMA
46.2.18 Time One Pulse functions
46.2.18.1 HAL_TIM_OnePulse_Init
46.2.18.2 HAL_TIM_OnePulse_DeInit
46.2.18.3 HAL_TIM_OnePulse_MspInit
46.2.18.4 HAL_TIM_OnePulse_MspDeInit
46.2.18.5 HAL_TIM_OnePulse_Start
46.2.18.6 HAL_TIM_OnePulse_Stop
46.2.18.7 HAL_TIM_OnePulse_Start_IT
46.2.18.8 HAL_TIM_OnePulse_Stop_IT
46.2.19 Time Encoder functions
46.2.19.1 HAL_TIM_Encoder_Init
46.2.19.2 HAL_TIM_Encoder_DeInit
46.2.19.3 HAL_TIM_Encoder_MspInit
46.2.19.4 HAL_TIM_Encoder_MspDeInit
46.2.19.5 HAL_TIM_Encoder_Start
46.2.19.6 HAL_TIM_Encoder_Stop
46.2.19.7 HAL_TIM_Encoder_Start_IT
46.2.19.8 HAL_TIM_Encoder_Stop_IT
46.2.19.9 HAL_TIM_Encoder_Start_DMA
46.2.19.10 HAL_TIM_Encoder_Stop_DMA
46.2.20 TIM IRQ handler management
46.2.20.1 HAL_TIM_IRQHandler
46.2.21 Peripheral Control functions
46.2.21.1 HAL_TIM_OC_ConfigChannel
46.2.21.2 HAL_TIM_IC_ConfigChannel
46.2.21.3 HAL_TIM_PWM_ConfigChannel
46.2.21.4 HAL_TIM_OnePulse_ConfigChannel
46.2.21.5 HAL_TIM_DMABurst_WriteStart
46.2.21.6 HAL_TIM_DMABurst_WriteStop
46.2.21.7 HAL_TIM_DMABurst_ReadStart
46.2.21.8 HAL_TIM_DMABurst_ReadStop
46.2.21.9 HAL_TIM_GenerateEvent
46.2.21.10 HAL_TIM_ConfigOCrefClear
46.2.21.11 HAL_TIM_ConfigClockSource
46.2.21.12 HAL_TIM_ConfigTI1Input
46.2.21.13 HAL_TIM_SlaveConfigSynchronization
46.2.21.14 HAL_TIM_ReadCapturedValue
46.2.22 TIM Callbacks functions
46.2.22.1 HAL_TIM_PeriodElapsedCallback
46.2.22.2 HAL_TIM_OC_DelayElapsedCallback
46.2.22.3 HAL_TIM_IC_CaptureCallback
46.2.22.4 HAL_TIM_PWM_PulseFinishedCallback
46.2.22.5 HAL_TIM_TriggerCallback
46.2.22.6 HAL_TIM_ErrorCallback
46.3 TIM Firmware driver defines
46.3.1 TIM
47 HAL TIM Extension Driver
47.1 TIMEx Firmware driver registers structures
47.1.1 TIM_MasterConfigTypeDef
47.1.2 TIM_HallSensor_InitTypeDef
47.1.3 TIM_BreakDeadTimeConfigTypeDef
47.2 TIMEx Firmware driver API description
47.2.1 TIMER Extended features
47.2.2 How to use this driver
47.2.3 Timer Hall Sensor functions
47.2.4 Timer Complementary Output Compare functions
47.2.5 Timer Complementary PWM functions
47.2.6 Timer Complementary One Pulse functions
47.2.7 Peripheral Control functions
47.2.8 Extension Callbacks functions
47.2.9 Extension Peripheral State functions
47.2.10 Timer Hall Sensor functions
47.2.10.1 HAL_TIMEx_HallSensor_Init
47.2.10.2 HAL_TIMEx_HallSensor_DeInit
47.2.10.3 HAL_TIMEx_HallSensor_MspInit
47.2.10.4 HAL_TIMEx_HallSensor_MspDeInit
47.2.10.5 HAL_TIMEx_HallSensor_Start
47.2.10.6 HAL_TIMEx_HallSensor_Stop
47.2.10.7 HAL_TIMEx_HallSensor_Start_IT
47.2.10.8 HAL_TIMEx_HallSensor_Stop_IT
47.2.10.9 HAL_TIMEx_HallSensor_Start_DMA
47.2.10.10 HAL_TIMEx_HallSensor_Stop_DMA
47.2.11 Timer Complementary Output Compare functions
47.2.11.1 HAL_TIMEx_OCN_Start
47.2.11.2 HAL_TIMEx_OCN_Stop
47.2.11.3 HAL_TIMEx_OCN_Start_IT
47.2.11.4 HAL_TIMEx_OCN_Stop_IT
47.2.11.5 HAL_TIMEx_OCN_Start_DMA
47.2.11.6 HAL_TIMEx_OCN_Stop_DMA
47.2.12 Timer Complementary PWM functions
47.2.12.1 HAL_TIMEx_PWMN_Start
47.2.12.2 HAL_TIMEx_PWMN_Stop
47.2.12.3 HAL_TIMEx_PWMN_Start_IT
47.2.12.4 HAL_TIMEx_PWMN_Stop_IT
47.2.12.5 HAL_TIMEx_PWMN_Start_DMA
47.2.12.6 HAL_TIMEx_PWMN_Stop_DMA
47.2.13 Timer Complementary One Pulse functions
47.2.13.1 HAL_TIMEx_OnePulseN_Start
47.2.13.2 HAL_TIMEx_OnePulseN_Stop
47.2.13.3 HAL_TIMEx_OnePulseN_Start_IT
47.2.13.4 HAL_TIMEx_OnePulseN_Stop_IT
47.2.14 Peripheral Control functions
47.2.14.1 HAL_TIMEx_ConfigCommutationEvent
47.2.14.2 HAL_TIMEx_ConfigCommutationEvent_IT
47.2.14.3 HAL_TIMEx_ConfigCommutationEvent_DMA
47.2.14.4 HAL_TIMEx_MasterConfigSynchronization
47.2.14.5 HAL_TIMEx_ConfigBreakDeadTime
47.2.14.6 HAL_TIMEx_RemapConfig
47.2.15 Extension Callbacks functions
47.2.15.1 HAL_TIMEx_CommutationCallback
47.2.15.2 HAL_TIMEx_BreakCallback
47.2.16 Extension Peripheral State functions
47.2.16.1 HAL_TIMEx_HallSensor_GetState
47.3 TIMEx Firmware driver defines
47.3.1 TIMEx
48 HAL UART Generic Driver
48.1 UART Firmware driver registers structures
48.1.1 UART_HandleTypeDef
48.1.2 UART_InitTypeDef
48.1.3 USART_TypeDef
48.2 UART Firmware driver API description
48.2.1 How to use this driver
48.2.2 Initialization and Configuration functions
48.2.3 IO operation functions
48.2.4 Peripheral Control functions
48.2.5 Peripheral State and Errors functions
48.2.6 Initialization and de-initialization functions
48.2.6.1 HAL_UART_Init
48.2.6.2 HAL_HalfDuplex_Init
48.2.6.3 HAL_LIN_Init
48.2.6.4 HAL_MultiProcessor_Init
48.2.6.5 HAL_UART_DeInit
48.2.6.6 HAL_UART_MspInit
48.2.6.7 HAL_UART_MspDeInit
48.2.7 IO operation functions
48.2.7.1 HAL_UART_Transmit
48.2.7.2 HAL_UART_Receive
48.2.7.3 HAL_UART_Transmit_IT
48.2.7.4 HAL_UART_Receive_IT
48.2.7.5 HAL_UART_Transmit_DMA
48.2.7.6 HAL_UART_Receive_DMA
48.2.7.7 HAL_UART_DMAPause
48.2.7.8 HAL_UART_DMAResume
48.2.7.9 HAL_UART_DMAStop
48.2.7.10 HAL_UART_IRQHandler
48.2.7.11 HAL_UART_TxCpltCallback
48.2.7.12 HAL_UART_TxHalfCpltCallback
48.2.7.13 HAL_UART_RxCpltCallback
48.2.7.14 HAL_UART_RxHalfCpltCallback
48.2.7.15 HAL_UART_ErrorCallback
48.2.8 Peripheral Control functions
48.2.8.1 HAL_LIN_SendBreak
48.2.8.2 HAL_MultiProcessor_EnterMuteMode
48.2.8.3 HAL_MultiProcessor_ExitMuteMode
48.2.8.4 HAL_HalfDuplex_EnableTransmitter
48.2.8.5 HAL_HalfDuplex_EnableReceiver
48.2.9 Peripheral State and Errors functions
48.2.9.1 HAL_UART_GetState
48.2.9.2 HAL_UART_GetError
48.3 UART Firmware driver defines
48.3.1 UART
49 HAL USART Generic Driver
49.1 USART Firmware driver registers structures
49.1.1 USART_HandleTypeDef
49.1.2 USART_InitTypeDef
49.1.3 USART_TypeDef
49.2 USART Firmware driver API description
49.2.1 How to use this driver
49.2.2 Initialization and Configuration functions
49.2.3 IO operation functions
49.2.4 Peripheral State and Errors functions
49.2.5 USART Initialization and de-initialization functions
49.2.5.1 HAL_USART_Init
49.2.5.2 HAL_USART_DeInit
49.2.5.3 HAL_USART_MspInit
49.2.5.4 HAL_USART_MspDeInit
49.2.6 IO operation functions
49.2.6.1 HAL_USART_Transmit
49.2.6.2 HAL_USART_Receive
49.2.6.3 HAL_USART_TransmitReceive
49.2.6.4 HAL_USART_Transmit_IT
49.2.6.5 HAL_USART_Receive_IT
49.2.6.6 HAL_USART_TransmitReceive_IT
49.2.6.7 HAL_USART_Transmit_DMA
49.2.6.8 HAL_USART_Receive_DMA
49.2.6.9 HAL_USART_TransmitReceive_DMA
49.2.6.10 HAL_USART_DMAPause
49.2.6.11 HAL_USART_DMAResume
49.2.6.12 HAL_USART_DMAStop
49.2.6.13 HAL_USART_IRQHandler
49.2.6.14 HAL_USART_TxCpltCallback
49.2.6.15 HAL_USART_TxHalfCpltCallback
49.2.6.16 HAL_USART_RxCpltCallback
49.2.6.17 HAL_USART_RxHalfCpltCallback
49.2.6.18 HAL_USART_TxRxCpltCallback
49.2.6.19 HAL_USART_ErrorCallback
49.2.7 Peripheral State and Errors functions
49.2.7.1 HAL_USART_GetState
49.2.7.2 HAL_USART_GetError
49.3 USART Firmware driver defines
49.3.1 USART
50 HAL WWDG Generic Driver
50.1 WWDG Firmware driver registers structures
50.1.1 WWDG_HandleTypeDef
50.1.2 WWDG_InitTypeDef
50.1.3 WWDG_TypeDef
50.2 WWDG Firmware driver API description
50.2.1 Initialization and de-initialization functions
50.2.2 IO operation functions
50.2.3 Peripheral State functions
50.2.4 Initialization and de-initialization functions
50.2.4.1 HAL_WWDG_Init
50.2.4.2 HAL_WWDG_DeInit
50.2.4.3 HAL_WWDG_MspInit
50.2.4.4 HAL_WWDG_MspDeInit
50.2.5 IO operation functions
50.2.5.1 HAL_WWDG_Start
50.2.5.2 HAL_WWDG_Start_IT
50.2.5.3 HAL_WWDG_Refresh
50.2.5.4 HAL_WWDG_IRQHandler
50.2.5.5 HAL_WWDG_WakeupCallback
50.2.6 Peripheral State functions
50.2.6.1 HAL_WWDG_GetState
50.3 WWDG Firmware driver defines
50.3.1 WWDG
51 FAQs
52 Revision history
UM1725 Contents UM1725 User Manual Description of STM32F4xx HAL drivers Introduction STM32CubeTM is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost. STM32CubeTM covers STM32 portfolio. STM32CubeTM Version 1.x includes:   The STM32CubeMX, a graphical software configuration tool that allows generating C initialization code using graphical wizards. A comprehensive embedded software platform, delivered per series (such as STM32CubeF4 for STM32F4 series)  The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio A consistent set of middleware components such as RTOS, USB, TCP/IP, Graphics All embedded software utilities coming with a full set of examples.   The HAL drivers layer provides a generic multi instance simple set of APIs (application programming interfaces) to interact with the upper layer (application, libraries and stacks). It is composed of generic and extension APIs. It is directly built around a generic architecture and allows the built-upon layers, such as the middleware layer, to implement their functions without knowing in-depth how to use the MCU. This structure improves the library code reusability and guarantees an easy portability on other devices. The HAL drivers include a complete set of ready-to-use APIs which simplify the user application implementation. As an example, the communication peripherals contain APIs to initialize and configure the peripheral, to manage data transfers based on polling, to handle interrupts or DMA, and to manage communication errors. The HAL drivers APIs are split into two categories: generic APIs which provide common and generic functions for all the STM32 series and extension APIs which include specific and customized functions for a given family or part number. The HAL drivers are feature-oriented instead of IP-oriented. As an example, the timer APIs are split into several categories following the functions offered by the IP: basic timer, capture, pulse width modulation (PWM), etc.. The drivers source code is developed in Strict ANSI-C which makes it independent from the development tools. It is checked with CodeSonarTM static analysis tool. It is fully documented and is MISRA-C 2004 compliant. The HAL drivers layer implements run-time failure detection by checking the input values of all functions. Such dynamic checking contributes to enhance the firmware robustness. Run-time detection is also suitable for user application development and debugging. This user manual is structured as follows:  Overview of the HAL drivers  Detailed description of each peripheral driver: configuration structures, functions, and how to use the given API to build your application. May 2014 DocID025834 Rev 1 1/865
Contents Contents UM1725 1 2 Acronyms and definitions ............................................................. 26 Overview of HAL drivers ............................................................... 28 2.1 HAL and user application files ......................................................... 28 2.1.1 2.1.2 HAL driver files ................................................................................. 28 User-application files ........................................................................ 29 2.2 HAL data structures ........................................................................ 31 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.2.1 2.2.2 2.2.3 Peripheral handle structures ............................................................ 31 Initialization and configuration structure ........................................... 32 Specific process structures .............................................................. 33 API classification ............................................................................. 33 Devices supported by HAL drivers .................................................. 34 HAL drivers rules ............................................................................. 37 2.5.1 2.5.2 2.5.3 HAL API naming rules ...................................................................... 37 HAL general naming rules ................................................................ 38 HAL interrupt handler and callback functions ................................... 39 HAL generic APIs ............................................................................ 39 HAL extension APIs ........................................................................ 41 2.7.1 2.7.2 HAL extension model overview ........................................................ 41 HAL extension model cases ............................................................. 41 File inclusion model ......................................................................... 43 HAL common resources .................................................................. 44 HAL configuration ............................................................................ 45 HAL system peripheral handling ..................................................... 46 2.11.1 Clock ................................................................................................. 46 2.11.2 GPIOs ............................................................................................... 47 2.11.3 Cortex NVIC and SysTick timer ........................................................ 49 2.11.4 PWR ................................................................................................. 49 2.11.5 EXTI .................................................................................................. 50 2.11.6 DMA .................................................................................................. 50 2.12 How to use HAL drivers .................................................................. 52 2.12.1 HAL usage models ........................................................................... 52 2.12.2 HAL initialization ............................................................................... 53 2.12.3 HAL IO operation process ................................................................ 55 2.12.4 Timeout and error management ....................................................... 58 2/865 DocID025834 Rev 1
UM1725 Contents 3 HAL common driver ...................................................................... 62 3.1 HAL Firmware driver API description .............................................. 62 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 How to use this driver ....................................................................... 62 Initialization and de-initialization functions ....................................... 62 HAL Control functions....................................................................... 62 Initialization and de-initialization Functions ...................................... 63 HAL Control functions....................................................................... 64 3.2 HAL Firmware driver defines ........................................................... 69 3.2.1 HAL ................................................................................................... 69 4 HAL ADC Generic Driver ............................................................... 70 4.1 ADC Firmware driver registers structures ....................................... 70 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 ADC_HandleTypeDef ....................................................................... 70 ADC_InitTypeDef .............................................................................. 70 ADC_ChannelConfTypeDef ............................................................. 72 ADC_AnalogWDGConfTypeDef ....................................................... 72 ADC_Common_TypeDef .................................................................. 73 ADC_TypeDef .................................................................................. 73 4.2 ADC Firmware driver API description .............................................. 75 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 ADC Peripheral features................................................................... 75 How to use this driver ....................................................................... 75 Initialization and de-initialization functions ....................................... 77 IO operation functions ...................................................................... 77 Peripheral Control functions ............................................................. 77 Peripheral State and errors functions ............................................... 78 Initialization and de-initialization functions ....................................... 78 IO operation functions ...................................................................... 79 Peripheral Control functions ............................................................. 84 4.2.10 ADC Peripheral State functions ........................................................ 85 4.3 ADC Firmware driver defines .......................................................... 86 4.3.1 ADC .................................................................................................. 86 5 HAL ADC Extension Driver ........................................................... 95 5.1 ADCEx Firmware driver registers structures ................................... 95 5.1.1 5.1.2 ADC_InjectionConfTypeDef ............................................................. 95 ADC_MultiModeTypeDef .................................................................. 96 5.2 ADCEx Firmware driver API description ......................................... 96 5.2.1 5.2.2 How to use this driver ....................................................................... 96 Extended features functions ............................................................. 98 DocID025834 Rev 1 3/865
Contents 5.2.3 UM1725 Extended features functions ............................................................. 98 5.3 ADCEx Firmware driver defines .................................................... 103 5.3.1 ADCEx ............................................................................................ 103 6 HAL CAN Generic Driver ............................................................. 110 6.1 CAN Firmware driver registers structures ..................................... 110 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 CAN_HandleTypeDef ..................................................................... 110 CAN_InitTypeDef ............................................................................ 110 CAN_FilterConfTypeDef ................................................................. 111 CAN_FIFOMailBox_TypeDef ......................................................... 112 CAN_FilterRegister_TypeDef ......................................................... 113 CAN_TxMailBox_TypeDef ............................................................. 113 CAN_TypeDef ................................................................................ 114 6.2 CAN Firmware driver API description ............................................ 115 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 How to use this driver ..................................................................... 115 Initialization and de-initialization functions ..................................... 116 IO operation functions .................................................................... 117 Peripheral State and Error functions .............................................. 117 Initialization and de-initialization functions ..................................... 117 IO operation functions .................................................................... 119 Peripheral State and Error functions .............................................. 123 6.3 CAN Firmware driver defines ........................................................ 123 6.3.1 CAN ................................................................................................ 123 7 HAL CORTEX Generic Driver ...................................................... 133 7.1 CORTEX Firmware driver API description .................................... 133 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 How to use this driver ..................................................................... 133 Initialization and de-initialization functions ..................................... 134 Peripheral Control functions ........................................................... 134 Initialization and de-initialization functions ..................................... 134 Peripheral Control functions ........................................................... 137 7.2 CORTEX Firmware driver defines ................................................. 140 7.2.1 CORTEX ......................................................................................... 140 8 HAL CRC Generic Driver ............................................................. 142 8.1 CRC Firmware driver registers structures ..................................... 142 8.1.1 8.1.2 CRC_HandleTypeDef ..................................................................... 142 CRC_TypeDef ................................................................................ 142 8.2 CRC Firmware driver API description ........................................... 143 8.2.1 How to use this driver ..................................................................... 143 4/865 DocID025834 Rev 1
UM1725 Contents 8.2.2 8.2.3 8.2.4 8.2.5 8.2.6 8.2.7 Initialization and de-initialization functions ..................................... 143 Peripheral Control functions ........................................................... 143 Peripheral State functions .............................................................. 143 Initialization and de-initialization functions ..................................... 144 Peripheral Control functions ........................................................... 145 Peripheral State functions .............................................................. 146 8.3 CRC Firmware driver defines ........................................................ 146 8.3.1 CRC ................................................................................................ 146 9 HAL CRYP Generic Driver ........................................................... 147 9.1 CRYP Firmware driver registers structures ................................... 147 9.1.1 9.1.2 9.1.3 CRYP_HandleTypeDef................................................................... 147 CRYP_InitTypeDef ......................................................................... 148 CRYP_TypeDef .............................................................................. 148 9.2 CRYP Firmware driver API description ......................................... 151 9.2.1 9.2.2 9.2.3 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 How to use this driver ..................................................................... 151 Initialization and de-initialization functions ..................................... 152 AES processing functions .............................................................. 152 DES processing functions .............................................................. 153 TDES processing functions ............................................................ 153 DMA callback functions .................................................................. 153 CRYP IRQ handler management ................................................... 154 Peripheral State functions .............................................................. 154 9.2.9 Initialization and de-initialization functions ..................................... 154 9.2.10 AES processing functions .............................................................. 155 9.2.11 DES processing functions .............................................................. 164 9.2.12 TDES processing functions ............................................................ 169 9.2.13 DMA callback functions .................................................................. 174 9.2.14 CRYP IRQ handler management ................................................... 175 9.2.15 Peripheral State functions .............................................................. 176 9.3 CRYP Firmware driver defines ...................................................... 176 9.3.1 CRYP .............................................................................................. 176 10 HAL DAC Generic Driver ............................................................. 180 10.1 DAC Firmware driver registers structures ..................................... 180 10.1.1 DAC_HandleTypeDef ..................................................................... 180 10.1.2 DAC_ChannelConfTypeDef ........................................................... 180 10.1.3 DAC_TypeDef ................................................................................ 181 10.2 DAC Firmware driver API description ............................................ 182 DocID025834 Rev 1 5/865
Contents UM1725 10.2.1 DAC Peripheral features................................................................. 182 10.2.2 How to use this driver ..................................................................... 183 10.2.3 10.2.4 Initialization and de-initialization functions ..................................... 184 IO operation functions .................................................................... 184 10.2.5 Peripheral Control functions ........................................................... 184 10.2.6 Peripheral State and Errors functions ............................................ 185 10.2.7 10.2.8 Initialization and de-initialization functions ..................................... 185 IO operation functions .................................................................... 186 10.2.9 Peripheral Control functions ........................................................... 190 10.2.10 Peripheral State and Errors functions ............................................ 191 10.3 DAC Firmware driver defines ........................................................ 192 10.3.1 DAC ................................................................................................ 192 11 HAL DAC Extension Driver ......................................................... 196 11.1 DACEx Firmware driver API description ....................................... 196 11.1.1 How to use this driver ..................................................................... 196 11.1.2 Extended features functions ........................................................... 196 11.1.3 Extended features functions ........................................................... 196 11.2 DACEx Firmware driver defines .................................................... 199 11.2.1 DACEx ............................................................................................ 199 12 HAL DMA Generic Driver ............................................................ 203 12.1 DMA Firmware driver registers structures ..................................... 203 12.1.1 DMA_HandleTypeDef..................................................................... 203 12.1.2 DMA_InitTypeDef ........................................................................... 204 12.1.3 DMA_Stream_TypeDef .................................................................. 205 12.1.4 DMA_TypeDef ................................................................................ 205 12.2 DMA Firmware driver API description ........................................... 206 12.2.1 How to use this driver ..................................................................... 206 12.2.2 12.2.3 Initialization and de-initialization functions ..................................... 207 IO operation functions .................................................................... 207 12.2.4 State and Errors functions .............................................................. 208 Initialization and de-initialization functions ..................................... 208 12.2.5 12.2.6 I/O operation functions ................................................................... 209 12.2.7 Peripheral State functions .............................................................. 211 12.3 DMA Firmware driver defines ........................................................ 212 12.3.1 DMA ................................................................................................ 212 13 HAL DMA Extension Driver ......................................................... 220 13.1 DMAEx Firmware driver API description ....................................... 220 6/865 DocID025834 Rev 1
UM1725 Contents 13.1.1 How to use this driver ..................................................................... 220 13.1.2 Extended features functions ........................................................... 220 13.1.3 Extended features functions ........................................................... 220 13.2 DMAEx Firmware driver defines .................................................... 222 13.2.1 DMAEx............................................................................................ 222 14 HAL DMA2D Generic Driver ........................................................ 223 14.1 DMA2D Firmware driver registers structures ................................ 223 14.1.1 DMA2D_HandleTypeDef ................................................................ 223 14.1.2 DMA2D_InitTypeDef ....................................................................... 223 14.1.3 DMA2D_LayerCfgTypeDef ............................................................. 224 14.1.4 DMA2D_ColorTypeDef ................................................................... 224 14.1.5 DMA2D_CLUTCfgTypeDef ............................................................ 225 14.1.6 DMA2D_TypeDef ........................................................................... 225 14.2 DMA2D Firmware driver API description ....................................... 227 14.2.1 How to use this driver ..................................................................... 227 14.2.2 14.2.3 Initialization and Configuration functions ........................................ 228 IO operation functions .................................................................... 228 14.2.4 Peripheral Control functions ........................................................... 229 14.2.5 Peripheral State and Errors functions ............................................ 229 14.2.6 Initialization and Configuration functions ........................................ 229 14.2.7 IO operation functions .................................................................... 231 14.2.8 Peripheral Control functions ........................................................... 235 14.2.9 Peripheral State functions .............................................................. 237 14.3 DMA2D Firmware driver defines ................................................... 238 14.3.1 DMA2D ........................................................................................... 238 15 HAL DCMI Generic Driver ........................................................... 243 15.1 DCMI Firmware driver registers structures .................................... 243 15.1.1 DCMI_HandleTypeDef ................................................................... 243 15.1.2 DCMI_InitTypeDef .......................................................................... 243 15.1.3 DCMI_CodesInitTypeDef................................................................ 244 15.1.4 DCMI_TypeDef ............................................................................... 245 15.2 DCMI Firmware driver API description .......................................... 246 15.2.1 How to use this driver ..................................................................... 246 15.2.2 Initialization and Configuration functions ........................................ 246 IO operation functions .................................................................... 247 15.2.3 15.2.4 Peripheral Control functions ........................................................... 247 15.2.5 Peripheral State and Errors functions ............................................ 247 DocID025834 Rev 1 7/865
Contents 15.2.6 15.2.7 UM1725 Initialization and Configuration functions ........................................ 247 IO operation functions .................................................................... 249 15.2.8 Peripheral Control functions ........................................................... 251 15.2.9 Peripheral State functions .............................................................. 253 15.3 DCMI Firmware driver defines ....................................................... 253 15.3.1 DCMI............................................................................................... 253 16 HAL ETHERNET Generic Driver ................................................. 258 16.1 ETH Firmware driver registers structures ...................................... 258 16.1.1 ETH_HandleTypeDef ..................................................................... 258 16.1.2 ETH_InitTypeDef ............................................................................ 258 16.1.3 ETH_MACInitTypeDef .................................................................... 259 16.1.4 ETH_DMADescTypeDef................................................................. 262 16.1.5 ETH_DMAInitTypeDef .................................................................... 263 16.1.6 ETH_DMARxFrameInfos ................................................................ 264 16.1.7 ETH_TypeDef ................................................................................. 265 16.2 ETH Firmware driver API description ............................................ 267 16.2.1 How to use this driver ..................................................................... 267 16.2.2 Initialization and de-initialization functions ..................................... 268 16.2.3 IO operation functions .................................................................... 268 16.2.4 Peripheral Control functions ........................................................... 269 16.2.5 Peripheral State functions .............................................................. 269 16.2.6 16.2.7 Initialization and de-initialization functions ..................................... 269 IO operation functions .................................................................... 271 16.2.8 Peripheral Control functions ........................................................... 275 16.2.9 Peripheral State functions .............................................................. 276 16.3 ETH Firmware driver defines......................................................... 277 16.3.1 ETH................................................................................................. 277 17 HAL FLASH Generic Driver ......................................................... 311 17.1 FLASH Firmware driver registers structures ................................. 311 17.1.1 17.1.2 FLASH_ProcessTypeDef ............................................................... 311 FLASH_TypeDef ............................................................................ 311 17.2 FLASH Firmware driver API description ........................................ 312 17.2.1 FLASH peripheral features ............................................................. 312 17.2.2 How to use this driver ..................................................................... 312 17.2.3 Programming operation functions .................................................. 313 17.2.4 Peripheral Control functions ........................................................... 313 17.2.5 Peripheral Errors functions ............................................................. 313 8/865 DocID025834 Rev 1
分享到:
收藏