mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 86

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1
1
Port Integration Module (S12VRPIMV2)
2.3.40
86
Function
Address 0x0271
Address 0x0273
PTI1AD
Read: Anytime. The data source is depending on the data direction value.
Write: Anytime
PT1AD
Read: Anytime
Write:Never
Altern.
Field
Field
Reset
Reset
5-0
5-0
W
W
R
R
PorT data register 1 port AD — General-purpose input/output data, ADC AN analog input
When not used with the alternative function, the associated pin can be used as general-purpose I/O. In
general-purpose output mode the register bit value is driven to the pin.
If the associated data direction bit set to 1, a read returns the value of the port register bit. If the data direction bit is
set to 0 and the ADC Digital Input Enable Register (ATDDIEN) is set to 1 the synchronized pin input state is read.
PorT Input data register 1 port AD —
A read always returns the synchronized input state of the associated pin if the ADC Digital Input Enable Register
(ATDDIEN) is set to 1. Else a logic 1 is read. It can be used to detect overload or short circuit conditions on output
pins.
Port AD Input Register (PTI1AD)
0
0
0
0
7
7
0
0
0
0
6
6
Table 2-42. PTI1AD Register Field Descriptions
Table 2-41. PT1AD Register Field Descriptions
Figure 2-38. Port AD Data Register (PT1AD)
Figure 2-39. Port P Input Register (PTI1AD)
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
PTI1AD5
PT1AD5
AN5
5
0
5
0
PTI1AD4
PT1AD4
AN4
0
0
4
4
Description
Description
u = Unaffected by reset
PTI1AD3
PT1AD3
AN3
0
0
3
3
Rev. 2.2
PTI1AD2
PT1AD2
AN2
0
0
2
2
PTI1AD1
PT1AD1
Freescale Semiconductor
Access: User read/write
Access: User read only
AN1
0
0
1
1
PTI1AD0
PT1AD0
AN0
0
0
0
0
1
1

Related parts for mc9s12vr48