mc9s08sg4 Freescale Semiconductor, Inc, mc9s08sg4 Datasheet - Page 75

no-image

mc9s08sg4

Manufacturer Part Number
mc9s08sg4
Description
8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08sg4MTJG
Manufacturer:
FREESCALE
Quantity:
20 000
1
2
6.3
The MC9S08SG8 devices contain a feature that allows for up to eight port pins to be tied together
externally to allow higher output current drive. The ganged output drive control register (GNGC) is a
write-once register that is used to enabled the ganged output feature and select which port pins will be used
as ganged outputs. The GNGEN bit in GNGC enables ganged output. The GNGPS[7:1] bits are used to
select which pin will be part of the ganged output.
When GNGEN is set, any pin that is enabled as a ganged output will be automatically configured as an
output and follow the data, drive strength and slew rate control of PTC0. The ganged output drive pin
mapping is shown in
Freescale Semiconductor
Drive Strength
Data Direction
Ganged output not available on 8-pin packages. PTC3-PTC0 not available on 16-pin packages, however PTC0 control
registers are still used to control ganged output.
When GNGEN = 1, PTC0 is forced to an output, regardless of the value in PTCDD0 in PTCDD.
Slew Rate
Port Pin
Control
Control
Control
Control
Data
Ganged Output
2
See the DC characteristics in the electrical section for maximum Port I/O
currents allowed for this MCU.
When a pin is enabled as ganged output, this feature will have priority over
any digital module. An enabled analog function will have priority over the
ganged output pin. See
GNGPS7
PTB5
Table
6-1.
Pin is automatically configured as output when pin is enabled as ganged output.
GNGPS6
PTB4
MC9S08SG8 MCU Series Data Sheet, Rev. 3
Table 6-1. Ganged Output Pin Enable
Table 2-1
PTCDS0 in PTCDS controls drive strength of output
GNGPS5
PTCSE0 in PTCSE controls slew rate of output
PTB3
PTCD0 in PTCD controls data value of output
for information on pin priority.
NOTE
GNGPS4
GNGC Register Bits
PTB2
GNGPS3
PTC3
GNGPS2
Chapter 6 Parallel Input/Output Control
PTC2
GNGPS1
PTC1
GNGEN
PTC0
1
75

Related parts for mc9s08sg4