登录
首页 » 嵌入式芯片 » 配置 STM PWM

配置 STM PWM

于 2022-11-08 发布 文件大小:2.02 kB
0 181
下载积分: 2 下载次数: 1

代码说明:

此示例演示如何配置 TIM1 周边产生 7 PWM 信号与 4 个不同的工作周期 (50%、 37.5%、 25%和 12.5%)。TIM1CLK = SystemCoreClock,分频器 = 0,TIM1 计数器时钟 = SystemCoreClockSystemCoreClock 设置为 72 兆赫为低密度、 介质密度、 高密度和连接线路设备。中等密度低密度值线和高密度值线设备,SystemCoreClock 设置为 24 MHz。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 编写ARM程序的好帮手!这是ARM指令集!
    编写ARM程序的好帮手!这是ARM指令集!-ARM program write a good helper! This is the ARM instruction set!
    2023-07-14 15:35:03下载
    积分:1
  • CPUfreq修改CPU频率
    该程序模块中xllp_CPUfreq.s,xllp_freq.c,xllp_intc.s,xllp_freq.h四个文件是修改CPU频率的主要代码,使用前可以将这些文件和xllp目录下的文件编译在一起,以便可以在程序的任何地方调用它们,修改和读取CPU频率主要依靠调用xllp_freq.c文件中的两个函数完成:XLLPSetCoreRunFrequency,xllpGetCurrentFreqSetting。其余代码只是一个调用这两个函数的一个例子,也可以自己重新写一个。为了简便,可以将所有的文件当作一个驱动程序在同一个目录下编译,然后以流驱动的方式加载,再用应用程序控制。
    2022-03-21 03:01:17下载
    积分:1
  • STM 32定时器例程编译环境:Keil mdk3.20
    stm 32 定时器例程 编译环境:keil mdk3.20-stm 32 timer routine compiler environment: keil mdk3.20
    2022-12-30 13:10:04下载
    积分:1
  • Chinese version of detailed S3C2410A information, essential for developers
    中文版的S3C2410A详细资料,开发必备-Chinese version of detailed S3C2410A information, essential for developers
    2022-07-25 04:11:33下载
    积分:1
  • S3C2410处理器集成的USB DEVICE设备控制驱动程序,实现PC端与实验板USB设备进行数据发送与接收。...
    S3C2410处理器集成的USB DEVICE设备控制驱动程序,实现PC端与实验板USB设备进行数据发送与接收。-S3C2410 processor integrated USB DEVICE device control driver-side with the experimental realization of PC board USB devices to send and receive data.
    2022-03-17 14:07:20下载
    积分:1
  • 实现与LPC2148的MP3播放器,使用libmad和EFSL这个应用程序…
    Realizing an MP3 player with the LPC2148, using libmad and EFSL This Application Note describes how to integrate the libmad MPEG 1/2 layer 3 library and the Embedded File System Library EFSL in a LPC2148 device to realize MP3 player. The Keil MCB2140 board is used to test the application and the Rowley CrossStudio for ARM has been chosen as a reference tool-chain. -Realizing an MP3 player with the LPC2148, using libmad and EFSL This Application Note describes how to integrate the libmad MPEG 1/2 layer 3 library and the Embedded File System Library EFSL in a LPC2148 device to realize MP3 player. The Keil MCB2140 board is used to test the application and the Rowley CrossStudio for ARM has been chosen as a reference tool-chain.
    2022-07-01 12:29:48下载
    积分:1
  • ARM开发软件使用教程
    ARM开发软件使用教程-ARM software directory
    2022-03-31 08:29:12下载
    积分:1
  • C语言开发最佳之开发平台,keil公司的中文版。绝无竟有之宝
    C语言开发最佳之开发平台,keil公司的中文版。绝无竟有之宝-keil
    2023-06-27 20:50:08下载
    积分:1
  • AMBE1000语音操作代码
    该代码为51单片机和语音芯片AMBE1000通讯的实例代码,完成了语音的转发和播放功能,语音数据并且可以通过RS232接口发送到电脑,予以查看
    2022-12-08 13:35:03下载
    积分:1
  • 卡车仪表的单机程序,使用的是ICCAVR环境,用的是ATmega8。...
    卡车仪表的单片机程序,使用的是ICCAVR环境,用的是ATmega8芯片。-Singlechip truck instrument procedures, using ICCAVR environment, using the ATmega8 chip.
    2023-01-01 21:45:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载