PIC16F716-I/SS Microchip Technology Inc., PIC16F716-I/SS Datasheet - Page 58

no-image

PIC16F716-I/SS

Manufacturer Part Number
PIC16F716-I/SS
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 13 I/O, SSOP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F716-I/SS

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
13
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin SSOP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F716
8.3.8
The PWM mode supports an Auto-Shutdown mode that
will disable the PWM outputs when an external
shutdown event occurs. Auto-Shutdown mode places
the PWM output pins into a predetermined state. This
mode is used to help prevent the PWM from damaging
the application.
The auto-shutdown sources are selected using the
ECCPASx bits of the ECCPAS register. A shutdown
event may be generated by:
• A logic ‘0’ on the INT pin
• Setting the ECCPASE bit in firmware
A shutdown condition is indicated by the ECCPASE
(Auto-Shutdown Event Status) bit of the ECCPAS
register. If the bit is a ‘0’, the PWM pins are operating
normally. If the bit is a ‘1’, the PWM outputs are in the
shutdown state. Refer to Figure 8-5.
FIGURE 8-5:
DS41206B-page 56
From Comparator C2
From Comparator C1
INT
ENHANCED PWM AUTO-
SHUTDOWN MODE
ECCPAS<2:0>
AUTO-SHUTDOWN BLOCK DIAGRAM
111
110
101
100
011
010
001
000
From Data Bus
Write to ECCPASE
PRSEN
R
D
Q
S
When a shutdown event occurs, two things happen:
The ECCPASE bit is set to ‘1’. The ECCPASE will
remain set until cleared in firmware or an auto-restart
occurs (see Section 8.3.9 “Auto-Restart Mode”).
The enabled PWM pins are asynchronously placed in
their shutdown states. The PWM output pins are
grouped into pairs [P1A/P1C] and [P1B/P1D]. The state
of each pin pair is determined by the PSSAC and
PSSBD bits of the ECCPAS register. Each pin pair may
be placed into one of three states:
• Drive logic ‘1’
• Drive logic ‘0’
• Tri-state (high-impedance)
ECCPASE
PSSAC<1>
PSSAC<1>
PSSBD<1>
PSSBD<1>
PSSAC<0>
P1A_DRV
PSSAC<0>
P1C_DRV
PSSBD<0>
P1B_DRV
PSSBD<0>
P1D_DRV
© 2007 Microchip Technology Inc.
TRISx
TRISx
TRISx
TRISx
1
0
1
0
1
0
1
0
P1A
P1B
P1C
P1D

Related parts for PIC16F716-I/SS