mc9s08jm60 Freescale Semiconductor, Inc, mc9s08jm60 Datasheet - Page 81

no-image

mc9s08jm60

Manufacturer Part Number
mc9s08jm60
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CLD
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLDR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
2 500
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08jm60CLHE
Manufacturer:
AZBIL
Quantity:
1 000
Chapter 6
Parallel Input/Output
6.1
This chapter explains software controls related to parallel input/output (I/O). The MC9S08JM60 has seven
I/O ports which include a total of 51 general-purpose I/O pins. See
more information about the logic and hardware aspects of these pins.
Not all pins are available on all devices. See
specific device.
Many of the I/O pins are shared with on-chip peripheral functions, as shown in
modules have priority over the I/Os, so when a peripheral is enabled, the I/O functions are disabled.
After reset, the shared peripheral functions are disabled so that the pins are controlled by the parallel I/O.
All of the parallel I/O are configured as inputs (PTxDDn = 0). The pin control functions for each pin are
configured as follows: slew rate control enabled (PTxSEn = 1), low drive strength selected (PTxDSn = 0),
and internal pullups disabled (PTxPEn = 0).
6.2
Reading and writing of parallel I/O is done through the port data registers. The direction, input or output,
is controlled through the port data direction registers. The parallel I/O port function for an individual pin
is illustrated in the block diagram below.
Freescale Semiconductor
Introduction
Port Data and Data Direction
Not all general-purpose I/O pins are available on all packages. To avoid
extra current drain from floating input pins, the user’s reset initialization
routine in the application program must either enable on-chip pullup devices
or change the direction of unconnected pins to outputs so the pins do not
float.
MC9S08JM60 Series Data Sheet, Rev. 2
Table 2-1
NOTE
to determine which functions are available for a
Chapter 2, “Pins and
Table
2-1. The peripheral
Connections,” for
81

Related parts for mc9s08jm60