文件名称:Music
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 54kb
- 下载次数:
- 0次
- 提 供 者:
- y**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用HSI为系统时钟源,并配置恰当的分频比;
Timer2 CC1通道配置为PWM模式用以驱动蜂鸣器;
Timer4 溢出中断用作LD4,LD3,LD2闪烁的时基;
TLI(PD7)中断(用户按键)用来切换音乐的音调;-Use the HSI for the system clock source, and configure the appropriate divide ratio Timer2 CC1 channel is configured to PWM mode to drive the buzzer Timer4 overflow interrupt for LD4, LD3, LD2 flashing time base TLI (PD7 ) break (user key) is used to change the music tone
Timer2 CC1通道配置为PWM模式用以驱动蜂鸣器;
Timer4 溢出中断用作LD4,LD3,LD2闪烁的时基;
TLI(PD7)中断(用户按键)用来切换音乐的音调;-Use the HSI for the system clock source, and configure the appropriate divide ratio Timer2 CC1 channel is configured to PWM mode to drive the buzzer Timer4 overflow interrupt for LD4, LD3, LD2 flashing time base TLI (PD7 ) break (user key) is used to change the music tone
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Music\Debug\main.ls
.....\.....\main.o
.....\.....\music.elf
.....\.....\music.lkf
.....\.....\music.map
.....\.....\music.s19
.....\.....\music.sm8
.....\.....\stm8_interrupt_vector.ls
.....\.....\stm8_interrupt_vector.o
.....\Demo.stw
.....\Demo.wdb
.....\Demo.wed
.....\main.c
.....\music.dep
.....\music.pdb
.....\music.stp
.....\Release\music.lkf
.....\STM8S207R.h
.....\stm8_interrupt_vector.c
.....\Debug
.....\Release
Music
.....\.....\main.o
.....\.....\music.elf
.....\.....\music.lkf
.....\.....\music.map
.....\.....\music.s19
.....\.....\music.sm8
.....\.....\stm8_interrupt_vector.ls
.....\.....\stm8_interrupt_vector.o
.....\Demo.stw
.....\Demo.wdb
.....\Demo.wed
.....\main.c
.....\music.dep
.....\music.pdb
.....\music.stp
.....\Release\music.lkf
.....\STM8S207R.h
.....\stm8_interrupt_vector.c
.....\Debug
.....\Release
Music