參數(shù)資料
型號: MC68HC11G5CFN
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC84
封裝: PLASTIC, LCC-84
文件頁數(shù): 129/195頁
文件大小: 982K
代理商: MC68HC11G5CFN
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁當(dāng)前第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁
INPUT/OUTPUT PORTS
4-1
SECTION 4
INPUT/OUTPUT PORTS
There are seven 8-bit I/O ports, one 6-bit I/O port and one 4-bit I/O port on the MC68HC11G5. Most
of the 66 I/O pins serve multiple purposes depending on the configuration of the MCU system
(see Table 2-3). The configuration is controlled in turn, by hardware mode selection as well as by
several internal control registers.
Ports A, C, D, G, H, and J may be used as general purpose input and/or output pins as specified
by DDRA, DDRC, DDRD, DDRG, DDRH, and DDRJ. Ports B, E, and F have fixed data direction and
thus do not require DDR control registers.
Port signals can always be sensed (read) even if they are configured as general purpose outputs
or are dedicated to on-chip peripheral functions. Reading the port address returns the sensed logic
level at the pin when the pin is configured as an input, and the logic sense at the input to the pin driver
is sensed when the pin is configured as an output.
I/O pins default to being general purpose I/O lines unless an internal function which uses that pin
is specifically enabled. When a pin is dedicated to an internal peripheral function the associated
DDR bit in some cases still controls whether the line is an input or an output. The SPI, timer input
captures and pulse accumulator follow this rule.
Several functions override the state of the DDRs. The SCI forces the I/O state of the two associated
Port D lines. The timer also forces the I/O state of each associated Port A line when an output
compare using a Port A or Port J line is enabled. Both the PWM timer and the event counter
also override the associated DDR bits. In these cases the data direction bits will have no effect on
these lines.
When a pin is dedicated to an on-chip peripheral function, writes to the associated PORTx bit do
not affect the pin but are stored in an internal latch such that, if the pin becomes available for general
purpose output, the driven level will be the last value written to the PORTx bit.
4.1
MODE DEPENDENCIES
The MCU mode is controlled by two mode select bits (SMOD and MDA) in the HPRIO register which
are in turn controlled by the two mode select pins (MODA and MODB).
In the expanded modes (normal expanded and test), ports B, C, E and F, R/W, and LIR are dedicated
to address, data, and control signals and may not be used for alternate I/O functions. In order to
Freescale
Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
MC68HC11G5,
MC68HC11G7,
MC68HC711G5
相關(guān)PDF資料
PDF描述
MC68HC11G5CFN 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC84
MC68HC11L6VFU23 8-BIT, MROM, 3 MHz, MICROCONTROLLER, PQFP64
MC68HC11L6CFU22 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQFP64
MC68HC11L6VFU22 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQFP64
MC68HC11L6MFU22 8-BIT, MROM, 2 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC11G7 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller Unit
MC68HC11G7CFN 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
MC68HC11K0 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC11K0CFN2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8-Bit Microcontroller
MC68HC11K0CFN3 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8-Bit Microcontroller