English
Language : 

MC9S12HY64 Datasheet, PDF (72/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12HYPIMV1)
2.3.4 Port B Data Register (PORTB)
Address 0x0001 (PRR)
7
6
5
4
3
2
R
PB7
PB6
PB5
PB4
PB3
PB2
W
Altern.
Function
BP3
BP2
BP1
BP0
FP39
FP38
Reset
0
0
0
0
0
0
Figure 2-2. Port B Data Register (PORTB)
1 Read: Anytime. The data source is depending on the data direction value.
Write: Anytime
Access: User read/write1
1
0
PB1
PB7
FP37
0
FP28
0
Field
7-0
PB
Table 2-5. PORTB Register Field Descriptions
Description
Port B general purpose input/output data—Data Register, LCD segment driver output
The associated pin can be used as general purpose I/O when not used as alternative function. In general purpose
output mode the register bit value is driven to the pin. If the associated data direction bit is set to 1, a read returns
the value of the port register bit, otherwise the buffered pin input state is read.
• The LCD segment driver output takes precedence over the general purpose I/O function if the related LCD
segment is enabled.
2.3.5 Port A Data Direction Register (DDRA)
Address 0x0002 (PRR)
R
W
Reset
7
DDRA7
0
1 Read: Anytime
Write: Anytime
6
DDRA6
5
DDRA5
4
DDRA4
3
DDRA3
2
DDRA2
0
0
0
0
0
Figure 2-3. Port A Data Direction Register (DDRA)
Access: User read/write1
1
0
DDRA1
DDRA0
0
0
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
72
Freescale Semiconductor