s908ab32ag0cfue Freescale Semiconductor, Inc, s908ab32ag0cfue Datasheet - Page 320

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
Input/Output (I/O) Ports
17.5 Port C
17.5.1 Port C Data Register (PTC)
Technical Data
320
Alternative Function:
Address:
When DDRBx is a logic 1, reading address $0001 reads the PTBx data
latch. When DDRBx is a logic 0, reading address $0001 reads the
voltage level on the pin. The data latch can always be written, regardless
of the state of its data direction bit.
Table 17-3
Port C is a 6-bit general-purpose bidirectional I/O port. PTC2 pin can be
configured as an output pin for the system MCLK clock.
The port C data register contains a data latch for each of the six port C
pins.
Notes:
Reset:
1. X = don’t care.
2. Hi-Z = high impedance.
3. Writing affects data register, but does not affect input.
Read:
DDRB
Write:
Bit
0
1
$0002
Bit 7
PTB Bit
Figure 17-8. Port C Data Register (PTC)
0
X
summarizes the operation of the port B pins.
X
(1)
Input/Output (I/O) Ports
6
0
Table 17-3. Port B Pin Functions
Input, Hi-Z
I/O Pin Mode
Output
PTC5
5
(2)
Accesses to DDRB
Unaffected by reset
PTC4
4
DDRB[7:0]
DDRB[7:0]
Read/Write
PTC3
3
MC68HC908AB32
MCLK
PTC2
Freescale Semiconductor
PTB[7:0]
2
Read
Pin
Accesses to PTB
PTC1
1
PTB[7:0]
PTB[7:0]
Write
Rev. 1.1
PTC0
Bit 0
(3)

Related parts for s908ab32ag0cfue