Ration

所属分类:单片机开发
开发工具:C/C++
文件大小:4KB
下载次数:6
上传日期:2007-09-12 09:39:05
上 传 者achesser
说明:  /*系统时钟采用 Fosc=7.373 定时器方式1的定时时间 Time=(65536-THTL)*2/Fosc,默认5ms 定时器1工作在16位,用作系统时钟 定时器0工作在16位,作为定时开始采样用,定时范围为0.1ms(0xfe8f)-15ms(0x27fe),默认为1ms=0xf19a,可以通过设置命令改变 串行口波特率由内部产生,11.059MHz->BRGR1:0=0x0050=115200Bps,0x00b0=57600Bps 7.373MHz->BRGR1:0=0x0030=115200Bps,0x0070=57600Bps
(/* System clock Fosc = 7.373 using the timer mode of timer 1 time Time = (65536-THTL)* 2/Fosc, default 5ms timer 1 in 16 for the system clock timer 0 in 16, as from time to time with the beginning of sampling, timing range of 0.1ms (0xfe8f)-15ms (0x27fe), defaults to 1ms = 0xf19a, can be changed by setting the order of the serial port baud rate generated by in-house, 11.059MHz-)

文件列表:
Ration.c (12834, 2006-07-25)

近期下载者

相关文件


收藏者