Intel 8XC196K Series User Manual page 7

Table of Contents

Advertisement

CONTENTS
5.6.1
Specifying the PTS Count .......................................................................................5-19
5.6.2
Selecting the PTS Mode .........................................................................................5-21
5.6.3
Single Transfer Mode ..............................................................................................5-21
5.6.4
Block Transfer Mode ...............................................................................................5-24
5.6.5
A/D Scan Mode .......................................................................................................5-26
5.6.5.1
A/D Scan Mode Cycles ......................................................................................5-29
5.6.5.2
A/D Scan Mode Example 1 ................................................................................5-29
5.6.5.3
A/D Scan Mode Example 2 ................................................................................5-30
5.6.6
PWM Modes ...........................................................................................................5-31
5.6.6.1
PWM Toggle Mode Example .............................................................................5-32
5.6.6.2
PWM Remap Mode Example .............................................................................5-37
CHAPTER 6
6.1
I/O PORTS OVERVIEW ................................................................................................ 6-1
6.2
INPUT-ONLY PORT 0 ................................................................................................... 6-1
6.2.1
Standard Input-only Port Operation ..........................................................................6-2
6.2.2
Standard Input-only Port Considerations ..................................................................6-3
6.3
BIDIRECTIONAL PORTS 1, 2, 5, AND 6 ...................................................................... 6-4
6.3.1
Bidirectional Port Operation ......................................................................................6-6
6.3.2
Bidirectional Port Pin Configurations .......................................................................6-10
6.3.3
Bidirectional Port Pin Configuration Example .........................................................6-11
6.3.4
Bidirectional Port Considerations ............................................................................6-12
6.3.5
Design Considerations for External Interrupt Inputs ...............................................6-15
6.4
BIDIRECTIONAL PORTS 3 AND 4 (ADDRESS/DATA BUS)...................................... 6-15
6.4.1
Bidirectional Ports 3 and 4 (Address/Data Bus) Operation .....................................6-16
6.4.2
Using Ports 3 and 4 as I/O ......................................................................................6-18
6.4.3
Design Considerations for Ports 3 and 4 ................................................................6-19
CHAPTER 7
7.1
SERIAL I/O (SIO) PORT FUNCTIONAL OVERVIEW ................................................... 7-1
7.2
SERIAL I/O PORT SIGNALS AND REGISTERS .......................................................... 7-2
7.3
SERIAL PORT MODES ................................................................................................. 7-4
7.3.1
Synchronous Mode (Mode 0) ....................................................................................7-4
7.3.2
Asynchronous Modes (Modes 1, 2, and 3) ...............................................................7-6
7.3.2.1
Mode 1 .................................................................................................................7-6
7.3.2.2
Mode 2 .................................................................................................................7-7
7.3.2.3
Mode 3 .................................................................................................................7-7
7.3.2.4
Mode 2 and 3 Timings ..........................................................................................7-7
7.3.2.5
Multiprocessor Communications ..........................................................................7-8
7.4
PROGRAMMING THE SERIAL PORT .......................................................................... 7-8
7.4.1
Configuring the Serial Port Pins ................................................................................7-8
7.4.2
Programming the Control Register ............................................................................7-8
vi

Advertisement

Table of Contents
loading

Table of Contents