參數(shù)資料
型號: MC68HC11A8VCFN2
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: HCMOS Single-Chip Microcontroller
中文描述: 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC52
封裝: PLASTIC, LCC-52
文件頁數(shù): 41/158頁
文件大小: 776K
代理商: MC68HC11A8VCFN2
MC68HC11A8
TECHNICAL DATA
PARALLEL I/O
MOTOROLA
4-3
4
4.4.1 Input Handshake Protocol
In the input handshake protocol, port C is a latching input port, STRA is an edge-sen-
sitive latch command from the external system that is driving port C, and STRB is a
“ready” output line controlled by logic in the MCU.
When a “ready” condition is recognized, the external device places data on the port C
lines, then pulses the STRA line. The active edge on the STRA line latches the port C
data into the PORTCL register, sets the STAF flag (optionally causing an interrupt),
and deasserts the STRB line. Deassertion of the STRB line automatically inhibits the
external device from strobing new data into port C. Reading the PORTCL latch register
(independent of clearing the STAF flag) asserts the STRB line, indicating that new
data may now be applied to port C.
The STRB line can be configured (with the PLS control bit) to be a pulse output (pulse
mode) or a static output (interlocked mode).
The port C data direction register bits should be cleared for each line that is to be used
as a latched input line. However, some port C lines can be used as latched inputs with
the input handshake protocol while, at the same time, using some port C lines as static
inputs, and some port C lines as static outputs. The input handshake protocol has no
effect on the use of port C lines as static inputs or as static outputs. Reads of the
PORTC data register always return the static logic level at the port C lines (for lines
configured as inputs). Writes to either the PORTC data register or the alternate latched
port C register (PORTCL) send information to the same port C output register without
affecting the input handshake strobes.
4.4.2 Output Handshake Protocol
In the output handshake protocol, port C is an output port, STRB is a “ready” output,
and STRA is an edge-sensitive acknowledge input signal, used to indicate to the MCU
that the output data has been accepted by the external device. In a variation of this
output handshake protocol, STRA is also used as an output-enable input, as well as
an edge-sensitive acknowledge input.
The MCU places data on the port C output lines and then indicates stable data is avail-
able by asserting the STRB line. The external device then processes the available
data and pulses the STRA line to indicate that new data may be placed on the port C
output lines. The active edge on the STRA line causes the STRB line to be deasserted
and the STAF status flag to be set. In response to the STAF bit being set, the program
transfers new data out of port C as required. Writing data to the PORTCL register
causes the data to appear on port C lines and asserts the STRB line.
There is a variation to the output handshake protocol that allows three-state operation
on port C. It is possible to directly connect this 8-bit parallel port to other three-state
devices with no additional parts.
While the STRA input line is inactive, all port C lines obey the data direction specified
by the data direction register so that lines which are configured as inputs are high im-
pedance. When the STRA line is activated, all port C lines are forced to outputs re-
gardless of the data in the data direction register. Note that in output handshake
相關(guān)PDF資料
PDF描述
MC68HC11A8VCFU2 HCMOS Single-Chip Microcontroller
MC68HC11A1VFU2 HCMOS Single-Chip Microcontroller
MC68HC11E0CB2 Microcontrollers
MC68S711E9CFN2 Microcontrollers
MC68HC711E20FS3 Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC11A8VCFU2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:HCMOS Single-Chip Microcontroller
MC68HC11AOFNR2 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Motorola Inc 功能描述: 制造商:MOTOROLA 功能描述:
MC68HC11AX 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8-Bit Microcontrollers
MC68HC11C0 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:8-Bit Microcontroller
MC68HC11C0CFN2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:8-Bit Microcontroller