PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 190

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
disable_interrupts( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
176
disable_interrupts (name)
disable_interrupts (INTR_XX)
disable_interrupts (expression)
name - a constant defined in the devices .h file
INTR_XX – Allows user selectable interrupt options like INTR_NORMAL,
INTR_ALTERNATE, INTR_LEVEL
expression – A non-constant expression
When INTR_LEVELx is used as a parameter, this function will return the
previous level.
Name - Disables the interrupt for the given name. Valid specific names are the
same as are used in #INT_xxx and are listed in the devices .h file. Note that it is
not necessary to disable interrupts inside an interrupt service routine since
interrupts are automatically disabled.
INTR_GLOBAL – Disables all interrupts that can be disabled
INTR_NESTING – Disallows an interrupt from interrupting another
INTR_NORMAL – Use normal vectors for the ISR
INTR_ALTERNATE – Use alternate vectors for the ISR
INTR_LEVEL0 .. INTR_LEVEL7 – Disables interrupts at this level and below,
enables interrupts above this level
INTR_CN_PIN | PIN_xx – Disables a CN pin interrupts
expression – Disables interrupts during evaluation of the expression.
All dsPIC and PIC24 devices
Should have a #INT_xxxx, constants are defined in the devices .h file.
disable_interrupts(INT_RDA); // RS232 OFF
disable_interrupts( memcpy(buffer1,buffer2,10 ) ) ;
enable_interrupts(ADC_DONE);
enable_interrupts(RB_CHANGE);
None
enable_interrupts(), #INT_xxxx,
// these enable the interrupts
Interrupts Overview

Related parts for PCWHD IDE COMPILER