
EZ-USB FX2 Technical Reference Manual
Page 14-2 EZ-USB FX2 Technical Reference Manual v2.1
14.2.1 803x/805x Compatibility
The implementation of the timers/counters is similar to that of the Dallas Semiconductor
DS80C320. Table 14-1 summarizes the differences in timer/counter implementation between the
Intel 8051, the Dallas Semiconductor DS80C320, and the FX2.
14.2.2 Timers 0 and 1
Timers 0 and 1 operate in four modes, as controlled through the TMOD SFR (Tabl e14-2) and the
TCON SFR (Table 14-3). The four modes are:
• 13-bit timer/counter (mode 0)
• 16-bit timer/counter (mode 1)
• 8-bit counter with auto-reload (mode 2)
• Two 8-bit counters (mode 3, Timer 0 only)
Table 14-1. Timer/Counter Implementation Comparison
Feature Intel 8051 Dallas DS80C320 FX2
Number of timers 2 3 3
Timer 0/1 overflow
available as output signals
No No Yes; T0OUT, T1OUT
(one CLKOUT pulse)
Timer 2 output enable n/a Yes Yes
Timer 2 down-count enable n/a Yes No
Timer 2 overflow
available as output signal
n/a Yes Yes; T2OUT (one CLKOUT
pulse)
Comentarios a estos manuales