文件名称:QG8Music
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 115kb
- 下载次数:
- 0次
- 提 供 者:
- Alber******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用Freescale S08 单片机TPM模块的T1CH0硬件输出PWM,用MTIM中断做节拍定时
CPU占用率大幅降低,有充裕的时间执行其他代码,具有实用性
由于输出的是方波,比较难听:-)-Use 8bit microcontroller to play a music. Code is written in C. Platform is Freescale S08 MCU. The sound is not so good because it is PWM (not DAC).
CPU占用率大幅降低,有充裕的时间执行其他代码,具有实用性
由于输出的是方波,比较难听:-)-Use 8bit microcontroller to play a music. Code is written in C. Platform is Freescale S08 MCU. The sound is not so good because it is PWM (not DAC).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
QG8Music
........\bin
........\...\Project.abs
........\...\Project.abs.s19
........\...\Project.map
........\...\Project.old0.map
........\...\Project.old1.map
........\...\Project.xpr
........\cmd
........\...\HCS08_Full_Chip_Simulator_Postload.cmd
........\...\HCS08_Full_Chip_Simulator_Preload.cmd
........\...\HCS08_Full_Chip_Simulator_Reset.cmd
........\...\HCS08_Full_Chip_Simulator_Startup.cmd
........\...\HCS08_OpenSourceBDM_Erase_Unsecure.cmd
........\...\HCS08_OpenSourceBDM_Postload.cmd
........\...\HCS08_OpenSourceBDM_Preload.cmd
........\...\HCS08_OpenSourceBDM_Reset.cmd
........\...\HCS08_OpenSourceBDM_Startup.cmd
........\C_Layout.hwl
........\Default.mem
........\HCS08_Full_Chip_Simulator.ini
........\HCS08_OpenSourceBDM.ini
........\prm
........\...\burner.bbl
........\...\Project.prm
........\Project.mcp
........\Project_Data
........\............\CWSettingsWindows.stg
........\............\Standard
........\............\........\ObjectCode
........\............\........\..........\main.c.o
........\............\........\..........\MC9S08QG8.C.o
........\............\........\..........\music.c.o
........\............\........\..........\Start08.c.o
........\............\........\TargetDataWindows.tdt
........\Sources
........\.......\derivative.h
........\.......\main.c
........\.......\music.c
........\.......\music.h
........\.......\Start08.c
........\bin
........\...\Project.abs
........\...\Project.abs.s19
........\...\Project.map
........\...\Project.old0.map
........\...\Project.old1.map
........\...\Project.xpr
........\cmd
........\...\HCS08_Full_Chip_Simulator_Postload.cmd
........\...\HCS08_Full_Chip_Simulator_Preload.cmd
........\...\HCS08_Full_Chip_Simulator_Reset.cmd
........\...\HCS08_Full_Chip_Simulator_Startup.cmd
........\...\HCS08_OpenSourceBDM_Erase_Unsecure.cmd
........\...\HCS08_OpenSourceBDM_Postload.cmd
........\...\HCS08_OpenSourceBDM_Preload.cmd
........\...\HCS08_OpenSourceBDM_Reset.cmd
........\...\HCS08_OpenSourceBDM_Startup.cmd
........\C_Layout.hwl
........\Default.mem
........\HCS08_Full_Chip_Simulator.ini
........\HCS08_OpenSourceBDM.ini
........\prm
........\...\burner.bbl
........\...\Project.prm
........\Project.mcp
........\Project_Data
........\............\CWSettingsWindows.stg
........\............\Standard
........\............\........\ObjectCode
........\............\........\..........\main.c.o
........\............\........\..........\MC9S08QG8.C.o
........\............\........\..........\music.c.o
........\............\........\..........\Start08.c.o
........\............\........\TargetDataWindows.tdt
........\Sources
........\.......\derivative.h
........\.......\main.c
........\.......\music.c
........\.......\music.h
........\.......\Start08.c