mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 214

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D
D.2.4 DDRGP — Port GP Data Direction Register
DDRGP[7:0] — Parallel Data Direction Register
PORTGP[7:0] — Parallel Data Register
D.2.5 OC1M— OC1 Action Mask Register
OC1M[5:1] — OC1 Mask
OC1D[5:1] — OC1 Data
D.2.6 TCNT — Timer Counter Register
D-6
15
15
0
0
When GPT pins are used as an 8-bit port, DDRGP determines whether pins are input
or output and PORTGP holds the 8-bit data.
All OC outputs can be controlled by the action of OC1. OC1M contains a mask that
determines which pins are affected. OC1D determines what outputs are affected.
OC1M[5:1] correspond to OC[5:1].
OC1D[5:1] correspond to OC[5:1].
TCNT is the 16-bit free-running counter associated with the input capture, output com-
pare, and pulse accumulator functions of the GPT module.
RESET:
RESET:
PORTGP — Port GP Data Register
0 = Input only
1 = Output
OC1D — OC1 Action Data Register
0 = Corresponding output compare pin is not affected by OC1 compare.
1 = Corresponding output compare pin is affected by OC1 compare.
0 =If OC1 mask bit is set, clear corresponding output compare pin on OC1 match.
1 =If OC1 mask bit is set, set corresponding output compare pin on OC1 match.
0
0
OC1M
0
0
0
0
DDRGP
Freescale Semiconductor, Inc.
11
For More Information On This Product,
0
0
10
0
0
0
Go to: www.freescale.com
REGISTER SUMMARY
0
9
0
0
8
0
8
0
0
7
0
7
0
0
0
OC1D
0
0
0
0
PORTGP
0
3
0
USER’S MANUAL
0
2
0
0
$YFF90A
$YFF906
$YFF907
$YFF908
$YFF909
0
1
0
0
MC68331
0
0
0
0
0

Related parts for mc68331cpv20b1