English
Language : 

S912XEG128J2MAA Datasheet, PDF (155/1324 Pages) Freescale Semiconductor, Inc – Microcontrollers
2.3.69 Port AD0 Data Register 0 (PT0AD0)
Chapter 2 Port Integration Module (S12XEPIMV1)
Address 0x0270
7
R
PT0AD07
W
Altern.
Function
AN15
Reset
0
1. Read: Anytime.
Write: Anytime.
6
PT0AD06
5
PT0AD05
4
PT0AD04
3
PT0AD03
2
PT0AD02
AN14
AN13
AN12
AN11
AN10
0
0
0
0
0
Figure 2-67. Port AD0 Data Register 0 (PT0AD0)
Access: User read/write(1)
1
0
PT0AD01 PT0AD00
AN9
AN8
0
0
Table 2-65. PT0AD0 Register Field Descriptions
Field
Description
7-0
PT0AD0
Port AD0 general purpose input/output data—Data Register
This register is associated with ATD0 analog inputs AN[15:8] on PAD[15:8], respectively.
When not used with the alternative function, this pin can be used as general purpose I/O.
If the associated data direction bits of these pins are set to 1, a read returns the value of the port register, otherwise
the buffered pin input state is read.
2.3.70 Port AD0 Data Register 1 (PT1AD0)
Address 0x0271
7
R
PT1AD07
W
Altern.
Function
AN7
Reset
0
1. Read: Anytime.
Write: Anytime.
6
PT1AD06
5
PT1AD05
4
PT1AD04
3
PT1AD03
2
PT1AD02
AN6
AN5
AN4
AN3
AN2
0
0
0
0
0
Figure 2-68. Port AD0 Data Register 1 (PT1AD0)
Access: User read/write(1)
1
0
PT1AD01 PT1AD00
AN1
AN0
0
0
Table 2-66. PT1AD0 Register Field Descriptions
Field
Description
7-0
PT1AD0
Port AD0 general purpose input/output data—Data Register
This register is associated with ATD0 analog inputs AN[7:0] on PAD[7:0], respectively.
When not used with the alternative function, these pins can be used as general purpose I/O.
If the associated data direction bits of these pins are set to 1, a read returns the value of the port register, otherwise
the buffered pin input state is read.
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
155