LFEBS12UB Freescale Semiconductor, LFEBS12UB Datasheet - Page 125

KIT STUDENT LEARNING S12 DG128

LFEBS12UB

Manufacturer Part Number
LFEBS12UB
Description
KIT STUDENT LEARNING S12 DG128
Manufacturer
Freescale Semiconductor
Datasheets

Specifications of LFEBS12UB

Architecture
8/16-bit
Code Gen Tools Included
Code Warrior
Silicon Manufacturer
Freescale
Core Architecture
S12
Core Sub-architecture
S12
Silicon Core Number
MC9S12
Silicon Family Name
S12D
Kit Contents
HCS12 DG128 Learning Kit
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
1. Read: Anytime.
2.3.21
Freescale Semiconductor
Function
Address 0x0240
Write: Anytime.
DDRK
Altern.
Field
Field
Reset
PTT
PTT
PTT
7-0
7-6
4-0
5
W
R
Port K Data Direction—
This register controls the data direction of pins 7 through 0.
The external bus function controls the data direction for the associated pins. In this case the data direction bits will
not change.
When operating a pin as a general purpose I/O, the associated data direction bit determines whether it is an input
or output.
1 Associated pin is configured as output.
0 Associated pin is configured as high-impedance input.
Port T general purpose input/output data—Data Register
Port T pins 7 through 0 are associated with ECT channels IOC7 and IOC6.
When not used with the alternative function, these pins can be used as general purpose I/O.
If the associated data direction bit of this pin is set to 1, a read returns the value of the port register, otherwise the
buffered pin input state is read.
Port T general purpose input/output data—Data Register
Port T pins 5 is associated with ECT channel IOC5 and the VREG_API output.
The ECT function takes precedence over the VREG_API and the general purpose I/O function if the related channel
is enabled.
When not used with the alternative function, these pins can be used as general purpose I/O.
If the associated data direction bit of this pin is set to 1, a read returns the value of the port register, otherwise the
buffered pin input state is read.
Port T general purpose input/output data—Data Register
Port T pins 4 through 0 are associated with ECT channels IOC4 through IOC0.
When not used with the alternative function, these pins can be used as general purpose I/O.
If the associated data direction bit of this pin is set to 1, a read returns the value of the port register, otherwise the
buffered pin input state is read.
PTT7
IOC7
Port T Data Register (PTT)
0
7
PTT6
IOC6
0
6
Table 2-19. DDRK Register Field Descriptions
Table 2-20. PTT Register Field Descriptions
MC9S12XE-Family Reference Manual , Rev. 1.23
Figure 2-19. Port T Data Register (PTT)
VREG_API
PTT5
IOC5
0
5
PTT4
IOC4
0
4
Description
Description
PTT3
IOC3
3
0
Chapter 2 Port Integration Module (S12XEPIMV1)
PTT2
IOC2
0
2
Access: User read/write
PTT1
IOC1
0
1
PTT0
IOC0
0
0
125
(1)

Related parts for LFEBS12UB