s908ab32ag0cfue Freescale Semiconductor, Inc, s908ab32ag0cfue Datasheet - Page 333

no-image

s908ab32ag0cfue

Manufacturer Part Number
s908ab32ag0cfue
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908ab32ag0cfueR
Manufacturer:
FREESCALE
Quantity:
20 000
17.9.2 Data Direction Register G (DDRG)
MC68HC908AB32
Freescale Semiconductor
Alternative Function:
Rev. 1.1
Address:
Address:
PTG[2:0] — Port G Data Bits
KBD[2:0] — The keyboard interrupt enable bits, KBIE[2:0], in the
keyboard interrupt enable register (KBIER), enable the port G pins as
external interrupt pins. See
(KBI).
Data direction register G determines whether each port G pin is an input
or an output. Writing logic 1 to a DDRG bit enables the output buffer for
the corresponding port G pin; a logic 0 disables the output buffer.
Reset:
Reset:
Read:
Read:
Write:
Write:
These read/write bits are software programmable. Data direction of
each port G pin is under the control of the corresponding bit in data
direction register G. Reset has no effect on port G data.
$000A
$000E
Bit 7
Figure 17-22. Port G Data Register (PTG)
Bit 7
Figure 17-23. Data Direction Register G (DDRG)
0
0
0
Input/Output (I/O) Ports
6
0
6
0
0
5
0
5
0
0
Section 19. Keyboard Interrupt Module
Unaffected by reset
4
0
4
0
0
3
0
3
0
0
DDRG2
PTG2
KBD2
2
2
0
Input/Output (I/O) Ports
DDRG1
PTG1
KBD1
1
1
0
Technical Data
DDRG0
PTG0
KBD0
Bit 0
Bit 0
0
333

Related parts for s908ab32ag0cfue