欢迎访问ic37.com |
会员登录 免费注册
发布采购

MG84FL54BD 参数 Datasheet PDF下载

MG84FL54BD图片预览
型号: MG84FL54BD
PDF下载: 下载PDF文件 查看货源
内容描述: 全速USB微控制器 [Full-Speed USB micro-controller]
分类和应用: 微控制器
文件页数/大小: 94 页 / 879 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MG84FL54BD的Datasheet PDF文件第24页浏览型号MG84FL54BD的Datasheet PDF文件第25页浏览型号MG84FL54BD的Datasheet PDF文件第26页浏览型号MG84FL54BD的Datasheet PDF文件第27页浏览型号MG84FL54BD的Datasheet PDF文件第29页浏览型号MG84FL54BD的Datasheet PDF文件第30页浏览型号MG84FL54BD的Datasheet PDF文件第31页浏览型号MG84FL54BD的Datasheet PDF文件第32页  
10.2.3. Baud-Rate Generator Mode (BRG)  
Timer2 can be configured to generate various baud-rate. TCLK and/or RCLK in T2CON allow the serial port  
transmit and receive baud rates to be derived from either Timer1 or Timer2. When TCLK=0, Timer1 or S2BRT is  
used as the serial port transmit baud rate generator. When TCLK=1, Timer2 is used as the serial port transmit  
baud rate generator. RCLK has the same effect for the serial port baud rate. With these two bits, the serial port  
can have different receive and transmit baud rates – one generated from Timer1 or S2BRT and the other from  
Timer2.  
In BRG mode, Timers is operated very like auto-reload counting-up mode except that the T2EX pin can not  
control reload. An overflow on Timer2 will load RCAP2H,RCAP2L content onto Timer2 but TF2 will not be set.  
A 1-to-0 transition on P2EX pin can set EXF2 to request interrupt service if EXEN2=1.  
The baud rate in UART Mode1 and Mode3 are determined by Timer2’s overflow rate given below :  
Baud Rate = Oscillator Frequency / (2 x (65536 – [RCAP2H,RCAP2L]))  
Timer 1  
overflow  
2
“0”  
“0”  
“1”  
SMOD  
Fosc/2  
T2 pin  
C/T2=0  
C/T2=1  
“1”  
“1”  
TL2  
TH2  
(8 BITS) (8 BITS)  
RCLK  
RX Clock  
TR2  
“0”  
TCLK  
RCAP2L RCAP2H  
TX Clock  
Transition  
Detector  
T2 EX pin  
Timer2 Interrupt  
EXF2  
EXEN2  
Timier2 in Baud Rate Generator Mode  
28  
MG84FL54B Data Sheet  
MEGAWIN