版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、 32位基于ARM微控制器STM32F101xx與STM32F103xx固件函數(shù)庫介紹本手冊介紹了32位基于ARM微控制器STM32F101xx與STM32F103xx的固件函數(shù)庫。該函數(shù)庫是一個固件函數(shù)包,它由程序、數(shù)據(jù)結(jié)構(gòu)和宏組成,包括了微控制器所有外設(shè)的性能特征。該函數(shù)庫還包括每一個外設(shè)的驅(qū)動描述和應(yīng)用實例。通過使用本固件函數(shù)庫,無需深入掌握細(xì)節(jié),用戶也可以輕松應(yīng)用每一個外設(shè)。因此,使用本固態(tài)函數(shù)庫可以大大減少用戶的程序編寫時間,進(jìn)而降低開發(fā)成本。每個外設(shè)驅(qū)動都由一組函數(shù)組成,這組函數(shù)覆蓋了該外設(shè)所有功能。每個器件的開發(fā)都由一個通用API (application programming
2、 interface 應(yīng)用編程界面驅(qū)動,API對該驅(qū)動程序的結(jié)構(gòu),函數(shù)和參數(shù)名稱都進(jìn)行了標(biāo)準(zhǔn)化。所有的驅(qū)動源代碼都符合“Strict ANSI-C”標(biāo)準(zhǔn)(項目于范例文件符合擴(kuò)充ANSI-C標(biāo)準(zhǔn)。我們已經(jīng)把驅(qū)動源代碼文檔化,他們同時兼容MISRA-C 2004標(biāo)準(zhǔn)(根據(jù)需要,我們可以提供兼容矩陣。由于整個固態(tài)函數(shù)庫按照“Strict ANSI-C”標(biāo)準(zhǔn)編寫,它不受不同開發(fā)環(huán)境的影響。僅對話啟動文件取決于開發(fā)環(huán)境。該固態(tài)函數(shù)庫通過校驗所有庫函數(shù)的輸入值來實現(xiàn)實時錯誤檢測。該動態(tài)校驗提高了軟件的魯棒性。實時檢測適合于用戶應(yīng)用程序的開發(fā)和調(diào)試。但這會增加了成本,可以在最終應(yīng)用程序代碼中移去,以優(yōu)化代碼
3、大小和執(zhí)行速度。想要了解更多細(xì)節(jié),請參閱Section 2.5。因為該固件庫是通用的,并且包括了所有外設(shè)的功能,所以應(yīng)用程序代碼的大小和執(zhí)行速度可能不是最優(yōu)的。對大多數(shù)應(yīng)用程序來說,用戶可以直接使用之,對于那些在代碼大小和執(zhí)行速度方面有嚴(yán)格要求的應(yīng)用程序,該固件庫驅(qū)動程序可以作為如何設(shè)置外設(shè)的一份參考資料,根據(jù)實際需求對其進(jìn)行調(diào)整。此份固件庫用戶手冊的整體架構(gòu)如下:定義,文檔約定和固態(tài)函數(shù)庫規(guī)則。固態(tài)函數(shù)庫概述(包的內(nèi)容,庫的架構(gòu),安裝指南,庫使用實例。固件庫具體描述:設(shè)置架構(gòu)和每個外設(shè)的函數(shù)。STM32F101xx和STM32F103xx在整個文檔中被寫作STM32F101x。目錄1.1 縮
4、寫 (271.2 命名規(guī)則 (271.3 編碼規(guī)則 (281.3.1變量 (281.3.2布爾型 (281.3.3 標(biāo)志位狀態(tài)類型 (291.3.4 功能狀態(tài)類型 (291.3.5 錯誤狀態(tài)類型 (291.3.6 外設(shè) (292.1 壓縮包描述 (322.1.1 文件夾Examples (322.1.2 文件夾Library (322.1.3 文件夾Project (332.2 固件函數(shù)庫文件描述 (332.3 外設(shè)的初始化和設(shè)置 (342.4 位段(Bit-Banding (352.4.1 映射公式 (352.4.2 應(yīng)用實例 (352.5 運(yùn)行時間檢測 (364.1 ADC寄存器結(jié)構(gòu) (3
5、94.2 ADC庫函數(shù) (404.2.1 函數(shù)ADC_DeInit (424.2.2 函數(shù)ADC_Init (424.2.3 函數(shù)ADC_StructInit (444.2.4 函數(shù)ADC_Cmd (444.2.5 函數(shù)ADC_DMACmd (454.2.6 函數(shù)ADC_ITConfig (454.2.7 函數(shù)ADC_ResetCalibration (464.2.8 函數(shù)ADC_GetResetCalibrationStatus (464.2.9 函數(shù)ADC_StartCalibration (464.2.10 函數(shù)ADC_GetCalibrationStatus (474.2.11 函數(shù)A
6、DC_SoftwareStartConvCmd (474.2.12 函數(shù)ADC_GetSoftwareStartConvStatus (484.2.13 函數(shù)ADC_DiscModeChannelCountConfig (484.2.14 函數(shù)ADC_DiscModeCmd (494.2.15 函數(shù)ADC_RegularChannelConfig (494.2.16 函數(shù)ADC_ExternalTrigConvConfig (514.2.17 函數(shù)ADC_GetConversionValue (514.2.18 函數(shù)ADC_GetDuelModeConversionValue (524.2.1
7、9 函數(shù)ADC_AutoInjectedConvCmd (524.2.20 函數(shù)ADC_InjectedDiscModeCmd (534.2.21 函數(shù)ADC_ExternalTrigInjectedConvConfig (534.2.22 函數(shù)ADC_ExternalTrigInjectedConvCmd (544.2.23 函數(shù)ADC_SoftwareStartinjectedConvCmd (544.2.24 函數(shù)ADC_GetsoftwareStartinjectedConvStatus (554.2.25 函數(shù)ADC_InjectedChannleConfig (554.2.26 函
8、數(shù)ADC_InjectedSequencerLengthConfig (564.2.27 函數(shù)ADC_SetinjectedOffset (564.2.28 函數(shù)ADC_GetInjectedConversionValue (574.2.30 函數(shù)ADC_AnalogWatchdongThresholdsConfig (584.2.31 函數(shù)ADC_AnalogWatchdongSingleChannelConfig (584.2.32 函數(shù)ADC_TampSensorVrefintCmd (594.2.33 函數(shù)ADC_GetFlagStatus (594.2.34 函數(shù)ADC_ClearF
9、lag (604.2.35 函數(shù)ADC_GetITStatus (604.2.36 函數(shù)ADC_ClearITPendingBit (615.1 BKP寄存器結(jié)構(gòu) (625.2 BKP庫函數(shù) (635.2.1 函數(shù)BKP_DeInit (645.2.2 函數(shù)BKP_TamperPinLevelConfig (645.2.3 函數(shù)BKP_TamperPinCmd (655.2.4 函數(shù)BKP_ITConfig (655.2.5 函數(shù)BKP_RTCOutputConfig (665.2.6 函數(shù)BKP_SetRTCCalibrationValue (665.2.7 函數(shù)BKP_WriteBacku
10、pRegister (675.2.8 函數(shù)BKP_ReadBackupRegister (675.2.9 函數(shù)BKP_GetFlagStatus (685.2.10 函數(shù)BKP_ClearFlag (685.2.11 函數(shù)BKP_GetITStatus (695.2.12 函數(shù)BKP_ClearITPendingBit (696.1 CAN寄存器結(jié)構(gòu) (706.2 CAN庫函數(shù) (726.2.1 函數(shù)CAN_DeInit (726.2.2 函數(shù)CAN_Init (736.2.3 函數(shù)CAN_FilterInit (756.2.4 函數(shù)CAN_StructInit (766.2.5 函數(shù)CAN_
11、ITConfig (776.2.6 函數(shù)CAN_Transmit (786.2.7 函數(shù)CAN_TransmitStatus (796.2.8 函數(shù)CAN_CancelTransmit (796.2.9 函數(shù)CAN_FIFORelease (806.2.10 函數(shù)CAN_MessagePending (806.2.11 函數(shù)CAN_Receive (816.2.12 函數(shù)CAN_Sleep (826.2.13 函數(shù)CAN_WakeUp (826.2.14 函數(shù)CAN_GetFlagStatus (836.2.15 函數(shù)CAN_ClearFlag (836.2.16 函數(shù)CAN_GetITSta
12、tus (846.2.17 函數(shù)CAN_ClearITPendingBit (857.1 DMA寄存器結(jié)構(gòu) (867.2 DMA庫函數(shù) (887.2.1 函數(shù)DMA_DeInit (897.2.2 函數(shù)DMA_Init (897.2.3 函數(shù)DMA_StructInit (927.2.4 函數(shù)DMA_Cmd (927.2.5 函數(shù)DMA_ITConfig (937.2.6 函數(shù)DMA_GetCurrDataCounte (937.2.7 函數(shù)DMA_GetFlagStatus (947.2.8 函數(shù)DMA_ClearFlag (957.2.9 函數(shù)DMA_GetITStatus (957.2.
13、10 函數(shù)DMA_ClearITPendingBit (968.2.1 函數(shù)EXTI_DeInit (988.2.2 函數(shù)EXTI_Init (998.2.3 函數(shù)EXTI_StructInit (1008.2.4 函數(shù)EXTI_GenerateSWInterrupt (1018.2.5 函數(shù)EXTI_GetFlagStatus (1018.2.6 函數(shù)EXTI_ClearFlag (1028.2.7 函數(shù)EXTI_GetITStatus (1028.2.8 函數(shù)EXTI_ClearITPendingBit (1039.1 FLASH寄存器結(jié)構(gòu) (1049.2 FLASH庫函數(shù) (1059.2
14、.1 函數(shù)FLASH_SetLatency (1069.2.2 函數(shù)FLASH_HalfCycleAccessCmd (1079.2.3 函數(shù)FLASH_PrefetchBufferCmd (1079.2.4 函數(shù)FLASH_Unlock (1089.2.5 函數(shù)FLASH_Lock (1089.2.6 函數(shù)FLASH_ErasePage (1099.2.7 函數(shù)FLASH_EraseAllPages (1099.2.8 函數(shù)FLASH_EraseOptionBytes (1109.2.9 函數(shù)FLASH_ProgramWord (1109.2.10 函數(shù)FLASH_ProgramHalfWo
15、rd (1119.2.11 函數(shù)FLASH_ProgramOptionByteData (1119.2.12 函數(shù)FLASH_EnableWriteProtection (1129.2.13 函數(shù)FLASH_ReadOutProtection (1139.2.14 函數(shù)FLASH_UserOptionByteConfig (1149.2.15 函數(shù)FLASH_GetUserOptionByte (1159.2.16 函數(shù)FLASH_GetWriteProtectionOptionByte (1159.2.17 函數(shù)FLASH_GetReadOutProtectionStatus (1169.2
16、.18 函數(shù)FLASH_GetPrefetchBufferStatus (1169.2.19 函數(shù)FLASH_ITConfig (1179.2.20 函數(shù)FLASH_GetFlagStatus (1179.2.21 函數(shù)FLASH_ClearFlag (1189.2.22 函數(shù)FLASH_GetStatus (1199.2.23 函數(shù)FLASH_WaitForLastOperation (11910.1 GPIO寄存器結(jié)構(gòu) (12010.2 GPIO庫函數(shù) (12210.2.1 函數(shù)GPIO_DeInit (12310.2.2 函數(shù)GPIO_AFIODeInit (12310.2.3 函數(shù)GP
17、IO_Init (12410.2.4 函數(shù)GPIO_StructInit (12610.2.5 函數(shù)GPIO_ReadInputDataBit (12610.2.6 函數(shù)GPIO_ReadInputData (12710.2.7 函數(shù)GPIO_ReadOutputDataBit (12710.2.8 函數(shù)GPIO_ReadOutputData (12810.2.9 函數(shù)GPIO_SetBits (12810.2.10 函數(shù)GPIO_ResetBits (12910.2.11 函數(shù)GPIO_WriteBit (12910.2.12 函數(shù)GPIO_Write (13010.2.13 函數(shù)GPIO_
18、PinLockConfig (13010.2.14 函數(shù)GPIO_EventOutputConfig (13110.2.15 函數(shù)GPIO_EventOutputCmd (13110.2.16 函數(shù)GPIO_PinRemapConfig (13211.2 I2C庫函數(shù) (13511.2.1 函數(shù)I2C_DeInit (13611.2.2 函數(shù)I2C_ Init (13711.2.3 函數(shù)I2C_ StructInit (13811.2.4 函數(shù)I2C_ Cmd (13911.2.5 函數(shù)I2C_ DMACmd (13911.2.6 函數(shù)I2C_ DMALastTransferCmd (1401
19、1.2.7 函數(shù)I2C_ GenerateSTART (14011.2.8 函數(shù)I2C_ GenerateSTOP (14111.2.9 函數(shù)I2C_ AcknowledgeConfig (14111.2.10 函數(shù)I2C_ OwnAddress2Config (14211.2.11 函數(shù)I2C_ DualAddressCmd (14211.2.12 函數(shù)I2C_ GeneralCallCmd (14311.2.13 函數(shù)I2C_ ITConfig (14311.2.14 函數(shù)I2C_ SendData (14411.2.15 函數(shù)I2C_ ReceiveData (14411.2.16 函數(shù)
20、I2C_ Send7bitAddress (14511.2.17 函數(shù)I2C_ ReadRegister (14511.2.18 函數(shù)I2C_ SoftwareResetCmd (14611.2.19 函數(shù)I2C_ SMBusAlertConfig (14711.2.20 函數(shù)I2C_ TransmitPEC (14711.2.21 函數(shù)I2C_ PECPositionConfig (14811.2.22 函數(shù)I2C_ CalculatePEC (14811.2.23 函數(shù)I2C_ GetPEC (14911.2.24 函數(shù)I2C_ ARPCmd (14911.2.25 函數(shù)I2C_ Stre
21、tchClockCmd (15011.2.26 函數(shù)I2C_ FastModeDutyCycleConfig (15011.2.27 函數(shù)I2C_ GetLastEvent (15111.2.29 函數(shù)I2C_ GetFlagStatus (15211.2.30 函數(shù)I2C_ ClearFlag (15311.2.31 函數(shù)I2C_ GetITStatus (15411.2.32 函數(shù)I2C_ ClearITPendingBit (15512.1 IWDG寄存器結(jié)構(gòu) (15612.2 IWDG庫函數(shù) (15712.2.1 函數(shù)IWDG_WriteAccessCmd (15712.2.2 函數(shù)I
22、WDG_SetPrescaler (15812.2.3 函數(shù)IWDG_SetReload (15812.2.4 函數(shù)IWDG_ReloadCounter (15912.2.5 函數(shù)IWDG_Enable (15912.2.6 函數(shù)IWDG_GetFlagStatus (15913.1 NVIC寄存器結(jié)構(gòu) (16113.2 NVIC庫函數(shù) (16313.2.1 函數(shù)NVIC_DeInit (16413.2.2 函數(shù)NVIC_SCBDeInit (16413.2.3 函數(shù)NVIC_PriorityGroupConfig (16513.2.4 函數(shù)NVIC_Init (16613.2.5 函數(shù)NVI
23、C_StructInit (16813.2.6 函數(shù)NVIC_SETPRIMASK (16913.2.7 函數(shù)NVIC_RESETPRIMASK (16913.2.8 函數(shù)NVIC_SETFAULTMASK (17013.2.9 函數(shù)NVIC_RESETFAULTMASK (17013.2.12 函數(shù)NVIC_GetCurrentPendingIRQChannel (17213.2.13 函數(shù)NVIC_GetIRQChannelPendingBitStatus (17213.2.14 函數(shù)NVIC_SetIRQChannelPendingBit (17313.2.15 函數(shù)NVIC_Clear
24、IRQChannelPendingBit (17313.2.16 函數(shù)NVIC_GetCurrentActiveHandler (17413.2.17 函數(shù)NVIC_GetIRQChannelActiveBitStatus (17413.2.18 函數(shù)NVIC_GetCPUID (17513.2.19 函數(shù)NVIC_SetVectorTable (17513.2.20 函數(shù)NVIC_GenerateSystemReset (17613.2.21 函數(shù)NVIC_GenerateCoreReset (17613.2.22 函數(shù)NVIC_SystemLPConfig (17713.2.23 函數(shù)NV
25、IC_SystemHandlerConfig (17713.2.24 函數(shù)NVIC_SystemHandlerPriorityConfig (18213.2.25 函數(shù)NVIC_GetSystemHandlerPendingBitStatus (18313.2.26 函數(shù)NVIC_SetSystemHandlerPendingBit (18313.2.27 函數(shù)NVIC_ClearSystemHandlerPendingBit (18413.2.28 函數(shù)NVIC_GetSystemHandlerActiveBitStatus (18413.2.29 函數(shù)NVIC_GetFaultHandle
26、rSources (18513.2.30 函數(shù)NVIC_GetFaultAddress (18614.1 PWR寄存器結(jié)構(gòu) (18714.2 PWR庫函數(shù) (18814.2.1 函數(shù)PWR_DeInit (18814.2.2 函數(shù)PWR_BackupAccessCmd (18914.2.3 函數(shù)PWR_PVDCmd (18914.2.4 函數(shù)PWR_PVDLevelConfig (19014.2.5 函數(shù)PWR_WakeUpPinCmd (19014.2.6 函數(shù)PWR_EnterSTOPMode (19114.2.7 函數(shù)PWR_EnterSTANDBYMode (19114.2.8 函數(shù)P
27、WR_GetFlagStatus (19214.2.9 函數(shù)PWR_ClearFlag (19215.1 RCC寄存器結(jié)構(gòu) (19315.2 RCC庫函數(shù) (19415.2.1 函數(shù)RCC_DeInit (19515.2.2 函數(shù)RCC_HSEConfig (19515.2.3 函數(shù)RCC_WaitForHSEStartUp (19615.2.4 函數(shù)RCC_AdjustHSICalibrationValue (19615.2.5 函數(shù)RCC_HSICmd (19715.2.6 函數(shù)RCC_PLLConfig (19715.2.7 函數(shù)RCC_PLLCmd (19815.2.8 函數(shù)RCC_S
28、YSCLKConfig (19915.2.9 函數(shù)RCC_GetSYSCLKSource (19915.2.10 函數(shù)RCC_HCLKConfig (20015.2.11 函數(shù)RCC_PCLK1Config (20015.2.12 函數(shù)RCC_PCLK2Config (20115.2.13 函數(shù)RCC_ITConfig (20215.2.14 函數(shù)RCC_USBCLKConfig (20215.2.15 函數(shù)RCC_ADCCLKConfig (20315.2.16 函數(shù)RCC_LSEConfig (20415.2.17 函數(shù)RCC_LSICmd (20415.2.18 函數(shù)RCC_RTCCLK
29、Config (20515.2.19 函數(shù)RCC_RTCCLKCmd (20515.2.23 函數(shù)RCC_APB1PeriphClockCmd (20815.2.24 函數(shù)RCC_APB2PeriphResetCmd (20915.2.25 函數(shù)RCC_APB1PeriphResetCmd (20915.2.26 函數(shù)RCC_BackupResetCmd (21015.2.27 函數(shù)RCC_ClockSecuritySystemCmd (21015.2.28 函數(shù)RCC_MCOConfig (21015.2.29 函數(shù)RCC_GetFlagStatus (21115.2.30 函數(shù)RCC_Cl
30、earFlag (21215.2.31 函數(shù)RCC_GetITStatus (21215.2.32 函數(shù)RCC_ClearITPendingBit (21316.1 RTC寄存器結(jié)構(gòu) (21416.2 RTC庫函數(shù) (21516.2.1 函數(shù)RTC_ITConfig (21616.2.2 函數(shù)RTC_EnterConfigMode (21616.2.3 函數(shù)RTC_ExitConfigMode (21716.2.4 函數(shù)RTC_GetCounter (21716.2.5 函數(shù)RTC_SetCounter (21816.2.6 函數(shù)RTC_SetPrescaler (21816.2.7 函數(shù)RT
31、C_SetAlarm (21916.2.8 函數(shù)RTC_GetDivider (21916.2.9 函數(shù)RTC_WaitForLastTask (22016.2.10 函數(shù)RTC_WaitForSynchro (22016.2.11 函數(shù)RTC_GetFlagStatus (22116.2.12 函數(shù)RTC_ClearFlag (22116.2.13 函數(shù)RTC_GetITStatus (22216.2.14 函數(shù)RTC_ClearITPendingBit (22217.1 SPI寄存器結(jié)構(gòu) (22317.2 SPI庫函數(shù) (22417.2.1 函數(shù)SPI_DeInit (22517.2.2
32、函數(shù)SPI_Init (22517.2.3 函數(shù)SPI_StructInit (22717.2.4 函數(shù)SPI_Cmd (22817.2.5 函數(shù)SPI_ITConfig (22817.2.6 函數(shù)SPI_DMACmd (22917.2.7 函數(shù)SPI_SendData (22917.2.8 函數(shù)SPI_ReceiveData (23017.2.9 函數(shù)SPI_NSSInternalSoftwareConfig (23017.2.10 函數(shù)SPI_SSOutputCmd (23117.2.11 函數(shù)SPI_DataSizeConfig (23117.2.12 函數(shù)SPI_TransmitCRC
33、 (23217.2.13 函數(shù)SPI_CalculateCRC (23217.2.14 函數(shù)SPI_GetCRC (23317.2.15 函數(shù)SPI_GetCRCPolynomial (23317.2.16 函數(shù)SPI_BiDirectionalLineConfig (23417.2.17 函數(shù)SPI_GetFlagStatus (23417.2.18 函數(shù)SPI_ClearFlag (23517.2.19 函數(shù)SPI_GetITStatus (23517.2.20 函數(shù)SPI_ClearITPendingBit (23618.1 SysTick寄存器結(jié)構(gòu) (23718.2 SysTick庫函
34、數(shù) (23818.2.4 函數(shù)SysTick_ITConfig (24018.2.5 函數(shù)SysTick_GetCounter (24018.2.6 函數(shù)SysTick_GetFlagStatus (24119.1 TIM寄存器結(jié)構(gòu) (24219.2 TIM庫函數(shù) (24419.2.1 函數(shù)TIM_DeInit (24619.2.2 函數(shù)TIM_TimeBaseInit (24619.2.3 函數(shù)TIM_OCInit (24719.2.4 函數(shù)TIM_ICInit (24919.2.5 函數(shù)TIM_TimeBaseStructInit (25119.2.6 函數(shù)TIM_OCStructInit
35、 (25119.2.7 函數(shù)TIM_ICStructInit (25219.2.8 函數(shù)TIM_Cmd (25219.2.9 函數(shù)TIM _ITConfig (25319.2.10 函數(shù)TIM_DMAConfig (25319.2.11 函數(shù)TIM_DMACmd (25519.2.12 函數(shù)TIM_InternalClockConfig (25519.2.13 函數(shù)TIM_ITRxExternalClockConfig (25619.2.14 函數(shù)TIM_TIxExternalClockConfig (25619.2.15 函數(shù)TIM_ETRClockMode1Config (25719.2.
36、16 函數(shù)TIM_ETRClockMode2Config (25819.2.17 函數(shù)TIM_ETRConfig (25819.2.18 函數(shù)TIM_SelectInputTrigger (25919.2.19 函數(shù)TIM_PrescalerConfig (26019.2.20 函數(shù)TIM_CounterModeConfig (26019.2.21 函數(shù)TIM_ForcedOC1Config (26119.2.22 函數(shù)TIM_ForcedOC2Config (26119.2.23 函數(shù)TIM_ForcedOC3Config (26219.2.24 函數(shù)TIM_ForcedOC4Config
37、(26219.2.25 函數(shù)TIM_ARRPreloadConfig (26319.2.26 函數(shù)TIM_SelectCCDMA (26319.2.27 函數(shù)TIM_OC1PreloadConfig (26419.2.28 函數(shù)TIM_OC2PreloadConfig (26419.2.29 函數(shù)TIM_OC3PreloadConfig (26519.2.30 函數(shù)TIM_OC4PreloadConfig (26519.2.31 函數(shù)TIM_OC1FastConfig (26619.2.32 函數(shù)TIM_OC2FastConfig (26619.2.33 函數(shù)TIM_OC3FastConfig
38、 (26719.2.34 函數(shù)TIM_OC4FastConfig (26719.2.35 函數(shù)TIM_ClearOC1Ref (26819.2.36 函數(shù)TIM_ClearOC2Ref (26819.2.37 函數(shù)TIM_ClearOC3Ref (26919.2.38 函數(shù)TIM_ClearOC4Ref (26919.2.39 函數(shù)TIM_UpdateDisableConfig (27019.2.40 函數(shù)TIM_EncoderInterfaceConfig (27019.2.41 函數(shù)TIM_GenerateEvent (27119.2.42 函數(shù)TIM_OC1PolarityConfig
39、(27119.2.43 函數(shù)TIM_OC2PolarityConfig (27219.2.44 函數(shù)TIM_OC3PolarityConfig (27219.2.45 函數(shù)TIM_OC4PolarityConfig (27319.2.49 函數(shù)TIM_SelectOutputTrigger (27519.2.50 函數(shù)TIM_SelectSlaveMode (27619.2.51 函數(shù)TIM_SelectMasterSlaveMode (27719.2.52 函數(shù)TIM_SetCounter (27719.2.53 函數(shù)TIM_SetAutoreload (27819.2.54 函數(shù)TIM_S
40、etCompare1 (27819.2.55 函數(shù)TIM_SetCompare2 (27919.2.56 函數(shù)TIM_SetCompare3 (27919.2.57 函數(shù)TIM_SetCompare4 (28019.2.58 函數(shù)TIM_SetIC1Prescaler (28019.2.59 函數(shù)TIM_SetIC2Prescaler (28119.2.60 函數(shù)TIM_SetIC3Prescaler (28119.2.61 函數(shù)TIM_SetIC4Prescaler (28219.2.62 函數(shù)TIM_SetClockDivision (28219.2.63 函數(shù)TIM_GetCapture
41、1 (28319.2.64 函數(shù)TIM_GetCapture2 (28319.2.65 函數(shù)TIM_GetCapture3 (28319.2.66 函數(shù)TIM_GetCapture4 (28419.2.67 函數(shù)TIM_GetCounter (28419.2.68 函數(shù)TIM_GetPrescaler (28519.2.69 函數(shù)TIM_GetFlagStatus (28519.2.70 函數(shù)TIM_ClearFlag (28619.2.71 函數(shù)TIM_GetITStatus (28619.2.72 函數(shù)TIM_ClearITPendingBit (28720.1 TIM1寄存器結(jié)構(gòu) (28
42、820.2 TIM1庫函數(shù) (29020.2.1 函數(shù)TIM1_DeInit (29220.2.2 函數(shù)TIM1_TIM1BaseInit (29220.2.3 函數(shù)TIM1_OC1Init (29420.2.4 函數(shù)TIM1_OC2Init (29620.2.5 函數(shù)TIM1_OC3Init (29620.2.6 函數(shù)TIM1_OC4Init (29720.2.7 函數(shù)TIM1_BDTRConfig (29720.2.8 函數(shù)TIM1_ICInit (29920.2.9 函數(shù)TIM1_PWMIConfig (30020.2.10 函數(shù)TIM1_TimeBaseStructInit (3012
43、0.2.11 函數(shù)TIM1_OCStructInit (30120.2.12 函數(shù)TIM1_ICStructInit (30220.2.13 函數(shù)TIM1_BDTRStructInit (30320.2.14 函數(shù)TIM1_Cmd (30320.2.15 函數(shù)TIM1_CtrlPWMOutputs (30420.2.16 函數(shù)TIM1_ITConfig (30420.2.17 函數(shù)TIM1_DMAConfig (30520.2.18 函數(shù)TIM1_DMACmd (30620.2.19 函數(shù)TIM1_InternalClockConfig (30720.2.20 函數(shù)TIM1_ETRClockM
44、ode1Config (30720.2.21 函數(shù)TIM1_ETRClockMode2Config (30820.2.22 函數(shù)TIM1_ETRConfig (30920.2.23 函數(shù)TIM1_ITRxExternalClockConfig (30920.2.24 函數(shù)TIM1_TIxExternalClockConfig (31020.2.28 函數(shù)TIM1_SelectHallSensor (31220.2.29 函數(shù)TIM1_SelectOnePulseMode (31220.2.30 函數(shù)TIM1_SelectOutputTrigger (31320.2.31 函數(shù)TIM1_Sele
45、ctSlaveMode (31320.2.32 函數(shù)TIM1_SelectMasterSlaveMode (31420.2.33 函數(shù)TIM1_EncoderInterfaceConfig (31520.2.34 函數(shù)TIM1_PrescalerConfig (31520.2.35 函數(shù)TIM1_CounterModeConfig (31620.2.36 函數(shù)TIM1_ForcedOC1Config (31620.2.37 函數(shù)TIM1_ForcedOC2Config (31720.2.38 函數(shù)TIM1_ForcedOC3Config (31720.2.39 函數(shù)TIM1_ForcedOC4
46、Config (31820.2.40 函數(shù)TIM1_ARRPreloadConfig (31820.2.41 函數(shù)TIM1_SelectCOM (31920.2.42 函數(shù)TIM1_SelectCCDMA (31920.2.43 函數(shù)TIM1_CCPreloadControl (32020.2.44 函數(shù)TIM1_OC1PreloadConfig (32020.2.45 函數(shù)TIM1_OC2PreloadConfig (32120.2.46 函數(shù)TIM1_OC3PreloadConfig (32120.2.47 函數(shù)TIM1_OC4PreloadConfig (32220.2.48 函數(shù)TIM
47、1_OC1FastConfig (32220.2.49 函數(shù)TIM1_OC2FastConfig (32320.2.50 函數(shù)TIM1_OC3FastConfig (32320.2.51 函數(shù)TIM1_OC4FastConfig (32420.2.52 函數(shù)TIM1_ClearOC1Ref (32420.2.53 函數(shù)TIM1_ClearOC2Ref (32520.2.54 函數(shù)TIM1_ClearOC3Ref (32520.2.55 函數(shù)TIM1_ClearOC4Ref (32620.2.56 函數(shù)TIM1_GenerateEvent (32620.2.57 函數(shù)TIM1_OC1Polari
48、tyConfig (32720.2.58 函數(shù)TIM1_OC1NPolarityConfig (32720.2.59 函數(shù)TIM1_OC2PolarityConfig (32820.2.60 函數(shù)TIM1_OC2NPolarityConfig (32820.2.61 函數(shù)TIM1_OC3PolarityConfig (32920.2.62 函數(shù)TIM1_OC3NPolarityConfig (32920.2.63 函數(shù)TIM1_OC4PolarityConfig (33020.2.64 函數(shù)TIM1_CCxCmd (33020.2.65 函數(shù)TIM1_CCxNCmd (33120.2.66 函
49、數(shù)TIM1_SelectOCxM (33120.2.67 函數(shù)TIM1_SetCounter (33220.2.68 函數(shù)TIM1_SetAutoreload (33220.2.69 函數(shù)TIM1_SetCompare1 (33320.2.70 函數(shù)TIM1_SetCompare2 (33320.2.71 函數(shù)TIM1_SetCompare3 (33420.2.72 函數(shù)TIM1_SetCompare4 (33420.2.73 函數(shù)TIM1_SetIC1Prescaler (33520.2.74 函數(shù)TIM1_SetIC2Prescaler (33520.2.75 函數(shù)TIM1_SetIC3P
50、rescaler (33620.2.76 函數(shù)TIM1_SetIC4Prescaler (33620.2.77 函數(shù)TIM1_SetClockDivision (337目錄20.2.79 函數(shù)TIM1_GetCapture2 (33820.2.80 函數(shù)TIM1_GetCapture3 (33820.2.81 函數(shù)TIM1_GetCapture4 (33820.2.82 函數(shù)TIM1_GetCounter (33920.2.83 函數(shù)TIM1_GetPrescaler (33920.2.84 函數(shù)TIM1_GetFlagStatus (34020.2.85 函數(shù)TIM1_ClearFlag (
51、34120.2.86 函數(shù)TIM1_GetITStatus (34120.2.87 函數(shù)TIM1_ClearITPendingBit (34221.1 USART寄存器結(jié)構(gòu) (34321.2 USART庫函數(shù) (34421.2.1 函數(shù)USART_DeInit (34521.2.2 函數(shù)USART_Init (34621.2.3 函數(shù)USART_StructInit (34921.2.4 函數(shù)USART_Cmd (34921.2.5 函數(shù)USART_ITConfig (35021.2.6 函數(shù)USART_DMACmd (35121.2.7 函數(shù)USART_SetAddress (35121.2
52、.8 函數(shù)USART_WakeUpConfig (35221.2.9 函數(shù)USART_ReceiverWakeUpCmd (35221.2.10 函數(shù)USART_LINBreakDetectiLengthConfig (35321.2.11 函數(shù)USART_LINCmd (35321.2.12 函數(shù)USART_SendData (35421.2.13 函數(shù)USART_ReceiveData (35421.2.14 函數(shù)USART_SendBreak (35521.2.15 函數(shù)USART_SetGuardTime (35521.2.16 函數(shù)USART_SetPrescaler (35621.
53、2.17 函數(shù)USART_SmartCardCmd (35621.2.18 函數(shù)USART_SmartCardNackCmd (35721.2.19 函數(shù)USART_HalfDuplexCmd (35721.2.20 函數(shù)USART_IrDAConfig (35821.2.21 函數(shù)USART_IrDACmd (35821.2.22 函數(shù)USART_GetFlagStatus (35921.2.23 函數(shù)USART_ClearFlag (36021.2.24 函數(shù)USART_GetITStatus (36021.2.25 函數(shù)USART_ClearITPendingBit (36122.1 W
54、WDG寄存器結(jié)構(gòu) (36222.2 WWDG庫函數(shù) (36322.1.1 函數(shù)WWDG_DeInit (36322.1.2 函數(shù)WWDG_SetPrescaler (36322.1.3 函數(shù)WWDG_SetWindowValue (36422.1.4 函數(shù)WWDG_EnableIT (36422.1.5 函數(shù)WWDG_SetCounter (36522.1.6 函數(shù)WWDG_Enable (36522.1.7 函數(shù)WWDG_GetFlagStatus (36622.1.8 函數(shù)WWDG_ClearFlag (366表格目錄Table 1. 本文檔所有縮寫定義 (27Table 2. 固件函數(shù)庫
55、文件描述 (33Table 3. 函數(shù)描述格式 (38Table 4. ADC 寄存器 (39Table 5. ADC固件庫函數(shù) (40Table 6 .函數(shù)ADC_DeInit (42Table 7. 函數(shù)ADC_Init (42Table 8. 函數(shù)ADC_Mode 定義 (43Table 9. ADC_ExternalTrigConv定義表 (43Table 10. ADC_DataAlign定義表 (43Table 11. 函數(shù)ADC_StructInit (44Table 12. ADC_InitStruct缺省值 (44Table 13. 函數(shù)ADC_Cmd (44Table 14
56、. 函數(shù)ADC_DMACmd (45Table 15. 函數(shù)ADC_ITConfig (45Table 16. ADC_IT定義表 (45Table 17. 函數(shù)ADC_ResetCalibration (46Table 18. 函數(shù)ADC_ GetResetCalibrationStatus (46Table 19. 函數(shù)ADC_StartCalibration (46Table 20. 函數(shù)ADC_GetCalibrationStatus (47Table 21. 函數(shù)ADC_SoftwareStartConvCmd (47Table 22. 函數(shù)ADC_GetSoftwareStartConvStatus (48Table 23. 函數(shù)ADC_DiscModeChannelCountConfig (48Table 24. 函數(shù)ADC_DiscModeCmd (49Table 25. 函數(shù)ADC_RegularChannelConfig (
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 《職業(yè)農(nóng)民培育》課件
- 2024年鄉(xiāng)鎮(zhèn)組織員個人年終工作總結(jié)
- 《旅行社的戰(zhàn)略管理》課件
- 協(xié)力共贏:團(tuán)隊力量
- 酒店前廳保安執(zhí)勤要領(lǐng)
- 保險行業(yè)銷售技巧培訓(xùn)總結(jié)
- 2001年天津高考語文真題及答案(圖片版)
- 媒體行業(yè)客服工作感想
- 景觀設(shè)計師年終總結(jié)7篇
- 2023年項目管理人員安全培訓(xùn)考試題(能力提升)
- 老舊小區(qū)改造工程安全管理體系管理制度及措施
- 2024年山西省晉中市公開招聘警務(wù)輔助人員(輔警)筆試摸底測試(3)卷含答案
- 2024夏令營項目家長溝通與反饋服務(wù)協(xié)議3篇
- 文史哲與藝術(shù)中的數(shù)學(xué)知到智慧樹章節(jié)測試課后答案2024年秋吉林師范大學(xué)
- 2024年秋季新人教版七年級上冊數(shù)學(xué)全冊教案
- 13485質(zhì)量管理培訓(xùn)
- 9《復(fù)活(節(jié)選)》練習(xí) (含答案)統(tǒng)編版高中語文選擇性必修上冊
- 工程主合同補(bǔ)充協(xié)議書范本(2篇)
- 智慧樓宇I(lǐng)BMS整體解決方案
- 《客房服務(wù)與管理》課程標(biāo)準(zhǔn)課程內(nèi)容與要求
- GB 26920-2024商用制冷器具能效限定值及能效等級
評論
0/150
提交評論