sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 81

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
6.3.4
Port D pins are general-purpose I/O pins. Parallel I/O function is controlled by the port D data (PTDD) and
data direction (PTDDD) registers which are located in page zero register space. The pin control registers,
pullup enable (PTDPE), slew rate control (PTDSE), and drive strength select (PTDDS) are located in the
high page registers. Refer to
general-purpose I/O control and
Port D general-purpose I/O are shared with the ADC. When any of these shared functions 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. When a pin is shared with both the ADC and a digital peripheral function, the ADC has
higher priority. For example, in the case that the ADC are configured to use PTD3, then the pin is
controlled by the ADC module.
Refer to
port D pins as analog inputs.
6.3.5
Port E pins are general-purpose I/O pins. Parallel I/O function is controlled by the port E data (PTED) and
data direction (PTEDD) registers which are located in page zero register space. The pin control registers,
pullup enable (PTEPE), slew rate control (PTESE), and drive strength select (PTEDS) are located in the
high page registers. Refer to
general-purpose I/O control and
Port E general-purpose I/O is shared with TPM1 timer channels and SCI. When any of these shared
functions 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 E pins as SCI pins.
Refer to
channel pins.
Freescale Semiconductor
Port E
Chapter 11, “Analog-to-Digital Converter
Chapter 10, “Serial Communications Interface
Chapter 9, “Timer/PWM
Port D
Port E
Port D
MCU Pin:
MCU Pin:
PTE7
Bit 7
Section 6.4, “Parallel I/O
Section 6.4, “Parallel I/O
Bit 7
R
SC9S08MZ16 MCU Data Sheet, Rev. 0 Draft C
Section 6.5, “Pin
Section 6.5, “Pin
(S08TPMV3)”
PTE6
6
Figure 6-5. Port D Pin Names
Figure 6-6. Port E Pin Names
R
6
PTE5
5
R
5
for more information about using port E pins as TPM
Control” for more information about pin control.
Control” for more information about pin control.
(S08ADC10V1)” for more information about using
Control” for more information about
Control” for more information about
PTE4
(S08SCIV4)”
4
R
4
TPM1CH1
AD1P11
PTD3/
PTE3/
3
3
for more information about using
AD1P10
TPM1CH0
PTD2/
PTE2/
2
2
Chapter 6 Parallel Input/Output
AD1P9
PTD1/
1
PTE1/
RxD1
1
AD1P8
PTD0/
Bit 0
PTE0/
TxD1
Bit 0
81

Related parts for sc9s08mz16