![](https://csdnimg.cn/release/download_crawler_static/21068724/bg14.jpg)
45.1.2 SPI_InitTypeDef ............................................................................. 703
45.1.3 SPI_TypeDef .................................................................................. 705
45.2 SPI Firmware driver API description ............................................. 705
45.2.1 How to use this driver ..................................................................... 705
45.2.2 Initialization and de-initialization functions ..................................... 706
45.2.3 IO operation functions .................................................................... 706
45.2.4 Peripheral State and Errors functions ............................................ 707
45.2.5 Initialization and de-initialization functions ..................................... 708
45.2.6 IO operation functions .................................................................... 709
45.2.7 Peripheral State and Errors functions ............................................ 714
45.3 SPI Firmware driver defines .......................................................... 715
45.3.1 SPI .................................................................................................. 715
46 HAL TIM Generic Driver .............................................................. 720
46.1 TIM Firmware driver registers structures ....................................... 720
46.1.1 TIM_HandleTypeDef ...................................................................... 720
46.1.2 TIM_Base_InitTypeDef ................................................................... 720
46.1.3 TIM_OC_InitTypeDef ...................................................................... 721
46.1.4 TIM_IC_InitTypeDef ....................................................................... 722
46.1.5 TIM_OnePulse_InitTypeDef ........................................................... 722
46.1.6 TIM_ClockConfigTypeDef .............................................................. 723
46.1.7 TIM_ClearInputConfigTypeDef ....................................................... 724
46.1.8 TIM_SlaveConfigTypeDef .............................................................. 724
46.1.9 TIM_Encoder_InitTypeDef ............................................................. 725
46.1.10 TIM_TypeDef .................................................................................. 726
46.2 TIM Firmware driver API description ............................................. 727
46.2.1 TIMER Generic features ................................................................. 727
46.2.2 How to use this driver ..................................................................... 728
46.2.3 Time Base functions ....................................................................... 729
46.2.4 Peripheral State functions .............................................................. 729
46.2.5 Time Output Compare functions .................................................... 729
46.2.6 Time PWM functions ...................................................................... 730
46.2.7 Time Input Capture functions ......................................................... 730
46.2.8 Time One Pulse functions .............................................................. 731
46.2.9 Time Encoder functions .................................................................. 731
46.2.10 IRQ handler management .............................................................. 731
46.2.11 Peripheral Control functions ........................................................... 732
46.2.12 TIM Callbacks functions ................................................................. 732
46.2.13 Time Base functions ....................................................................... 732