mc908jl16 Freescale Semiconductor, Inc, mc908jl16 Datasheet - Page 145

no-image

mc908jl16

Manufacturer Part Number
mc908jl16
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc908jl16CDWE
Manufacturer:
Freescale
Quantity:
2 865
Part Number:
mc908jl16CDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc908jl16CFA
Manufacturer:
JAE
Quantity:
332
Part Number:
mc908jl16CFJE
Manufacturer:
Freescale Semiconductor
Quantity:
1 806
Part Number:
mc908jl16CFJE
Manufacturer:
FREESCALE
Quantity:
2 654
Part Number:
mc908jl16CFJE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc908jl16CFJE
Manufacturer:
FREESCALE
Quantity:
2 654
Part Number:
mc908jl16CFJE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc908jl16CFJER
Manufacturer:
Freescale Semiconductor
Quantity:
29 890
Part Number:
mc908jl16CFJER
Manufacturer:
Freescale
Quantity:
198
Part Number:
mc908jl16CFJER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc908jl16CPE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc908jl16CSPE
Manufacturer:
FREESCALE
Quantity:
20 000
10.4.1 Port D Data Register (PTD)
The port D data register contains a data latch for each of the eight port D pins.
PTD[7:0] — Port D Data Bits
ADC11–ADC8 — ADC channels 11 to 8
T1CH1, T1CH0 — Timer 1 Channel I/Os
TxD, RxD — SCI Data I/O Pins
SDA and SCL — MMIIC Module Pins
Freescale Semiconductor
These read/write bits are software programmable. Data direction of each port D pin is under the control
of the corresponding bit in data direction register D. Reset has no effect on port D data.
ADC[11:8] are pins used for the input channels to the analog-to-digital converter module. The channel
select bits, ADCH[4:0], in the ADC status and control register define which port pin will be used as an
ADC input. See
The T1CH1 and T1CH0 pins are the TIM1 input capture/output compare pins. The edge/level select
bits, ELSxB:ELSxA, determine whether the PTD4/T1CH0 and PTD5/T1CH1 pins are timer channel I/O
pins or general-purpose I/O pins. See
The TxD and RxD pins are the transmit data output and receive data input for the SCI module. The
enable SCI bit, ENSCI, in the SCI control register 1 enables the PTD6/TxD and PTD7/RxD pins as SCI
TxD and RxD pins and overrides any control from the port I/O logic. See
Communications Interface
The MMIIC pins can be configured to use PTD6 and PTD7 as IIC communication pins, see
Chapter 8 Multi-Master IIC Interface
using CONFIG2 option bit, to allow PTD6/PTD7 to be MMIIC pins (see
Register 2
Alternative Functions:
Alternative Functions:
Additional Functions
(CONFIG2)).
When a pin is to be used as an ADC channel, the user must make sure that
any pin that is shared with another module is disabled and pin is configured
as input port.
Address: $0003
Chapter 9 Analog-to-Digital Converter
Reset:
Read:
Write:
(Slow Edge)
25mA sink
(Sink)
pull-up
PTD7
Bit 7
SDA
LED
RxD
(SCI).
Figure 10-10. Port D Data Register (PTD)
= Unimplemented
(Slow Edge)
25mA sink
MC68HC908JL16 Data Sheet, Rev. 1.1
(Sink)
pull-up
PTD6
SCL
TxD
LED
6
(MMIIC). The position of MMIIC module pins is user selectable
Chapter 6 Timer Interface Module
T1CH1
PTD5
5
NOTE
Unaffected by reset
T1CH0
PTD4
4
(ADC).
(Sink)
ADC8
PTD3
LED
3
(Sink)
ADC9
PTD2
LED
Figure 3-3. Configuration
2
(TIM).
Chapter 7 Serial
ADC10
PTD1
1
ADC11
PTD0
Bit 0
Port D
145

Related parts for mc908jl16