【E279】使用STM32的PWM和DMA驱动WS2812B

2021-08-17 23:15:41      索炜达电子      566     

项目编号:E279

文件大小:3.95M

源码说明:带中文注释

开发环境:C编译器

简要概述:

硬件:STM32F103C8T6核心板: TIM3_CH1(PA6)

软件:使用STM32CubeMX生成项目文件

文件列表:

目录│文件列表:

 └ ws2812b_stm32_pwm_dma

    └ ws2812b_stm32_pwm_dma

       │ .mxproject

       │ RgbLED_Test.ioc

       ├ Core

       │  ├ Inc

       │  │  │ main.h

       │  │  │ stm32f1xx_hal_conf.h

       │  │  └ stm32f1xx_it.h

       │  └ Src

       │     │ main.c

       │     │ stm32f1xx_hal_msp.c

       │     │ stm32f1xx_it.c

       │     └ system_stm32f1xx.c

       ├ Drivers

       │  ├ CMSIS

       │  │  ├ Device

       │  │  │  └ ST

       │  │  │     └ STM32F1xx

       │  │  │        ├ Include

       │  │  │        │  │ stm32f100xb.h

       │  │  │        │  │ stm32f100xe.h

       │  │  │        │  │ stm32f101x6.h

       │  │  │        │  │ stm32f101xb.h

       │  │  │        │  │ stm32f101xe.h

       │  │  │        │  │ stm32f101xg.h

       │  │  │        │  │ stm32f102x6.h

       │  │  │        │  │ stm32f102xb.h

       │  │  │        │  │ stm32f103x6.h

       │  │  │        │  │ stm32f103xb.h

       │  │  │        │  │ stm32f103xe.h

       │  │  │        │  │ stm32f103xg.h

       │  │  │        │  │ stm32f105xc.h

       │  │  │        │  │ stm32f107xc.h

       │  │  │        │  │ stm32f1xx.h

       │  │  │        │  └ system_stm32f1xx.h

       │  │  │        └ Source

       │  │  │           └ Templates

       │  │  │              │ system_stm32f1xx.c

       │  │  │              ├ arm

       │  │  │              │  │ startup_stm32f100xb.s

       │  │  │              │  │ startup_stm32f100xe.s

       │  │  │              │  │ startup_stm32f101x6.s

       │  │  │              │  │ startup_stm32f101xb.s

       │  │  │              │  │ startup_stm32f101xe.s

       │  │  │              │  │ startup_stm32f101xg.s

       │  │  │              │  │ startup_stm32f102x6.s

       │  │  │              │  │ startup_stm32f102xb.s

       │  │  │              │  │ startup_stm32f103x6.s

       │  │  │              │  │ startup_stm32f103xb.s

       │  │  │              │  │ startup_stm32f103xe.s

       │  │  │              │  │ startup_stm32f103xg.s

       │  │  │              │  │ startup_stm32f105xc.s

       │  │  │              │  └ startup_stm32f107xc.s

       │  │  │              ├ gcc

       │  │  │              │  │ startup_stm32f100xb.s

       │  │  │              │  │ startup_stm32f100xe.s

       │  │  │              │  │ startup_stm32f101x6.s

       │  │  │              │  │ startup_stm32f101xb.s

       │  │  │              │  │ startup_stm32f101xe.s

       │  │  │              │  │ startup_stm32f101xg.s

       │  │  │              │  │ startup_stm32f102x6.s

       │  │  │              │  │ startup_stm32f102xb.s

       │  │  │              │  │ startup_stm32f103x6.s

       │  │  │              │  │ startup_stm32f103xb.s

       │  │  │              │  │ startup_stm32f103xe.s

       │  │  │              │  │ startup_stm32f103xg.s

       │  │  │              │  │ startup_stm32f105xc.s

       │  │  │              │  └ startup_stm32f107xc.s

       │  │  │              └ iar

       │  │  │                 │ startup_stm32f100xb.s

       │  │  │                 │ startup_stm32f100xe.s

       │  │  │                 │ startup_stm32f101x6.s

       │  │  │                 │ startup_stm32f101xb.s

       │  │  │                 │ startup_stm32f101xe.s

       │  │  │                 │ startup_stm32f101xg.s

       │  │  │                 │ startup_stm32f102x6.s

       │  │  │                 │ startup_stm32f102xb.s

       │  │  │                 │ startup_stm32f103x6.s

       │  │  │                 │ startup_stm32f103xb.s

       │  │  │                 │ startup_stm32f103xe.s

       │  │  │                 │ startup_stm32f103xg.s

       │  │  │                 │ startup_stm32f105xc.s

       │  │  │                 │ startup_stm32f107xc.s

       │  │  │                 └ linker

       │  │  │                    │ stm32f100xb_flash.icf

       │  │  │                    │ stm32f100xb_sram.icf

       │  │  │                    │ stm32f100xe_flash.icf

       │  │  │                    │ stm32f100xe_sram.icf

       │  │  │                    │ stm32f101x6_flash.icf

       │  │  │                    │ stm32f101x6_sram.icf

       │  │  │                    │ stm32f101xb_flash.icf

       │  │  │                    │ stm32f101xb_sram.icf

       │  │  │                    │ stm32f101xe_flash.icf

       │  │  │                    │ stm32f101xe_sram.icf

       │  │  │                    │ stm32f101xg_flash.icf

       │  │  │                    │ stm32f101xg_sram.icf

       │  │  │                    │ stm32f102x6_flash.icf

       │  │  │                    │ stm32f102x6_sram.icf

       │  │  │                    │ stm32f102xb_flash.icf

       │  │  │                    │ stm32f102xb_sram.icf

       │  │  │                    │ stm32f103x6_flash.icf

       │  │  │                    │ stm32f103x6_sram.icf

       │  │  │                    │ stm32f103xb_flash.icf

       │  │  │                    │ stm32f103xb_sram.icf

       │  │  │                    │ stm32f103xe_flash.icf

       │  │  │                    │ stm32f103xe_sram.icf

       │  │  │                    │ stm32f103xg_flash.icf

       │  │  │                    │ stm32f103xg_sram.icf

       │  │  │                    │ stm32f105xc_flash.icf

       │  │  │                    │ stm32f105xc_sram.icf

       │  │  │                    │ stm32f107xc_flash.icf

       │  │  │                    └ stm32f107xc_sram.icf

       │  │  ├ DSP_Lib

       │  │  │  └ Source

       │  │  │     ├ BasicMathFunctions

       │  │  │     │  │ arm_abs_f32.c

       │  │  │     │  │ arm_abs_q15.c

       │  │  │     │  │ arm_abs_q31.c

       │  │  │     │  │ arm_abs_q7.c

       │  │  │     │  │ arm_add_f32.c

       │  │  │     │  │ arm_add_q15.c

       │  │  │     │  │ arm_add_q31.c

       │  │  │     │  │ arm_add_q7.c

       │  │  │     │  │ arm_dot_prod_f32.c

       │  │  │     │  │ arm_dot_prod_q15.c

       │  │  │     │  │ arm_dot_prod_q31.c

       │  │  │     │  │ arm_dot_prod_q7.c

       │  │  │     │  │ arm_mult_f32.c

       │  │  │     │  │ arm_mult_q15.c

       │  │  │     │  │ arm_mult_q31.c

       │  │  │     │  │ arm_mult_q7.c

       │  │  │     │  │ arm_negate_f32.c

       │  │  │     │  │ arm_negate_q15.c

       │  │  │     │  │ arm_negate_q31.c

       │  │  │     │  │ arm_negate_q7.c

       │  │  │     │  │ arm_offset_f32.c

       │  │  │     │  │ arm_offset_q15.c

       │  │  │     │  │ arm_offset_q31.c

       │  │  │     │  │ arm_offset_q7.c

TAGWS2812B
  • 5 次
  • 1 分