8XC196MC, MD, MH USER’S MANUAL

C-42

PTSSEL
PTSSEL Address:
Reset State: 0004H
0000H
The PTS select (PTSSEL) regi ster selects either a PTS m icrocode routine or a stan dard interrupt
service routine for each interrupt request. Se tting a bit selects a PTS micro code routine; clearing a bit
selects a standard interrupt se rvice routine. When PTSCOUNT reaches zero, hardware clears the
corresponding PTSSEL bit. The PTSSEL bit must be set manually to re-enabl e the PTS channel.
15 8
8XC196MC EXTINT PI COMP3 EPA3
7 0
COMP2 EPA2 COMP1 EPA1 COMP0 EPA0 AD OVRTM
15 8
8XC196MD EXTINT PI EPA5 COMP4 EPA4 COMP3 E PA3
7 0
COMP2 EPA2 COMP1 EPA1 COMP0 EPA0 AD OVRTM
15 8
8XC196MH EXTINT WG SPI RI1 RI0 TI1 TI0
7 0
COMP3 COMP2 COMP1 EPA1 COMP0 EPA0 AD OVRTM
Bit
Number Function
15 Reserved; for compatibility with future devices, write ze ro to this bit.
14:0Setting a bit causes the correspond ing interrupt to be handled by a PTS microcode routine.
The PTS interrupt vector locat ions are as follows:
Bit Mnemonic PTS Vector Bit Mnemonic PTS Vector
EXTINT 205CH TI0 (MH) 2050H
PI (MC, MD)†† 205AH COMP2 (MC,MD) 204E H
WG (MH) 205AH COMP3 (MH) 204EH
EPA5 (MD) 2058H EPA2 (MC, MD) 204CH
SPI (MH)†† 2058H COMP2 ( MH) 204CH
COMP4 (MD) 2056H COMP1 204AH
RI1 (MH) 2056H E PA1 2048H
EPA4 (MD) 2054H COMP0 2046H
RI0 (MH) 2054H E PA0 2044H
COMP3 (MC, MD) 2052H AD 2042H
TI1 (MH) 2052H OV RTM†† 2040H
EPA3 (MC, MD) 2050H
†† PTS service is not useful for multiplexed interrupts because the PTS cannot read ily
determine the source of these interrupts.
On the 8XC196MC device bits 10–12 are reserved. For compatibility with future devices, write zeros
to these bits.