SW006010 Microchip Technology, SW006010 Datasheet - Page 113
SW006010
Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
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
- Current page: 113 of 160
- Download datasheet (3Mb)
2002 Microchip Technology Inc.
PIC17C4X DEVICES
To disable the Capture1 interrupt on PIC17C4X devices, you must clear either of the
following enable bits:
• The Peripheral Interrupt Enable Register’s (PIE) Capture1 Interrupt Enable
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
11.4.2.9
There are two ways to disable the Capture2 Interrupt:
Library Call
To disable the Capture2 Interrupt through a library call, you must include the
captur16.h
Modifying Register Bits
PIC17C7XX DEVICES
To disable the Capture2 interrupt on PIC17C7XX devices, you must clear either of the
following enable bits:
• The Peripheral Interrupt Enable Register1’s (PIE1’s) Capture2 Interrupt Enable
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
PIC17C4X DEVICES
To disable the Capture2 interrupt on PIC17C4X devices, you must clear either of the
following enable bits:
• The Peripheral Interrupt Enable Register’s (PIE) Capture2 Interrupt Enable
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
(CA1IE) bit – [PIE<2>].
Note: Clearing the PEIE bit disables all peripheral interrupts.
#include <captur16.h>
CloseCapture2();
(CA2IE) bit – [PIE1<3>].
Note: Clearing the PEIE bit disables all peripheral interrupts.
(CA2IE) bit – [PIE<3>].
Note: Clearing the PEIE bit disables all peripheral interrupts.
PIEbits.CA1IE = 0;
INTSTAbits.PEIE = 0;
PIE1bits.CA2IE = 0;
INTSTAbits.PEIE = 0;
PIEbits.CA2IE = 0;
INTSTAbits.PEIE = 0;
CAPTURE2 INTERRUPT
header file and call the
Enabling/Disabling Interrupts
//Disable all
//peripheral interrupts
//Disable all
//peripheral interrupts
//Disable all
//peripheral interrupts
CloseCapture2
function.
apRNOVM^-page 107
Part
Part
Part
Part
1
2
3
4
Related parts for SW006010
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: