參數(shù)資料
型號: SAF-C513A-HN
廠商: INFINEON TECHNOLOGIES AG
元件分類: 微控制器/微處理器
英文描述: 8-BIT, EEPROM, 8 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, LCC-44
文件頁數(shù): 92/128頁
文件大小: 1837K
代理商: SAF-C513A-HN
On-Chip Peripheral Units
Semiconductor Group
6-33
Now the baud rates in modes 1 and 3 are determined by timer 2’s overflow rate as follows:
Modes 1, 3 baud rate = timer 2 overflow rate/16
The timer can be configured for either "timer" or "counter" operation: In the most typical applications,
it is configured for "timer" operation (C/T2 = 0). "Timer" operation is a little different for timer 2 when
it’s being used as a baud rate generator. Normally, as a timer it would increment every machine
cycle (thus at
f
OSC/12). As a baud rate generator, however, it increments every state time (fOSC/2). In
that case the baud rate is given by the formula :
Modes 1,3 baud rate =
f
OSC/32×[65536 – (RC2H, RC2L)]
where (RC2H, RC2L) is the content of RC2H and RC2L taken as a 16-bit unsigned integer.
Note that the rollover in TH2 does not set TF2, and will not generate an interrupt. Therefore, the
timer 2 interrupt does not have to be disabled when timer 2 is in the baud rate generator mode. Note
too, that if EXEN2 is set, a 1-to-0 transition in T2EX can be used as an extra external interrupt, if
desired.
It should be noted that when timer 2 is running (TR2 = 1) in "timer" function in the baud rate
generator mode, one should not try to read or write TH2 or TL2. Under these conditions the timer
is being incremented every state time, and the results of a read or write may not be accurate. The
RC2H/RC2L registers may be read, but shouldn’t be written to, because a write might overlap a
reload and cause write and/or reload errors. Turn the timer off (clear TR2) before accessing the
timer 2 or RC2H/RC2L registers, in this case.
相關(guān)PDF資料
PDF描述
SAF-C515A-LM 8-BIT, 18 MHz, MICROCONTROLLER, PQFP80
SAF-C515C-8EMCA 8-BIT, OTPROM, 10 MHz, MICROCONTROLLER, PQFP80
SAF-C517A-4R24M 8-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
SAF-C868-1RR 8-BIT, MROM, 40 MHz, MICROCONTROLLER, PDSO38
SAF-C868-1SR 8-BIT, 40 MHz, MICROCONTROLLER, PDSO38
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SAF-C513AO 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-bit CMOS Microcontroller
SAF-C515 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAF-C515-1R24M 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAF-C515-1RM 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller
SAF-C515A-4R 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit CMOS Microcontroller