Intel 8XC196MC User Manual page 165

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
Internal Bus
WG_OUTPUT
WG_OUTPUT (Port 6)
The port 6 output configuration (WG_OUTPUT) register controls port 6 functions. If you are using port
6 for general-purpose outputs, write C0H (for active-high outputs) or 00H (for active-low outputs) to
the high byte of WG_OUTPUT, and write the desired pin values to the low byte. If you are using port 6
for waveform generator or PWM outputs, please refer to Chapter 9, "Waveform Generator" or Chapter
10, "Pulse-width Modulator" for a description of the WG_OUTPUT register functions.
15
OP1
OP0
7
D7
D6
Bit
Bit
Number
Mnemonic
15:14
OP1:0
13
12:8
M7:0
Figure 6-5. Port 6 Output Configuration (WG_OUTPUT) Register
6-18
Combinational Logic
Figure 6-4. Output-only Port
M7
D5
D4
Output Polarity
These bits select the output polarity of the port 6 pins.
0 = active-low outputs
1 = active-high outputs
Reserved; for compatibility with future devices, write zero to this bit.
Mode
These bits select either the peripheral function or general-purpose
output function of the port 6 pins. Clear these bits for general-purpose
output.
Get other manuals https://www.bkmanuals.com
Vcc
Q1
Output Pin
Q2
Address:
Reset State:
M6
M5:4
M3:2
D3
D2
Function
A2764-01
1FC0H
0000H
8
M1:0
0
D1
D0

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents