mc68hc05x4dw Freescale Semiconductor, Inc, mc68hc05x4dw Datasheet - Page 63

no-image

mc68hc05x4dw

Manufacturer Part Number
mc68hc05x4dw
Description
Xc68hc705x4 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1-ports
Contents
Introduction
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Input/output programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Port A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Port B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Port registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
In single chip mode there are 16 lines arranged as two 8-bit I/O ports.
The I/O ports are programmable as either inputs or outputs under
software control of the data direction registers. Wired-OR Interrupt
capability (refer to Resets) and/or a pull-down device can be activated
under software control on each I/O pin.
To avoid glitches on the output pins data should be written to the I/O port
data register before setting the pin to output mode, by writing a ‘1’ to the
corresponding data direction register.
Freescale Semiconductor, Inc.
Port A data register (PADR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Port B data register (PBDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Port configuration register (PCR) . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Port A data direction register (PADDR) . . . . . . . . . . . . . . . . . . . . . 67
Port B data direction register (PBDDR) . . . . . . . . . . . . . . . . . . . . . 67
For More Information On This Product,
Go to: www.freescale.com
Parallel input/output ports
Parallel input/output ports
General Description
MC68HC05X4 Rev 1.0

Related parts for mc68hc05x4dw