Intel 8XC196NP, 80C196NU, Microcontroller manual Single Transfer Mode, Ptscon, Address Ptspcb +

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 127
Image 127

8XC196NP, 80C196NU USER’S MANUAL

PTSCON

Address: PTSPCB + 1

The PTS control (PTSCON) register selects the PTS mode and sets up control functions for that mode.

7

M2

M1

M0

 

 

 

 

0

 

 

 

 

Bit

Bit

 

 

 

Function

Number

Mnemonic

 

 

 

 

 

 

 

 

 

 

 

 

7:5

M2:0

PTS Mode

 

 

 

 

These bits select the PTS mode:

 

 

M2

M1

M0

 

 

 

0

0

0

block transfer

 

 

0

0

1

reserved

 

 

0

1

0

PWM toggle or remap

 

 

0

1

1

reserved

 

 

1

0

0

single transfer

 

 

1

0

1

reserved

 

 

1

1

0

reserved

 

 

1

1

1

reserved

 

 

 

 

 

 

The function of this bit depends upon which mode is selected. See the PTS control block description in each PTS mode section.

Figure 6-11. PTS Mode Selection Bits (PTSCON Bits 7:5)

6.6.3Single Transfer Mode

In single transfer mode, an interrupt causes the PTS to transfer a single byte or word (selected by the BW bit in PTSCON) from one memory location to another. This mode is typically used with serial I/O or synchronous serial I/O interrupts. It can also be used with the EPA to move captured time values from the event-time register to internal RAM for further processing. See AP-445, 8XC196KR Peripherals: A User’s Point of View, for application examples with code. Figure 6-12 shows the PTS control block for single transfer mode.

6-20

Page 127
Image 127
Intel 8XC196NP, 80C196NU, Microcontroller manual Single Transfer Mode, Ptscon, Address Ptspcb +