參數(shù)資料
型號(hào): Z86C8416PEC
廠商: ZILOG INC
元件分類: 微控制器/微處理器
英文描述: Z8 MCU MICROCONTROLLERS
中文描述: 8-BIT, MROM, 16 MHz, MICROCONTROLLER, PDIP28
封裝: PLASTIC, DIP-28
文件頁(yè)數(shù): 25/46頁(yè)
文件大小: 957K
代理商: Z86C8416PEC
Z86C83/C84
Z8
MCU Microcontrollers
25
DS96DZ80203
FUNCTIONAL DESCRIPTION
(Continued)
Counter/Timers.
There are two 8-bit programmable
counter/timers (T0-T1), each driven by its own 6-bit
programmable prescaler. The T1 prescaler is driven by
internal or external clock sources; however, the T0
prescaler is driven by the internal clock only (Figure 19).
The 6-bit prescalers can divide the input frequency of the
clock source by any integer number from 1 to 64. Each
prescaler drives its counter, which decrements the value
(1 to 256) that has been loaded into the counter. When the
counter reaches the end of the count, a timer interrupt
request, IRQ4 (T0) or IRQ5 (T1), is generated.
The counters can be programmed to start, stop, restart to
continue, or restart from the initial value. The counters can
also be programmed to stop upon reaching zero (single
pass mode) or to automatically reload the initial value and
continue counting (modulo-n continuous mode).
The counters,
but not the prescalers
, are read at any
time without disturbing their value or count mode. The
clock source for T1 is user-definable and is either the
internal microprocessor clock divide-by-four, or an
external signal input through Port 3. The Timer Mode
register configures the external timer input (P31) as an
external clock, a trigger input that can be retriggerable or
non-retriggerable, or as a gate input for the internal clock.
The counter/timers can be cascaded by connecting the T0
output to the input of T1. T
IN
Mode is enabled by setting
R243 PRE1 Bit D1 to 0.
Figure 19. Counter/Timer Block Diagram
PRE0
Initial Value
Register
T0
Initial Value
Register
T0
Current Value
Register
6-Bit
Down
Counter
8-bit
Down
Counter
÷
16
÷
4
6-Bit
Down
Counter
8-Bit
Down
Counter
PRE1
Initial Value
Register
T1
Initial Value
Register
T1
Current Value
Register
÷
2
Clock
Logic
IRQ4
TOUT
P36
IRQ5
Internal Data Bus
Write
Write
Read
Internal Clock
Gated Clock
Triggered Clock
TIN P31
Write
Write
Read
Internal Data Bus
External Clock
Internal
Clock
D0 (SMR)
÷
4
÷
2
OSC
D1 (SMR)
相關(guān)PDF資料
PDF描述
Z86C8416PSC Z8 MCU MICROCONTROLLERS
Z86C8416SEC Z8 MCU MICROCONTROLLERS
Z86C8416SSC Z8 MCU MICROCONTROLLERS
Z86C8416VEC Z8 MCU MICROCONTROLLERS
Z86C8416VSC Z8 MCU MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
Z86C8416PSC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Z8 MCU MICROCONTROLLERS
Z86C8416SEC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Z8 MCU MICROCONTROLLERS
Z86C8416SSC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Z8 MCU MICROCONTROLLERS
Z86C8416VEC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Z8 MCU MICROCONTROLLERS
Z86C8416VSC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Z8 MCU MICROCONTROLLERS