90
Chapter 2
Pin Functions
Preliminary User’s Manual U17566EE1V2UM00
2.4.16
Port group 12
Port group 12 is an 8-bit port group. In alternative mode, it comprises pins for
the following functions:
• Stepper Motor Controller/Driver outputs (SM51 to SM54, SM61 to SM64)
Port group 12 includes the following pins:
Note
Port group 12 is equipped with high driver buffers for stepper motor control.
Access
All 8-bit registers can be accessed in 8-bit or 1-bit units.
Table 2-46
Port group 12: pin functions and port types
Pin functions in different modes
Pin function
after reset
Port type
Port mode
(PMCnm = 0)
Alternative mode
(PMCnm = 1)
Output mode
(PMnm = 0)
Input mode
(PMnm = 1)
P120 (I/O)
SM51
–
P120 (I)
M
P121 (I/O)
SM52
–
P121 (I)
M
P122 (I/O)
SM53
–
P122 (I)
M
P123 (I/O)
SM54
–
P123 (I)
M
P124 (I/O)
SM61
–
P124 (I)
M
P125 (I/O)
SM62
–
P125 (I)
M
P126 (I/O)
SM63
–
P126 (I)
M
P127 (I/O)
SM64
–
P127 (I)
M
Table 2-47
Port group 12: configuration registers
Register
Address
Initial
value
Used bits
PM12
FFFF F438
H
FF
H
0
a
a)
The default value “0” of these pins must not be changed!
0
a
0
a
0
a
0
a
0
a
0
a
0
a
PMC12
FFFF F458
H
00
H
PMC127
PMC126
PMC125
PMC124
PMC123
PMC122
PMC121
PMC120
P12
FFFF F418
H
00
H
P127
P126
P125
P124
P123
P122
P121
P120
PPR12
FFFF F3D8
H
00
H
PPR127
PPR126
PPR125
PPR124
PPR123
PPR122
PPR121
PPR120
PICC12
FFFF F398
H
00
H
PICC127
PICC126
PICC125
PICC124
PICC123
PICC122
PICC121
PICC120
PODC12
FFFF F378
H
00
H
PODC127
PODC126
PODC125
PODC124
PODC123
PODC122
PODC121
PODC120
electronic components distributor