sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 80

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 6 Parallel Input/Output
6.3.2
Port B pins are general-purpose I/O pins. Parallel I/O function is controlled by the port B data (PTBD) and
data direction (PTBDD) registers which are located in page zero register space. The pin control registers,
pullup enable (PTBPE), slew rate control (PTBSE), and drive strength select (PTBDS) are located in the
high page registers. Refer to
general-purpose I/O control and
Port B general-purpose I/O are shared with the ADC and TPM3 timer channels. Any pin enabled as an
ADC input will have the general-purpose I/O function disabled. When any TPM3 function is enabled, the
direction (input or output) is controlled by the TPM3 and not by the data direction register of the parallel
I/O port. Refer to
as TPM channels. Refer to
information about using port B as analog inputs.
6.3.3
Port C pins are general-purpose I/O pins. Parallel I/O function is controlled by the port C data (PTCD) and
data direction (PTCDD) registers which are located in page zero register space. The pin control registers,
pullup enable (PTCPE), slew rate control (PTCSE), and drive strength select (PTCDS) are located in the
high page registers. Refer to
general-purpose I/O control and
Port C general-purpose I/O is shared with SCI2 and MCLK. When any shared function is enabled, the
direction, input or output, is controlled by the shared function and not by the data direction register of the
parallel I/O port. Also, for pins which are configured as outputs by the shared function, the output data is
controlled by the shared function and not by the port data register.
Refer to
port C pins as SCI pins.
Refer to
PTC2 as the MCLK pin.
80
Port B
Chapter 10, “Serial Communications Interface
Chapter 5, “Resets, Interrupts, and System
MCU Pin:
Port C
Port B
Port C
MCU Pin:
Chapter 9, “Timer/PWM
Bit 7
R
Bit 7
Chapter 11, “Analog-to-Digital Converter
0
Section 6.4, “Parallel I/O
Section 6.4, “Parallel I/O
SC9S08MZ16 MCU Data Sheet, Rev. 0 Draft C
Section 6.5, “Pin
Section 6.5, “Pin
R
6
R
6
Figure 6-3. Port B Pin Names
Figure 6-4. Port C Pin Names
(S08TPMV3),” for more information about using port B pins
R
5
PTC5/
RxD2
5
Control” for more information about pin control.
Control” for more information about pin control.
Configuration” for more information about using
R
Control” for more information about
Control” for more information about
4
PTC4
(S08SCIV4)” for more information about using
3
AD1P3
PTB3/
PTC3/
TxD2
3
3
(S08ADC10V1)” for more
AD1P2
PTB2/
PTC2/
MCLK
2
2
TPM3CH1/
Freescale Semiconductor
AD1P1
PTC1
PTB1/
1
1
TPM3CH0/
PTC0
Bit 0
AD1P0
PTB0/
Bit 0

Related parts for sc9s08mz16