QrCode.zip
大小:5.42MB
价格:10积分
下载量:0
评分:
5.0
上传者:xlc18225546348
更新日期:2025-09-22

Qrcode生成二维码C语言代码STM32F4单片机使用

资源文件列表(大概)

文件名
大小
QrCode/
-
QrCode/APP/
-
QrCode/APP/Listings/
-
QrCode/APP/Listings/QR_CODE_F401.map
191.38KB
QrCode/APP/Listings/startup_stm32f40xx.lst
77.75KB
QrCode/APP/Objects/
-
QrCode/APP/Objects/QR_CODE_F401.axf
459.53KB
QrCode/APP/Objects/QR_CODE_F401.build_log.htm
2.02KB
QrCode/APP/Objects/QR_CODE_F401.hex
59.32KB
QrCode/APP/Objects/QR_CODE_F401.htm
127.44KB
QrCode/APP/Objects/QR_CODE_F401.lnp
850B
QrCode/APP/Objects/QR_CODE_F401.sct
479B
QrCode/APP/Objects/QR_CODE_F401_Target 1.dep
62.53KB
QrCode/APP/Objects/bitstream.crf
395.03KB
QrCode/APP/Objects/bitstream.d
3.04KB
QrCode/APP/Objects/bitstream.o
433.57KB
QrCode/APP/Objects/hd_mcu.crf
395.65KB
QrCode/APP/Objects/hd_mcu.d
2.86KB
QrCode/APP/Objects/hd_mcu.o
434.4KB
QrCode/APP/Objects/main.crf
393.16KB
QrCode/APP/Objects/main.d
2.75KB
QrCode/APP/Objects/main.o
421.1KB
QrCode/APP/Objects/malloc.crf
394.95KB
QrCode/APP/Objects/malloc.d
2.85KB
QrCode/APP/Objects/malloc.o
435.97KB
QrCode/APP/Objects/mask.crf
399.72KB
QrCode/APP/Objects/mask.d
2.92KB
QrCode/APP/Objects/mask.o
449.17KB
QrCode/APP/Objects/misc.crf
369.94KB
QrCode/APP/Objects/misc.d
2.11KB
QrCode/APP/Objects/misc.o
407.04KB
QrCode/APP/Objects/mmask.crf
396.86KB
QrCode/APP/Objects/mmask.d
2.97KB
QrCode/APP/Objects/mmask.o
436.84KB
QrCode/APP/Objects/mqrspec.crf
395.39KB
QrCode/APP/Objects/mqrspec.d
3.01KB
QrCode/APP/Objects/mqrspec.o
437.14KB
QrCode/APP/Objects/qrencode.crf
405.52KB
QrCode/APP/Objects/qrencode.d
3.05KB
QrCode/APP/Objects/qrencode.o
484.01KB
QrCode/APP/Objects/qrinput.crf
409.33KB
QrCode/APP/Objects/qrinput.d
3.01KB
QrCode/APP/Objects/qrinput.o
522.06KB
QrCode/APP/Objects/qrspec.crf
397.34KB
QrCode/APP/Objects/qrspec.d
2.96KB
QrCode/APP/Objects/qrspec.o
448.98KB
QrCode/APP/Objects/rsecc.crf
394.49KB
QrCode/APP/Objects/rsecc.d
2.85KB
QrCode/APP/Objects/rsecc.o
426.54KB
QrCode/APP/Objects/split.crf
397.47KB
QrCode/APP/Objects/split.d
2.91KB
QrCode/APP/Objects/split.o
437.25KB
QrCode/APP/Objects/startup_stm32f40xx.d
77B
QrCode/APP/Objects/startup_stm32f40xx.o
7.71KB
QrCode/APP/Objects/stm32f4xx_dbgmcu.crf
369.54KB
QrCode/APP/Objects/stm32f4xx_dbgmcu.d
2.49KB
QrCode/APP/Objects/stm32f4xx_dbgmcu.o
407.13KB
QrCode/APP/Objects/stm32f4xx_gpio.crf
371.97KB
QrCode/APP/Objects/stm32f4xx_gpio.d
2.42KB
QrCode/APP/Objects/stm32f4xx_gpio.o
421.13KB
QrCode/APP/Objects/stm32f4xx_it.crf
394.08KB
QrCode/APP/Objects/stm32f4xx_it.d
3.11KB
QrCode/APP/Objects/stm32f4xx_it.o
434.21KB
QrCode/APP/Objects/stm32f4xx_rcc.crf
379.38KB
QrCode/APP/Objects/stm32f4xx_rcc.d
2.39KB
QrCode/APP/Objects/stm32f4xx_rcc.o
472.06KB
QrCode/APP/Objects/stm32f4xx_syscfg.crf
370.37KB
QrCode/APP/Objects/stm32f4xx_syscfg.d
2.49KB
QrCode/APP/Objects/stm32f4xx_syscfg.o
410.84KB
QrCode/APP/Objects/stm32f4xx_tim.crf
389.41KB
QrCode/APP/Objects/stm32f4xx_tim.d
2.39KB
QrCode/APP/Objects/stm32f4xx_tim.o
538.18KB
QrCode/APP/Objects/stm32f4xx_usart.crf
375.02KB
QrCode/APP/Objects/stm32f4xx_usart.d
2.45KB
QrCode/APP/Objects/stm32f4xx_usart.o
443.91KB
QrCode/APP/Objects/system_stm32f4xx.crf
371KB
QrCode/APP/Objects/system_stm32f4xx.d
2.37KB
QrCode/APP/Objects/system_stm32f4xx.o
404.96KB
QrCode/APP/QR_CODE_F401.uvguix.410MS3V3
71.29KB
QrCode/APP/QR_CODE_F401.uvoptx
20.31KB
QrCode/APP/QR_CODE_F401.uvprojx
21.67KB
QrCode/APP/main.c
2.07KB
QrCode/APP/sys_include.h
564B
QrCode/Libraries/
-
QrCode/Libraries/CMSIS/
-
QrCode/Libraries/CMSIS/Include/
-
QrCode/Libraries/CMSIS/Include/arm_common_tables.h
7.08KB
QrCode/Libraries/CMSIS/Include/arm_const_structs.h
3.85KB
QrCode/Libraries/CMSIS/Include/arm_math.h
246.27KB
QrCode/Libraries/CMSIS/Include/core_cm0.h
35.33KB
QrCode/Libraries/CMSIS/Include/core_cm0plus.h
42.79KB
QrCode/Libraries/CMSIS/Include/core_cm3.h
101.43KB
QrCode/Libraries/CMSIS/Include/core_cm4.h
111.72KB
QrCode/Libraries/CMSIS/Include/core_cm7.h
135.4KB
QrCode/Libraries/CMSIS/Include/core_cmFunc.h
17.89KB
QrCode/Libraries/CMSIS/Include/core_cmInstr.h
27.25KB
QrCode/Libraries/CMSIS/Include/core_cmSimd.h
22.41KB
QrCode/Libraries/CMSIS/Include/core_sc000.h
43.29KB
QrCode/Libraries/CMSIS/Include/core_sc300.h
100.37KB
QrCode/Libraries/CMSIS/arm/
-
QrCode/Libraries/CMSIS/arm/startup_stm32f401xx.s
24.85KB
QrCode/Libraries/CMSIS/arm/startup_stm32f40_41xxx.s
28.54KB
QrCode/Libraries/CMSIS/arm/startup_stm32f40xx.s
28.63KB
QrCode/Libraries/CMSIS/arm/startup_stm32f410xx.s
17.44KB
QrCode/Libraries/CMSIS/arm/startup_stm32f411xe.s
24.6KB
QrCode/Libraries/CMSIS/arm/startup_stm32f412xg.s
19.68KB
QrCode/Libraries/CMSIS/arm/startup_stm32f413_423xx.s
21.55KB
QrCode/Libraries/CMSIS/arm/startup_stm32f427_437xx.s
29.89KB
QrCode/Libraries/CMSIS/arm/startup_stm32f427x.s
29.96KB
QrCode/Libraries/CMSIS/arm/startup_stm32f429_439xx.s
30.04KB
QrCode/Libraries/CMSIS/arm/startup_stm32f446xx.s
20.33KB
QrCode/Libraries/CMSIS/arm/startup_stm32f469_479xx.s
29.84KB
QrCode/Libraries/CMSIS/stm32f4xx.h
918.43KB
QrCode/Libraries/CMSIS/stm32f4xx_conf.h
5.24KB
QrCode/Libraries/CMSIS/stm32f4xx_it.c
5.62KB
QrCode/Libraries/CMSIS/stm32f4xx_it.h
1.7KB
QrCode/Libraries/CMSIS/system_stm32f4xx.c
59.15KB
QrCode/Libraries/CMSIS/system_stm32f4xx.h
1.71KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/
-
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/
-
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h
6.29KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h
31.76KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h
26.73KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cec.h
11.68KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h
1.89KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h
13.67KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h
14.13KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h
3.73KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h
12.21KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dfsdm.h
44.74KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h
27.73KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h
18.77KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dsi.h
40.01KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h
7.46KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h
24.03KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash_ramfunc.h
2.73KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h
43.4KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmpi2c.h
18.31KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h
26.08KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h
28.11KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h
9.38KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h
30.72KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h
3.75KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_lptim.h
16.89KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h
20.22KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h
8.92KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_qspi.h
19.28KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h
49.42KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h
3.71KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h
39.5KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h
27.11KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h
21.78KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spdifrx.h
10.55KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h
20.21KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h
13.56KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h
50.01KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h
17.17KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h
2.99KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/
-
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c
10.71KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c
66.98KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c
64.72KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cec.c
23.72KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c
3.04KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c
34.19KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c
56.18KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c
9.31KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c
10.05KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c
25.71KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c
6.18KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c
17.87KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dfsdm.c
84.34KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c
51.21KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c
26.06KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dsi.c
60.04KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c
9.18KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c
61.77KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash_ramfunc.c
4.85KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c
60.63KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmpi2c.c
56.18KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c
44.61KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c
24.17KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c
25.54KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c
8.9KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c
9.1KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c
52.88KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c
8.66KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_lptim.c
33.21KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c
38.38KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c
41.96KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_qspi.c
31.11KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c
133.49KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c
14KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c
100.32KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c
47.91KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c
37.58KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spdifrx.c
17.01KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c
51.25KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c
16.42KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c
121.34KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c
56.12KB
QrCode/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c
9.78KB
QrCode/MALLOC/
-
QrCode/MALLOC/malloc.c
6.63KB
QrCode/MALLOC/malloc.h
2.09KB
QrCode/QrCode/
-
QrCode/QrCode/bitstream.c
4.07KB
QrCode/QrCode/bitstream.h
1.47KB
QrCode/QrCode/config.h
967B
QrCode/QrCode/mask.c
7.56KB
QrCode/QrCode/mask.h
1.59KB
QrCode/QrCode/mmask.c
4.19KB
QrCode/QrCode/mmask.h
1.37KB
QrCode/QrCode/mqrspec.c
6.14KB
QrCode/QrCode/mqrspec.h
4.93KB
QrCode/QrCode/qrencode.c
19.72KB
QrCode/QrCode/qrencode.h
20.26KB
QrCode/QrCode/qrencode_inner.h
2.71KB
QrCode/QrCode/qrinput.c
37.71KB
QrCode/QrCode/qrinput.h
3.59KB
QrCode/QrCode/qrspec.c
14.9KB
QrCode/QrCode/qrspec.h
5.87KB
QrCode/QrCode/rsecc.c
3.86KB
QrCode/QrCode/rsecc.h
1.2KB
QrCode/QrCode/split.c
7.85KB
QrCode/QrCode/split.h
1.87KB
QrCode/hardware/
-
QrCode/hardware/hd_mcu.c
5.9KB
QrCode/hardware/hd_mcu.h
990B

