SW006010 Microchip Technology, SW006010 Datasheet - Page 114

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
apRNOVM^-page 108
C17 C Compiler User’s Guide
11.4.2.10 CAPTURE3 INTERRUPT
There are two ways to disable the Capture3 Interrupt:
Library Call
To disable the Capture3 Interrupt through a library call, you must include the
captur16.h
Modifying Register Bits
To disable the Capture3 interrupt, you must clear either of the following enable bits:
• The Peripheral Interrupt Enable Register2’s (PIE2’s) Capture3 Interrupt Enable
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
11.4.2.11 CAPTURE4 INTERRUPT
There are two ways to disable the Capture4 Interrupt:
Library Call
To disable the Capture4 Interrupt through a library call, you must include the
captur16.h
Modifying Register Bits
To disable the Capture4 interrupt, you must clear either of the following enable bits:
• The Peripheral Interrupt Enable Register2’s (PIE2’s) Capture4 Interrupt Enable
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
Note: Only pertains to PIC17C7XX devices. Does not apply to PIC17C4X
#include <captur16.h>
CloseCapture3();
(CA3IE) bit – [PIE2<2>].
Note: Clearing the PEIE bit disables all peripheral interrupts.
Note: Only pertains to PIC17C7XX devices. Does not apply to PIC17C4X
#include <captur16.h>
CloseCapture4();
(CA4IE) bit – [PIE2<3>].
Note: Clearing the PEIE bit disables all peripheral interrupts.
PIE2bits.CA3IE = 0;
INTSTAbits.PEIE = 0;
PIE2bits.CA4IE = 0;
INTSTAbits.PEIE = 0;
devices.
devices.
header file and call the
header file and call the
//Disable all
//peripheral interrupts
//Disable all
//peripheral interrupts
CloseCapture3
CloseCapture4
function
function.
 2002 Microchip Technology Inc.

Related parts for SW006010