SW006010 Microchip Technology, SW006010 Datasheet - Page 118

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 112
C17 C Compiler User’s Guide
11.4.2.17 BUS COLLISION INTERRUPT
To disable the Bus Collision Interrupt, you must clear either of the following enable
bits:
• The Peripheral Interrupt Enable Register2’s (PIE2’s) Bus Collision Interrupt
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
11.4.2.18 A/D MODULE INTERRUPT
There are two ways to disable the A/D Module Interrupt:
Library Call
To disable the A/D Module Interrupt through a library call, you must include the
adc16.h
Modifying Register Bits
To disable the A/D Module Interrupt, you must clear either of the following enable bits:
• The Peripheral Interrupt Enable Register2’s (PIE2’s) A/D Module Interrupt Enable
• The INTSTA register’s Peripheral Interrupt Enable (PEIE) bit – [INTSTA<3>].
Note: Only pertains to PIC17C7XX devices. Does not apply to PIC17C4X
Enable (BCLIE) bit – [PIE2<6>].
Note:
Note: PIC17C7XX devices only.
#include <adc16.h>
CloseADC();
(ADIE) bit – [PIE2<5>].
Note:
PIE2bits.BCLIE = 0;
INTSTAbits.PEIE = 0;
PIE2bits.ADIE = 0;
INTSTAbits.PEIE = 0;
header file and call the
devices.
Clearing the PEIE bit disables all peripheral interrupts.
Clearing the PEIE bit disables all peripheral interrupts.
//Disable all
//peripheral interrupts
//Disable all
//peripheral interrupts
CloseADC
function.
 2002 Microchip Technology Inc.

Related parts for SW006010