Output-Only Port Operation; Configuring Output-Only Port Pins - Intel 8XC196MC User Manual

Table of Contents

Advertisement

Port Pin
P6.0
P6.1
P6.2
P6.3
P6.4
P6.5
P6.6
P6.7
Mnemonic
Address
WG_OUTPUT
1FC0H
6.5.1

Output-only Port Operation

Figure 6-4 shows a simplified circuit schematic for port 6. Port 6 has a single configuration and
control register, WG_OUTPUT. Transistor Q1 can source at least –200 µA at V
pins P6.0–P6.5, transistor Q2 can sink at least 10 mA at 0.45 volts. For pins P6.6 and P6.7, Q2
can sink at least 200 µA at 0.3 volts.
6.5.2

Configuring Output-only Port Pins

Port 6 has a single configuration register, WG_OUTPUT (Figure 6-5). This register controls the
pin functions, values, and output polarity. This register can be addressed either as a word or as
separate bytes, and it can be windowed. The functions of this register are different for configuring
general-purpose outputs than for configuring waveform generator and PWM outputs.
Table 6-14. Standard Output-only Port Pins
Special-function
Signal(s)
WG1#
WG1
WG2#
WG2
WG3#
WG3
PWM0
PWM1
Table 6-15. Output-only Port Control Register
Port 6 Output Control Register
This register controls the port 6 pins in I/O mode. Its functions differ when the
port 6 pins are being used as waveform generator or PWM outputs.
Get other manuals https://www.bkmanuals.com
Special-function
Signal Type
Output
Output
Output
Output
Output
Output
Output
Output
Description
I/O PORTS
Associated
Peripheral
Waveform generator
Waveform generator
Waveform generator
Waveform generator
Waveform generator
Waveform generator
PWM
PWM
–0.3 volts. For
CC
6-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents