STM32固件库使用手册(中文版)_第1页
STM32固件库使用手册(中文版)_第2页
STM32固件库使用手册(中文版)_第3页
STM32固件库使用手册(中文版)_第4页
STM32固件库使用手册(中文版)_第5页
已阅读5页,还剩112页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 32位基于ARM微控制器STM32F101xx与STM32F103xx固件函数库介绍本手册介绍了32位基于ARM微控制器STM32F101xx与STM32F103xx的固件函数库。该函数库是一个固件函数包,它由程序、数据结构和宏组成,包括了微控制器所有外设的性能特征。该函数库还包括每一个外设的驱动描述和应用实例。通过使用本固件函数库,无需深入掌握细节,用户也可以轻松应用每一个外设。因此,使用本固态函数库可以大大减少用户的程序编写时间,进而降低开发成本。每个外设驱动都由一组函数组成,这组函数覆盖了该外设所有功能。每个器件的开发都由一个通用API (application programming

2、 interface 应用编程界面驱动,API对该驱动程序的结构,函数和参数名称都进行了标准化。所有的驱动源代码都符合“Strict ANSI-C”标准(项目于范例文件符合扩充ANSI-C标准。我们已经把驱动源代码文档化,他们同时兼容MISRA-C 2004标准(根据需要,我们可以提供兼容矩阵。由于整个固态函数库按照“Strict ANSI-C”标准编写,它不受不同开发环境的影响。仅对话启动文件取决于开发环境。该固态函数库通过校验所有库函数的输入值来实现实时错误检测。该动态校验提高了软件的鲁棒性。实时检测适合于用户应用程序的开发和调试。但这会增加了成本,可以在最终应用程序代码中移去,以优化代码

3、大小和执行速度。想要了解更多细节,请参阅Section 2.5。因为该固件库是通用的,并且包括了所有外设的功能,所以应用程序代码的大小和执行速度可能不是最优的。对大多数应用程序来说,用户可以直接使用之,对于那些在代码大小和执行速度方面有严格要求的应用程序,该固件库驱动程序可以作为如何设置外设的一份参考资料,根据实际需求对其进行调整。此份固件库用户手册的整体架构如下:定义,文档约定和固态函数库规则。固态函数库概述(包的内容,库的架构,安装指南,库使用实例。固件库具体描述:设置架构和每个外设的函数。STM32F101xx和STM32F103xx在整个文档中被写作STM32F101x。目录1.1 缩

4、写 (271.2 命名规则 (271.3 编码规则 (281.3.1变量 (281.3.2布尔型 (281.3.3 标志位状态类型 (291.3.4 功能状态类型 (291.3.5 错误状态类型 (291.3.6 外设 (292.1 压缩包描述 (322.1.1 文件夹Examples (322.1.2 文件夹Library (322.1.3 文件夹Project (332.2 固件函数库文件描述 (332.3 外设的初始化和设置 (342.4 位段(Bit-Banding (352.4.1 映射公式 (352.4.2 应用实例 (352.5 运行时间检测 (364.1 ADC寄存器结构 (3

5、94.2 ADC库函数 (404.2.1 函数ADC_DeInit (424.2.2 函数ADC_Init (424.2.3 函数ADC_StructInit (444.2.4 函数ADC_Cmd (444.2.5 函数ADC_DMACmd (454.2.6 函数ADC_ITConfig (454.2.7 函数ADC_ResetCalibration (464.2.8 函数ADC_GetResetCalibrationStatus (464.2.9 函数ADC_StartCalibration (464.2.10 函数ADC_GetCalibrationStatus (474.2.11 函数A

6、DC_SoftwareStartConvCmd (474.2.12 函数ADC_GetSoftwareStartConvStatus (484.2.13 函数ADC_DiscModeChannelCountConfig (484.2.14 函数ADC_DiscModeCmd (494.2.15 函数ADC_RegularChannelConfig (494.2.16 函数ADC_ExternalTrigConvConfig (514.2.17 函数ADC_GetConversionValue (514.2.18 函数ADC_GetDuelModeConversionValue (524.2.1

7、9 函数ADC_AutoInjectedConvCmd (524.2.20 函数ADC_InjectedDiscModeCmd (534.2.21 函数ADC_ExternalTrigInjectedConvConfig (534.2.22 函数ADC_ExternalTrigInjectedConvCmd (544.2.23 函数ADC_SoftwareStartinjectedConvCmd (544.2.24 函数ADC_GetsoftwareStartinjectedConvStatus (554.2.25 函数ADC_InjectedChannleConfig (554.2.26 函

8、数ADC_InjectedSequencerLengthConfig (564.2.27 函数ADC_SetinjectedOffset (564.2.28 函数ADC_GetInjectedConversionValue (574.2.30 函数ADC_AnalogWatchdongThresholdsConfig (584.2.31 函数ADC_AnalogWatchdongSingleChannelConfig (584.2.32 函数ADC_TampSensorVrefintCmd (594.2.33 函数ADC_GetFlagStatus (594.2.34 函数ADC_ClearF

9、lag (604.2.35 函数ADC_GetITStatus (604.2.36 函数ADC_ClearITPendingBit (615.1 BKP寄存器结构 (625.2 BKP库函数 (635.2.1 函数BKP_DeInit (645.2.2 函数BKP_TamperPinLevelConfig (645.2.3 函数BKP_TamperPinCmd (655.2.4 函数BKP_ITConfig (655.2.5 函数BKP_RTCOutputConfig (665.2.6 函数BKP_SetRTCCalibrationValue (665.2.7 函数BKP_WriteBacku

10、pRegister (675.2.8 函数BKP_ReadBackupRegister (675.2.9 函数BKP_GetFlagStatus (685.2.10 函数BKP_ClearFlag (685.2.11 函数BKP_GetITStatus (695.2.12 函数BKP_ClearITPendingBit (696.1 CAN寄存器结构 (706.2 CAN库函数 (726.2.1 函数CAN_DeInit (726.2.2 函数CAN_Init (736.2.3 函数CAN_FilterInit (756.2.4 函数CAN_StructInit (766.2.5 函数CAN_

11、ITConfig (776.2.6 函数CAN_Transmit (786.2.7 函数CAN_TransmitStatus (796.2.8 函数CAN_CancelTransmit (796.2.9 函数CAN_FIFORelease (806.2.10 函数CAN_MessagePending (806.2.11 函数CAN_Receive (816.2.12 函数CAN_Sleep (826.2.13 函数CAN_WakeUp (826.2.14 函数CAN_GetFlagStatus (836.2.15 函数CAN_ClearFlag (836.2.16 函数CAN_GetITSta

12、tus (846.2.17 函数CAN_ClearITPendingBit (857.1 DMA寄存器结构 (867.2 DMA库函数 (887.2.1 函数DMA_DeInit (897.2.2 函数DMA_Init (897.2.3 函数DMA_StructInit (927.2.4 函数DMA_Cmd (927.2.5 函数DMA_ITConfig (937.2.6 函数DMA_GetCurrDataCounte (937.2.7 函数DMA_GetFlagStatus (947.2.8 函数DMA_ClearFlag (957.2.9 函数DMA_GetITStatus (957.2.

13、10 函数DMA_ClearITPendingBit (968.2.1 函数EXTI_DeInit (988.2.2 函数EXTI_Init (998.2.3 函数EXTI_StructInit (1008.2.4 函数EXTI_GenerateSWInterrupt (1018.2.5 函数EXTI_GetFlagStatus (1018.2.6 函数EXTI_ClearFlag (1028.2.7 函数EXTI_GetITStatus (1028.2.8 函数EXTI_ClearITPendingBit (1039.1 FLASH寄存器结构 (1049.2 FLASH库函数 (1059.2

14、.1 函数FLASH_SetLatency (1069.2.2 函数FLASH_HalfCycleAccessCmd (1079.2.3 函数FLASH_PrefetchBufferCmd (1079.2.4 函数FLASH_Unlock (1089.2.5 函数FLASH_Lock (1089.2.6 函数FLASH_ErasePage (1099.2.7 函数FLASH_EraseAllPages (1099.2.8 函数FLASH_EraseOptionBytes (1109.2.9 函数FLASH_ProgramWord (1109.2.10 函数FLASH_ProgramHalfWo

15、rd (1119.2.11 函数FLASH_ProgramOptionByteData (1119.2.12 函数FLASH_EnableWriteProtection (1129.2.13 函数FLASH_ReadOutProtection (1139.2.14 函数FLASH_UserOptionByteConfig (1149.2.15 函数FLASH_GetUserOptionByte (1159.2.16 函数FLASH_GetWriteProtectionOptionByte (1159.2.17 函数FLASH_GetReadOutProtectionStatus (1169.2

16、.18 函数FLASH_GetPrefetchBufferStatus (1169.2.19 函数FLASH_ITConfig (1179.2.20 函数FLASH_GetFlagStatus (1179.2.21 函数FLASH_ClearFlag (1189.2.22 函数FLASH_GetStatus (1199.2.23 函数FLASH_WaitForLastOperation (11910.1 GPIO寄存器结构 (12010.2 GPIO库函数 (12210.2.1 函数GPIO_DeInit (12310.2.2 函数GPIO_AFIODeInit (12310.2.3 函数GP

17、IO_Init (12410.2.4 函数GPIO_StructInit (12610.2.5 函数GPIO_ReadInputDataBit (12610.2.6 函数GPIO_ReadInputData (12710.2.7 函数GPIO_ReadOutputDataBit (12710.2.8 函数GPIO_ReadOutputData (12810.2.9 函数GPIO_SetBits (12810.2.10 函数GPIO_ResetBits (12910.2.11 函数GPIO_WriteBit (12910.2.12 函数GPIO_Write (13010.2.13 函数GPIO_

18、PinLockConfig (13010.2.14 函数GPIO_EventOutputConfig (13110.2.15 函数GPIO_EventOutputCmd (13110.2.16 函数GPIO_PinRemapConfig (13211.2 I2C库函数 (13511.2.1 函数I2C_DeInit (13611.2.2 函数I2C_ Init (13711.2.3 函数I2C_ StructInit (13811.2.4 函数I2C_ Cmd (13911.2.5 函数I2C_ DMACmd (13911.2.6 函数I2C_ DMALastTransferCmd (1401

19、1.2.7 函数I2C_ GenerateSTART (14011.2.8 函数I2C_ GenerateSTOP (14111.2.9 函数I2C_ AcknowledgeConfig (14111.2.10 函数I2C_ OwnAddress2Config (14211.2.11 函数I2C_ DualAddressCmd (14211.2.12 函数I2C_ GeneralCallCmd (14311.2.13 函数I2C_ ITConfig (14311.2.14 函数I2C_ SendData (14411.2.15 函数I2C_ ReceiveData (14411.2.16 函数

20、I2C_ Send7bitAddress (14511.2.17 函数I2C_ ReadRegister (14511.2.18 函数I2C_ SoftwareResetCmd (14611.2.19 函数I2C_ SMBusAlertConfig (14711.2.20 函数I2C_ TransmitPEC (14711.2.21 函数I2C_ PECPositionConfig (14811.2.22 函数I2C_ CalculatePEC (14811.2.23 函数I2C_ GetPEC (14911.2.24 函数I2C_ ARPCmd (14911.2.25 函数I2C_ Stre

21、tchClockCmd (15011.2.26 函数I2C_ FastModeDutyCycleConfig (15011.2.27 函数I2C_ GetLastEvent (15111.2.29 函数I2C_ GetFlagStatus (15211.2.30 函数I2C_ ClearFlag (15311.2.31 函数I2C_ GetITStatus (15411.2.32 函数I2C_ ClearITPendingBit (15512.1 IWDG寄存器结构 (15612.2 IWDG库函数 (15712.2.1 函数IWDG_WriteAccessCmd (15712.2.2 函数I

22、WDG_SetPrescaler (15812.2.3 函数IWDG_SetReload (15812.2.4 函数IWDG_ReloadCounter (15912.2.5 函数IWDG_Enable (15912.2.6 函数IWDG_GetFlagStatus (15913.1 NVIC寄存器结构 (16113.2 NVIC库函数 (16313.2.1 函数NVIC_DeInit (16413.2.2 函数NVIC_SCBDeInit (16413.2.3 函数NVIC_PriorityGroupConfig (16513.2.4 函数NVIC_Init (16613.2.5 函数NVI

23、C_StructInit (16813.2.6 函数NVIC_SETPRIMASK (16913.2.7 函数NVIC_RESETPRIMASK (16913.2.8 函数NVIC_SETFAULTMASK (17013.2.9 函数NVIC_RESETFAULTMASK (17013.2.12 函数NVIC_GetCurrentPendingIRQChannel (17213.2.13 函数NVIC_GetIRQChannelPendingBitStatus (17213.2.14 函数NVIC_SetIRQChannelPendingBit (17313.2.15 函数NVIC_Clear

24、IRQChannelPendingBit (17313.2.16 函数NVIC_GetCurrentActiveHandler (17413.2.17 函数NVIC_GetIRQChannelActiveBitStatus (17413.2.18 函数NVIC_GetCPUID (17513.2.19 函数NVIC_SetVectorTable (17513.2.20 函数NVIC_GenerateSystemReset (17613.2.21 函数NVIC_GenerateCoreReset (17613.2.22 函数NVIC_SystemLPConfig (17713.2.23 函数NV

25、IC_SystemHandlerConfig (17713.2.24 函数NVIC_SystemHandlerPriorityConfig (18213.2.25 函数NVIC_GetSystemHandlerPendingBitStatus (18313.2.26 函数NVIC_SetSystemHandlerPendingBit (18313.2.27 函数NVIC_ClearSystemHandlerPendingBit (18413.2.28 函数NVIC_GetSystemHandlerActiveBitStatus (18413.2.29 函数NVIC_GetFaultHandle

26、rSources (18513.2.30 函数NVIC_GetFaultAddress (18614.1 PWR寄存器结构 (18714.2 PWR库函数 (18814.2.1 函数PWR_DeInit (18814.2.2 函数PWR_BackupAccessCmd (18914.2.3 函数PWR_PVDCmd (18914.2.4 函数PWR_PVDLevelConfig (19014.2.5 函数PWR_WakeUpPinCmd (19014.2.6 函数PWR_EnterSTOPMode (19114.2.7 函数PWR_EnterSTANDBYMode (19114.2.8 函数P

27、WR_GetFlagStatus (19214.2.9 函数PWR_ClearFlag (19215.1 RCC寄存器结构 (19315.2 RCC库函数 (19415.2.1 函数RCC_DeInit (19515.2.2 函数RCC_HSEConfig (19515.2.3 函数RCC_WaitForHSEStartUp (19615.2.4 函数RCC_AdjustHSICalibrationValue (19615.2.5 函数RCC_HSICmd (19715.2.6 函数RCC_PLLConfig (19715.2.7 函数RCC_PLLCmd (19815.2.8 函数RCC_S

28、YSCLKConfig (19915.2.9 函数RCC_GetSYSCLKSource (19915.2.10 函数RCC_HCLKConfig (20015.2.11 函数RCC_PCLK1Config (20015.2.12 函数RCC_PCLK2Config (20115.2.13 函数RCC_ITConfig (20215.2.14 函数RCC_USBCLKConfig (20215.2.15 函数RCC_ADCCLKConfig (20315.2.16 函数RCC_LSEConfig (20415.2.17 函数RCC_LSICmd (20415.2.18 函数RCC_RTCCLK

29、Config (20515.2.19 函数RCC_RTCCLKCmd (20515.2.23 函数RCC_APB1PeriphClockCmd (20815.2.24 函数RCC_APB2PeriphResetCmd (20915.2.25 函数RCC_APB1PeriphResetCmd (20915.2.26 函数RCC_BackupResetCmd (21015.2.27 函数RCC_ClockSecuritySystemCmd (21015.2.28 函数RCC_MCOConfig (21015.2.29 函数RCC_GetFlagStatus (21115.2.30 函数RCC_Cl

30、earFlag (21215.2.31 函数RCC_GetITStatus (21215.2.32 函数RCC_ClearITPendingBit (21316.1 RTC寄存器结构 (21416.2 RTC库函数 (21516.2.1 函数RTC_ITConfig (21616.2.2 函数RTC_EnterConfigMode (21616.2.3 函数RTC_ExitConfigMode (21716.2.4 函数RTC_GetCounter (21716.2.5 函数RTC_SetCounter (21816.2.6 函数RTC_SetPrescaler (21816.2.7 函数RT

31、C_SetAlarm (21916.2.8 函数RTC_GetDivider (21916.2.9 函数RTC_WaitForLastTask (22016.2.10 函数RTC_WaitForSynchro (22016.2.11 函数RTC_GetFlagStatus (22116.2.12 函数RTC_ClearFlag (22116.2.13 函数RTC_GetITStatus (22216.2.14 函数RTC_ClearITPendingBit (22217.1 SPI寄存器结构 (22317.2 SPI库函数 (22417.2.1 函数SPI_DeInit (22517.2.2

32、函数SPI_Init (22517.2.3 函数SPI_StructInit (22717.2.4 函数SPI_Cmd (22817.2.5 函数SPI_ITConfig (22817.2.6 函数SPI_DMACmd (22917.2.7 函数SPI_SendData (22917.2.8 函数SPI_ReceiveData (23017.2.9 函数SPI_NSSInternalSoftwareConfig (23017.2.10 函数SPI_SSOutputCmd (23117.2.11 函数SPI_DataSizeConfig (23117.2.12 函数SPI_TransmitCRC

33、 (23217.2.13 函数SPI_CalculateCRC (23217.2.14 函数SPI_GetCRC (23317.2.15 函数SPI_GetCRCPolynomial (23317.2.16 函数SPI_BiDirectionalLineConfig (23417.2.17 函数SPI_GetFlagStatus (23417.2.18 函数SPI_ClearFlag (23517.2.19 函数SPI_GetITStatus (23517.2.20 函数SPI_ClearITPendingBit (23618.1 SysTick寄存器结构 (23718.2 SysTick库函

34、数 (23818.2.4 函数SysTick_ITConfig (24018.2.5 函数SysTick_GetCounter (24018.2.6 函数SysTick_GetFlagStatus (24119.1 TIM寄存器结构 (24219.2 TIM库函数 (24419.2.1 函数TIM_DeInit (24619.2.2 函数TIM_TimeBaseInit (24619.2.3 函数TIM_OCInit (24719.2.4 函数TIM_ICInit (24919.2.5 函数TIM_TimeBaseStructInit (25119.2.6 函数TIM_OCStructInit

35、 (25119.2.7 函数TIM_ICStructInit (25219.2.8 函数TIM_Cmd (25219.2.9 函数TIM _ITConfig (25319.2.10 函数TIM_DMAConfig (25319.2.11 函数TIM_DMACmd (25519.2.12 函数TIM_InternalClockConfig (25519.2.13 函数TIM_ITRxExternalClockConfig (25619.2.14 函数TIM_TIxExternalClockConfig (25619.2.15 函数TIM_ETRClockMode1Config (25719.2.

36、16 函数TIM_ETRClockMode2Config (25819.2.17 函数TIM_ETRConfig (25819.2.18 函数TIM_SelectInputTrigger (25919.2.19 函数TIM_PrescalerConfig (26019.2.20 函数TIM_CounterModeConfig (26019.2.21 函数TIM_ForcedOC1Config (26119.2.22 函数TIM_ForcedOC2Config (26119.2.23 函数TIM_ForcedOC3Config (26219.2.24 函数TIM_ForcedOC4Config

37、(26219.2.25 函数TIM_ARRPreloadConfig (26319.2.26 函数TIM_SelectCCDMA (26319.2.27 函数TIM_OC1PreloadConfig (26419.2.28 函数TIM_OC2PreloadConfig (26419.2.29 函数TIM_OC3PreloadConfig (26519.2.30 函数TIM_OC4PreloadConfig (26519.2.31 函数TIM_OC1FastConfig (26619.2.32 函数TIM_OC2FastConfig (26619.2.33 函数TIM_OC3FastConfig

38、 (26719.2.34 函数TIM_OC4FastConfig (26719.2.35 函数TIM_ClearOC1Ref (26819.2.36 函数TIM_ClearOC2Ref (26819.2.37 函数TIM_ClearOC3Ref (26919.2.38 函数TIM_ClearOC4Ref (26919.2.39 函数TIM_UpdateDisableConfig (27019.2.40 函数TIM_EncoderInterfaceConfig (27019.2.41 函数TIM_GenerateEvent (27119.2.42 函数TIM_OC1PolarityConfig

39、(27119.2.43 函数TIM_OC2PolarityConfig (27219.2.44 函数TIM_OC3PolarityConfig (27219.2.45 函数TIM_OC4PolarityConfig (27319.2.49 函数TIM_SelectOutputTrigger (27519.2.50 函数TIM_SelectSlaveMode (27619.2.51 函数TIM_SelectMasterSlaveMode (27719.2.52 函数TIM_SetCounter (27719.2.53 函数TIM_SetAutoreload (27819.2.54 函数TIM_S

40、etCompare1 (27819.2.55 函数TIM_SetCompare2 (27919.2.56 函数TIM_SetCompare3 (27919.2.57 函数TIM_SetCompare4 (28019.2.58 函数TIM_SetIC1Prescaler (28019.2.59 函数TIM_SetIC2Prescaler (28119.2.60 函数TIM_SetIC3Prescaler (28119.2.61 函数TIM_SetIC4Prescaler (28219.2.62 函数TIM_SetClockDivision (28219.2.63 函数TIM_GetCapture

41、1 (28319.2.64 函数TIM_GetCapture2 (28319.2.65 函数TIM_GetCapture3 (28319.2.66 函数TIM_GetCapture4 (28419.2.67 函数TIM_GetCounter (28419.2.68 函数TIM_GetPrescaler (28519.2.69 函数TIM_GetFlagStatus (28519.2.70 函数TIM_ClearFlag (28619.2.71 函数TIM_GetITStatus (28619.2.72 函数TIM_ClearITPendingBit (28720.1 TIM1寄存器结构 (28

42、820.2 TIM1库函数 (29020.2.1 函数TIM1_DeInit (29220.2.2 函数TIM1_TIM1BaseInit (29220.2.3 函数TIM1_OC1Init (29420.2.4 函数TIM1_OC2Init (29620.2.5 函数TIM1_OC3Init (29620.2.6 函数TIM1_OC4Init (29720.2.7 函数TIM1_BDTRConfig (29720.2.8 函数TIM1_ICInit (29920.2.9 函数TIM1_PWMIConfig (30020.2.10 函数TIM1_TimeBaseStructInit (3012

43、0.2.11 函数TIM1_OCStructInit (30120.2.12 函数TIM1_ICStructInit (30220.2.13 函数TIM1_BDTRStructInit (30320.2.14 函数TIM1_Cmd (30320.2.15 函数TIM1_CtrlPWMOutputs (30420.2.16 函数TIM1_ITConfig (30420.2.17 函数TIM1_DMAConfig (30520.2.18 函数TIM1_DMACmd (30620.2.19 函数TIM1_InternalClockConfig (30720.2.20 函数TIM1_ETRClockM

44、ode1Config (30720.2.21 函数TIM1_ETRClockMode2Config (30820.2.22 函数TIM1_ETRConfig (30920.2.23 函数TIM1_ITRxExternalClockConfig (30920.2.24 函数TIM1_TIxExternalClockConfig (31020.2.28 函数TIM1_SelectHallSensor (31220.2.29 函数TIM1_SelectOnePulseMode (31220.2.30 函数TIM1_SelectOutputTrigger (31320.2.31 函数TIM1_Sele

45、ctSlaveMode (31320.2.32 函数TIM1_SelectMasterSlaveMode (31420.2.33 函数TIM1_EncoderInterfaceConfig (31520.2.34 函数TIM1_PrescalerConfig (31520.2.35 函数TIM1_CounterModeConfig (31620.2.36 函数TIM1_ForcedOC1Config (31620.2.37 函数TIM1_ForcedOC2Config (31720.2.38 函数TIM1_ForcedOC3Config (31720.2.39 函数TIM1_ForcedOC4

46、Config (31820.2.40 函数TIM1_ARRPreloadConfig (31820.2.41 函数TIM1_SelectCOM (31920.2.42 函数TIM1_SelectCCDMA (31920.2.43 函数TIM1_CCPreloadControl (32020.2.44 函数TIM1_OC1PreloadConfig (32020.2.45 函数TIM1_OC2PreloadConfig (32120.2.46 函数TIM1_OC3PreloadConfig (32120.2.47 函数TIM1_OC4PreloadConfig (32220.2.48 函数TIM

47、1_OC1FastConfig (32220.2.49 函数TIM1_OC2FastConfig (32320.2.50 函数TIM1_OC3FastConfig (32320.2.51 函数TIM1_OC4FastConfig (32420.2.52 函数TIM1_ClearOC1Ref (32420.2.53 函数TIM1_ClearOC2Ref (32520.2.54 函数TIM1_ClearOC3Ref (32520.2.55 函数TIM1_ClearOC4Ref (32620.2.56 函数TIM1_GenerateEvent (32620.2.57 函数TIM1_OC1Polari

48、tyConfig (32720.2.58 函数TIM1_OC1NPolarityConfig (32720.2.59 函数TIM1_OC2PolarityConfig (32820.2.60 函数TIM1_OC2NPolarityConfig (32820.2.61 函数TIM1_OC3PolarityConfig (32920.2.62 函数TIM1_OC3NPolarityConfig (32920.2.63 函数TIM1_OC4PolarityConfig (33020.2.64 函数TIM1_CCxCmd (33020.2.65 函数TIM1_CCxNCmd (33120.2.66 函

49、数TIM1_SelectOCxM (33120.2.67 函数TIM1_SetCounter (33220.2.68 函数TIM1_SetAutoreload (33220.2.69 函数TIM1_SetCompare1 (33320.2.70 函数TIM1_SetCompare2 (33320.2.71 函数TIM1_SetCompare3 (33420.2.72 函数TIM1_SetCompare4 (33420.2.73 函数TIM1_SetIC1Prescaler (33520.2.74 函数TIM1_SetIC2Prescaler (33520.2.75 函数TIM1_SetIC3P

50、rescaler (33620.2.76 函数TIM1_SetIC4Prescaler (33620.2.77 函数TIM1_SetClockDivision (337目录20.2.79 函数TIM1_GetCapture2 (33820.2.80 函数TIM1_GetCapture3 (33820.2.81 函数TIM1_GetCapture4 (33820.2.82 函数TIM1_GetCounter (33920.2.83 函数TIM1_GetPrescaler (33920.2.84 函数TIM1_GetFlagStatus (34020.2.85 函数TIM1_ClearFlag (

51、34120.2.86 函数TIM1_GetITStatus (34120.2.87 函数TIM1_ClearITPendingBit (34221.1 USART寄存器结构 (34321.2 USART库函数 (34421.2.1 函数USART_DeInit (34521.2.2 函数USART_Init (34621.2.3 函数USART_StructInit (34921.2.4 函数USART_Cmd (34921.2.5 函数USART_ITConfig (35021.2.6 函数USART_DMACmd (35121.2.7 函数USART_SetAddress (35121.2

52、.8 函数USART_WakeUpConfig (35221.2.9 函数USART_ReceiverWakeUpCmd (35221.2.10 函数USART_LINBreakDetectiLengthConfig (35321.2.11 函数USART_LINCmd (35321.2.12 函数USART_SendData (35421.2.13 函数USART_ReceiveData (35421.2.14 函数USART_SendBreak (35521.2.15 函数USART_SetGuardTime (35521.2.16 函数USART_SetPrescaler (35621.

53、2.17 函数USART_SmartCardCmd (35621.2.18 函数USART_SmartCardNackCmd (35721.2.19 函数USART_HalfDuplexCmd (35721.2.20 函数USART_IrDAConfig (35821.2.21 函数USART_IrDACmd (35821.2.22 函数USART_GetFlagStatus (35921.2.23 函数USART_ClearFlag (36021.2.24 函数USART_GetITStatus (36021.2.25 函数USART_ClearITPendingBit (36122.1 W

54、WDG寄存器结构 (36222.2 WWDG库函数 (36322.1.1 函数WWDG_DeInit (36322.1.2 函数WWDG_SetPrescaler (36322.1.3 函数WWDG_SetWindowValue (36422.1.4 函数WWDG_EnableIT (36422.1.5 函数WWDG_SetCounter (36522.1.6 函数WWDG_Enable (36522.1.7 函数WWDG_GetFlagStatus (36622.1.8 函数WWDG_ClearFlag (366表格目录Table 1. 本文档所有缩写定义 (27Table 2. 固件函数库

55、文件描述 (33Table 3. 函数描述格式 (38Table 4. ADC 寄存器 (39Table 5. ADC固件库函数 (40Table 6 .函数ADC_DeInit (42Table 7. 函数ADC_Init (42Table 8. 函数ADC_Mode 定义 (43Table 9. ADC_ExternalTrigConv定义表 (43Table 10. ADC_DataAlign定义表 (43Table 11. 函数ADC_StructInit (44Table 12. ADC_InitStruct缺省值 (44Table 13. 函数ADC_Cmd (44Table 14

56、. 函数ADC_DMACmd (45Table 15. 函数ADC_ITConfig (45Table 16. ADC_IT定义表 (45Table 17. 函数ADC_ResetCalibration (46Table 18. 函数ADC_ GetResetCalibrationStatus (46Table 19. 函数ADC_StartCalibration (46Table 20. 函数ADC_GetCalibrationStatus (47Table 21. 函数ADC_SoftwareStartConvCmd (47Table 22. 函数ADC_GetSoftwareStartConvStatus (48Table 23. 函数ADC_DiscModeChannelCountConfig (48Table 24. 函数ADC_DiscModeCmd (49Table 25. 函数ADC_RegularChannelConfig (

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论