PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 73

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
can_enable_interrupts(INTERRUPT setting)
can_disable_interrupts(INTERRUPT setting)
can_config_DMA(void)
For PICs that have two CAN or ECAN
modules all the above function are
available for the second module, and they
start with can2 instead of can.
Relevant Preprocessor:
None
Relevant Interrupts:
#INT_CAN1
#INT_CAN2
Relevant Include Files:
can-mcp2510.c
can-dsPIC30.c
can-PIC24.c
Enables specified interrupt conditions that cause the
#INT_CAN1 interrupt to be triggered. Available options are:
TB - Transmitt Buffer Interrupt
RB - Receive Buffer Interrupt
RXOV - Receive Buffer Overflow Interrupt ECAN
FIFO - FIFO Almost Full Interrupt
ERR - Error interrupt
WAK - Wake-Up Interrupt
IVR - Invalid Message Received Interrupt
RX0 - Receive Buffer 0 Interrupt
RX1 - Receive Buffer 1 Interrupt
TX0 - Transmit Buffer 0 Interrupt
TX1 - Transmit Buffer 1 Interrupt
TX2 - Transmit Buffer 2 Interrupt
Disable specified interrupt conditions so they doesn't
cause the #INT_CAN1 interrupt to be triggered.
can_enable_interrupts() function. By default all
conditions are disabled.
Configures the DMA buffers to use with the ECAN
module. It is called inside the can_init() function so
there is no need to call it. ECAN
Examples:
can2_init();
can2_kbhit();
Interrupt for CAN or ECAN module 1. This interrupt is
triggered when one of the conditions set by the
can_enable_interrupts() is meet.
Interrupt for CAN or ECAN module 2. This interrupt is
triggered when one of the conditions set by the
can2_enable_interrupts() is meet. This interrupt is only
available on PICs that have two CAN or ECAN modules.
Drivers for the MCP2510 and MCP2515 interface
chips.
Drivers for the built in CAN module on dsPIC30F
chips.
Drivers for the build in ECAN module on PIC24HJ
and dsPIC33FJ chips.
Available options are the same as for the
ECAN/CAN
ECAN/CAN
ECAN/CAN
ECAN
ECAN
ECAN
CAN
CAN
CAN
CAN
CAN
59

Related parts for PCDIDE COMPILER