Intel 8XC196MH, 8XC196MD, 8XC196MC manual Wgoutput Port, Reset State 0000H

Models: 8XC196MD 8XC196MH 8XC196MC

1 579
Download 579 pages 24.12 Kb
Page 166
Image 166

 

 

I/O PORTS

 

 

 

WG_OUTPUT (Port 6) (Continued)

Address:

1FC0H

 

Reset State:

0000H

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

M7

7

 

 

 

 

 

 

 

D7

D6

D5

D4

 

 

 

 

8

M6

M5:4

M3:2

M1:0

 

 

 

0

 

 

 

 

D3

D2

D1

D0

 

 

 

 

Bit

Bit

Function

Number

Mnemonic

 

 

 

 

7:0

D7:0

Data

 

 

In general-purpose output mode, these bits hold the values to be driven

 

 

out on the pins. Write the desired values to these bits (bits 7:0

 

 

correspond to pins P6.7:0).

 

 

 

Figure 6-5. Port 6 Output Configuration (WG_OUTPUT) Register (Continued)

6-19

Page 166
Image 166
Intel 8XC196MH, 8XC196MD, 8XC196MC manual Wgoutput Port, Reset State 0000H