參數(shù)資料
型號: M80C186XL10
廠商: Intel Corp.
英文描述: 16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
中文描述: 16位高集成嵌入式處理器
文件頁數(shù): 29/59頁
文件大?。?/td> 590K
代理商: M80C186XL10
M80C186
Timer Operation
The timers are controlled by 11 16-bit registers in
the internal peripheral control block. The configura-
tion of these registers is shown in Table 15. The
count register contains the current value of the tim-
er. It can be read or written at any time independent
of whether the timer is running or not. The value of
this register will be incremented for each timer
event. Each of the timers is equipped with a MAX
COUNT register, which defines the maximum count
the timer will reach. After reaching the MAX COUNT
register value, the timer count value will reset to zero
during that same clock, i.e., the maximum count val-
ue is never stored in the count register itself. Timers
0 and 1 are, in addition, equipped with a second
MAX COUNT register, which enables the timers to
alternate their count between two different MAX
COUNT values programmed by the user. If a single
MAX COUNT register is used, the timer output pin
will switch LOW for a single clock, 1 clock after the
maximum count value has been reached. In the dual
MAX COUNT register mode, the output pin will indi-
cate which MAX COUNT register is currently in use,
thus allowing nearly complete freedom in selecting
waveform duty cycles. For the timers with two MAX
COUNT registers, the RIU bit in the control register
determines which is used for the comparison.
Each timer gets serviced every fourth CPU-clock cy-
cle, and thus can operate at speeds up to one-quar-
ter the internal clock frequency (one-eighth the crys-
tal rate). External clocking of the timers may be done
at up to a rate of one-quarter of the internal CPU-
clock rate. Due to internal synchronization and pipe-
lining of the timer circuitry, a timer output may take
up to 6 clocks to respond to any individual clock or
gate input.
Since the count registers and the maximum count
registers are all 16 bits wide, 16 bits of resolution are
provided. Any Read or Write access to the timers will
add one wait state to the minimum four-clock bus
cycle, however. This is needed to synchronize and
coordinate the internal data flows between the inter-
nal timers and the internal bus.
The timers have several programmable options.
#
All three timers can be set to halt or continue on
a terminal count.
#
Timers 0 and 1 can select between internal and
external clocks, alternate between MAX COUNT
registers and be set to retrigger on external
events.
#
The timers may be programmed to cause an in-
terrupt on terminal count.
These options are selectable via the timer mode/
control word.
Timer Mode/Control Register
The mode/control register (see Figure 20) allows
the user to program the specific mode of operation
or check the current programmed status for any of
the three integrated timers.
Table 15. Timer Control Block Format
Register Name
Register Offset
Tmr. 0 Tmr. 1
Tmr. 2
Mode/Control Word
Max Count B
Max Count A
Count Register
56H
54H
52H
50H
5EH
5CH
5AH
58H
66H
not present
62H
60H
15
EN
14
INH
13
INT
12
RIU
11
0
5
4
3
P
2
1
0
. . .
MC
RTG
EXT
ALT
CONT
Figure 20. Timer Mode/Control Register
29
相關PDF資料
PDF描述
M80C186XL12 16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
M80C186XL16 16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
M80C186XL20 16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
M80C286 High Performance CHMOS Microprocessor With Memory Management And Protection(帶存儲管理和保護高性能16位CHMOS微處理器)
M80C287 80-Bit CHMOS III Numeric Processor Exetension(80位CHMOS III數(shù)字處理器擴展)
相關代理商/技術參數(shù)
參數(shù)描述
M80C186XL12 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
M80C186XL16 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
M80C186XL20 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:16-BIT HIGH-INTEGRATION EMBEDDED PROCESSOR
M80C196KB 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:16-BIT HIGH PERFORMANCE CHMOS MICROCONTROLLER
M80C286 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:HIGH PERFORMANCE CHMOS MICROPROCESSOR WITH MEMORY MANAGEMENT AND PROTECTION