參數(shù)資料
型號: Z8018520FSC
廠商: ZILOG INC
元件分類: 微控制器/微處理器
英文描述: SMART PERIPHERAL CONTROLLERS
中文描述: MICROCONTROLLER, PQFP100
封裝: PLASTIC, QFP-100
文件頁數(shù): 87/95頁
文件大小: 484K
代理商: Z8018520FSC
87
P R E L I M I N A R Y
Z80185/Z80195
S
MART
P
ERIPHERAL
C
ONTROLLES
DS971850301
Zilog
Z80185 PIA AND MISCELLANEOUS REGISTERS
(Continued)
CTC Control Registers
Channel Control Byte
This byte is used to set the operating modes and param-
eters. Bit D0 must be a 1 to indicate that this is a Control
Byte (Figure 82).
The Channel Control Byte register has the following fields:
Bit D7.
Interrupt Enable. This bit enables the interrupt logic
so that an internal INT is generated at zero count. Interrupts
are programmed in either mode, and may be enabled or
disabled at any time.
Bit D6.
Mode Bit. This bit, along with bit 3, is used to select
either Timer mode or Counter mode (Table 8).
Bit D5.
Prescaler Factor.This bit selects the prescaler
factor for use in the timer mode. Either divide-by-16 or
divide-by-256 is available.
Bit D4.
Clock/Trigger Edge Selector.This bit selects the
active edge of the CLK/TRG input pulses.
Bit D3.
Mode Bit.This bit, along with bit 6, selects either
Timer mode or Counter mode (Table 8).
Bit D2.
Time Constant.This bit indicates that the next byte
programmed is time constant data for the downcounter.
Bit D1.
Software Reset. Writing a 1 to this bit indicates a
software reset operation, which stops counting activities
until another time constant word is written.
Table 8. CTC Operation Modes
CCW6
CCW3
Operation
0
0
(Auto Start) Timer mode. The
prescaler is clocked by PHI, and the
counter is clocked by the prescaler.
Counting is enabled when the timer
constant is loaded.
0
1
Timer with CLK/TRG Trigger. The
prescaler is clocked by PHI, and the
counter is clocked by the prescaler.
Timing starts when the transition
specified by D4 is detected on the
PIA pin, or for CTC3-1, the ZC/T0
output of CTC2-0, respectively.
1
0
Classic Counter mode. The counter
is clocked by the PIA pin, or for
CTC3-1 the ZC/TO output of
CTC-2 respectively.
1
1
Long Counter mode. The prescaler
is clocked by the PIA pin, or for
CTC3-1 the ZC/TO output of
CTC-2, respectively, and the
counter is clocked by the prescaler.
相關(guān)PDF資料
PDF描述
Z80195 SMART PERIPHERAL CONTROLLERS
Z8019520FSC SMART PERIPHERAL CONTROLLERS
Z8018933FSC GENERAL-PURPOSE EMBEDDED CONTROLLERS
Z8L189 GENERAL-PURPOSE EMBEDDED CONTROLLERS
Z8L18920ASC GENERAL-PURPOSE EMBEDDED CONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
Z8018533FSC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:SMART PERIPHERAL CONTROLLERS
Z80189 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Z8018x Family MPU
Z8018933ASC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:GENERAL-PURPOSE EMBEDDED CONTROLLERS
Z8018933FSC 制造商:ZILOG 制造商全稱:ZILOG 功能描述:GENERAL-PURPOSE EMBEDDED CONTROLLERS
Z8018X 制造商:ZILOG 制造商全稱:ZILOG 功能描述:Family MPU