PIC16F716 Microchip Technology, PIC16F716 Datasheet - Page 49

no-image

PIC16F716

Manufacturer Part Number
PIC16F716
Description
8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-1/P4AP
Manufacturer:
a
Quantity:
4
Part Number:
PIC16F716-E/ML
0
Part Number:
PIC16F716-E/SO
Manufacturer:
PIC
Quantity:
5 510
Part Number:
PIC16F716-E/SO
Manufacturer:
AMD
Quantity:
5 510
Part Number:
PIC16F716-E/SS
Manufacturer:
BCD
Quantity:
10
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP
Quantity:
5 373
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F716-I/P
Quantity:
6 994
Company:
Part Number:
PIC16F716-I/P
Quantity:
3 900
Part Number:
PIC16F716-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-I/SO
0
Company:
Part Number:
PIC16F716-I/SO
Quantity:
2 000
Company:
Part Number:
PIC16F716-I/SO
Quantity:
1 680
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
7.4.5.1
The auto-shutdown feature can be configured to allow
automatic restarts of the module following a shutdown
event. This is enabled by setting the PRSEN bit of the
PWM1CON register (PWM1CON<7>).
In Shutdown mode with PRSEN = 1 (PWM1CON <7>)
(Figure 7-15), the ECCPASE bit will remain set for as
long as the cause of the shutdown continues. When the
shutdown condition clears, the ECCPASE bit is
cleared. If PRSEN = 0 (Figure 7-16), once a shutdown
condition occurs, the ECCPASE bit will remain set until
it is cleared by firmware. Once ECCPASE is cleared,
the enhanced PWM will resume at the beginning of the
next PWM period.
The ECCPASE bit cannot be cleared as long as the
cause of the shutdown persists.
The Auto-shutdown mode can be forced by writing a '1'
to the ECCPASE bit.
FIGURE 7-15:
FIGURE 7-16:
 2003 Microchip Technology Inc.
Note:
Shutdown
Shutdown
ECCPASE bit
PWM
ECCPASE bit
PWM
Writing to the ECCPASE bit is disabled
while a shutdown condition is active.
Auto-Shutdown and Automatic
Restart
Activity
Activity
Event
Event
PWM Period
PWM Period
PWM AUTO-SHUTDOWN (PRSEN = 1, AUTO-RESTART ENABLED)
PWM AUTO-SHUTDOWN (PRSEN = 0, AUTO-RESTART DISABLED)
Start of
Start of
Normal PWM
Normal PWM
Preliminary
Event Occurs
Event Occurs
PWM Period
Shutdown
PWM Period
Shutdown
7.4.6
When the ECCP module is used in the PWM mode, the
application hardware must use the proper external pull-
up and/or pull-down resistors on the PWM output pins.
When the microcontroller is released from Reset, all of
the I/O pins are in the high-impedance state. The
external circuits must keep the power switch devices in
the off state, until the microcontroller drives the I/O pins
with the proper signal levels, or activates the PWM
output(s).
The CCP1M1:CCP1M0 bits (CCP1CON<1:0>) allow
the user to choose whether the PWM output signals are
active-high or active-low for each pair of PWM output
pins (P1A/P1C and P1B/P1D). The PWM output
polarities must be selected before the PWM pins are
configured
configuration while the PWM pins are configured as
outputs is not recommended since it may result in
damage to the application circuits.
The P1A, P1B, P1C and P1D output latches may not
be in the proper states when the PWM module is
initialized. Enabling the PWM pins for output at the
same time as the ECCP module may cause damage to
the application circuit. The ECCP module must be
enabled in the proper Output mode and complete a full
PWM cycle before configuring the PWM pins as
outputs. The completion of a full PWM cycle is
indicated by the TMR2IF bit being set as the second
PWM period begins.
Event Clears
Event Clears
Shutdown
Shutdown
START-UP CONSIDERATIONS
as
Cleared by
ECCPASE
Firmware
outputs.
Resumes
Resumes
PIC16F716
PWM
PWM
Changing
DS41206A-page 47
the
polarity

Related parts for PIC16F716