C8051F060-DAC
所属分类:嵌入式/单片机/硬件编程
开发工具:Visual C++
文件大小:3KB
下载次数:6
上传日期:2014-07-03 19:05:12
上 传 者:
guizimai
说明: 这个程序输出正弦和余弦波形 使用DAC硬这C8051F060单片机DAC0波形输出 和DAC1 Timer4中断更新的输出DAC.Timer4 ISR的 然后导致了DACs计算的输出,这是下一个中断。 输出波形的频率设定的# define <频率>。 实现定义的精确输出频率<频率>,一个 /使用外部晶体。
(This program outputs sine and cosine waveforms using the hardware DACs
// on the C8051F06x microcontroller. The waveforms are output on pins DAC0
// and DAC1.
//
// The output of the DAC is updated upon a Timer4 interrupt. The Timer4 ISR
// then calculates the output of the DACs for the next interrupt.
//
// The frequency of the output waveforms is set by the#define <FREQUENCY>.
// To achieve the exact output frequency defined by <FREQUENCY>, an
// external crystal should be used.)
文件列表:
DAC\F06x_DACs_SineCosine.c (13006, 2014-05-08)
DAC (0, 2014-05-08)
近期下载者:
相关文件:
收藏者: