參數(shù)資料
型號: Q67120-C1056SAB-C501G-1EP
英文描述: IC-8-BIT CPU
中文描述: 集成電路8位CPU
文件頁數(shù): 69/121頁
文件大?。?/td> 1000K
代理商: Q67120-C1056SAB-C501G-1EP
Semiconductor Group
6-35
On-Chip Peripheral Components
C501
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 (
f
OSC
/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
RC 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 RC
registers, in this case.
相關(guān)PDF資料
PDF描述
Q67120-C508 IC-SM-8-BIT CPU 12-MHZ
Q67121C2168A1 IC-SM-16 BIT CPU
Q67121C452 IC-SM-8-BIT CPU-12MHZ
Q67126-C2088 RF inductor, ceramic core, 2% tol, SMT, RoHS
Q67127-C2036SAB-C161R1-L16M IC-SM-16 BIT CPU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
Q67120-C106 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit Microprocessing
Q67120-C122 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit Microprocessor
Q67120-C124 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit Microprocessor
Q67120-C195 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit Single-Chip Microcontroller
Q67120-C196 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:8-Bit Single-Chip Microcontroller