资源内容介绍

Qrcode生成二维码C语言代码STM32F4单片机使用,字符串转二维码数组,单片机移植QrCode代码
/** ****************************************************************************** * @file stm32f4xx_rcc.c * @author MCD Application Team * @version V1.8.1 * @date 27-January-2022 * @brief This file provides firmware functions to manage the following * functionalities of the Reset and clock control (RCC) peripheral: * + Internal/external clocks, PLL, CSS and MCO configuration * + System, AHB and APB busses clocks configuration * + Peripheral clocks configuration * + Interrupts and flags management * @verbatim =============================================================================== ##### RCC specific features ##### =============================================================================== [..] After reset the device is running from Internal High Speed oscillator (HSI 16MHz) with Flash 0 wait state, Flash prefetch buffer, D-Cache and I-Cache are disabled, and all peripherals are off except internal SRAM, Flash and JTAG. (+) There is no prescaler on High speed (AHB) and Low speed (APB) busses; all peripherals mapped on these busses are running at HSI speed. (+) The clock for all peripherals is switched off, except the SRAM and FLASH. (+) All GPIOs are in input floating state, except the JTAG pins which are assigned to be used for debug purpose. [..] Once the device started from reset, the user application has to: (+) Configure the clock source to be used to drive the System clock (if the application needs higher frequency/performance) (+) Configure the System clock frequency and Flash settings (+) Configure the AHB and APB busses prescalers (+) Enable the clock for the peripheral(s) to be used (+) Configure the clock source(s) for peripherals which clocks are not derived from the System clock (I2S, RTC, ADC, USB OTG FS/SDIO/RNG) @endverbatim ****************************************************************************** * @attention * * Copyright (c) 2016 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */#include "stm32f4xx_rcc.h"/** @addtogroup STM32F4xx_StdPeriph_Driver * @{ *//** @defgroup RCC * @brief RCC driver modules * @{ */ #define RCC_OFFSET (RCC_BASE - PERIPH_BASE)#define CR_OFFSET (RCC_OFFSET + 0x00)#define HSION_BitNumber 0x00#define CR_HSION_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (HSION_BitNumber * 4))#define CSSON_BitNumber 0x13#define CR_CSSON_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (CSSON_BitNumber * 4))#define PLLON_BitNumber 0x18#define CR_PLLON_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (PLLON_BitNumber * 4))#define PLLI2SON_BitNumber 0x1A#define CR_PLLI2SON_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (PLLI2SON_BitNumber * 4))#define PLLSAION_BitNumber 0x1C#define CR_PLLSAION_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (PLLSAION_BitNumber * 4))#define CFGR_OFFSET (RCC_OFFSET + 0x08)#define I2SSRC_BitNumber 0x17#define CFGR_I2SSRC_BB (PERIPH_BB_BASE + (CFGR_OFFSET * 32) + (I2SSRC_BitNumber * 4))#define BDCR_OFFSET (RCC_OFFSET + 0x70)#define RTCEN_BitNumber 0x0F#define BDCR_RTCEN_BB (PERIPH_BB_BASE + (BDCR_OFFSET * 32) + (RTCEN_BitNumber * 4))#define BDRST_BitNumber 0x10#define BDCR_BDRST_BB (PERIPH_BB_BASE + (BDCR_OFFSET * 32) + (BDRST_BitNumber * 4))#define CSR_OFFSET (RCC_OFFSET + 0x74)#define LSION_BitNumber 0x00#define CSR_LSION_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (LSION_BitNumber * 4))#define DCKCFGR_OFFSET (RCC_OFFSET + 0x8C)#define TIMPRE_BitNumber 0x18#define DCKCFGR_TIMPRE_BB (PERIPH_BB_BASE + (DCKCFGR_OFFSET * 32) + (TIMPRE_BitNumber * 4)) #define RCC_CFGR_OFFSET (RCC_OFFSET + 0x08) #if defined(STM32F410xx)#define RCC_MCO1EN_BIT_NUMBER 0x8#define RCC_CFGR_MCO1EN_BB (PERIPH_BB_BASE + (RCC_CFGR_OFFSET * 32) + (RCC_MCO1EN_BIT_NUMBER * 4))#define RCC_MCO2EN_BIT_NUMBER 0x9#define RCC_CFGR_MCO2EN_BB (PERIPH_BB_BASE + (RCC_CFGR_OFFSET * 32) + (RCC_MCO2EN_BIT_NUMBER * 4))#endif #define CFGR_MCO2_RESET_MASK ((uint32_t)0x07FFFFFF)#define CFGR_MCO1_RESET_MASK ((uint32_t)0xF89FFFFF)#define FLAG_MASK ((uint8_t)0x1F)#define CR_BYTE3_ADDRESS ((uint32_t)0x40023802)#define CIR_BYTE2_ADDRESS ((uint32_t)(RCC_BASE + 0x0C + 0x01))#define CIR_BYTE3_ADDRESS ((uint32_t)(RCC_BASE + 0x0C + 0x02))#define BDCR_ADDRESS (PERIPH_BASE + BDCR_OFFSET)static __I uint8_t APBAHBPrescTable[16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9};/** @defgroup RCC_Private_Functions * @{ */ /** @defgroup RCC_Group1 Internal and external clocks, PLL, CSS and MCO configuration functions * @brief Internal and external clocks, PLL, CSS and MCO configuration functions *@verbatim =================================================================================== ##### Internal and external clocks, PLL, CSS and MCO configuration functions ##### =================================================================================== [..] This section provide functions allowing to configure the internal/external clocks, PLLs, CSS and MCO pins. (#) HSI (high-speed internal), 16 MHz factory-trimmed RC used directly or through the PLL as System clock source. (#) LSI (low-speed internal), 32 KHz low consumption RC used as IWDG and/or RTC clock source. (#) HSE (high-speed external), 4 to 26 MHz crystal oscillator used directly or through

用户评论 (0)

发表评论

captcha