DSPIC30F3013T-20E/ML Microchip Technology, DSPIC30F3013T-20E/ML Datasheet - Page 7

IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC

DSPIC30F3013T-20E/ML

Manufacturer Part Number
DSPIC30F3013T-20E/ML
Description
IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F3013T-20E/ML

Rohs Compliant
YES
Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
20
Program Memory Size
24KB (8K x 24)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 10x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DV164033 - KIT START EXPLORER 16 MPLAB ICD2DM240001 - BOARD DEMO PIC24/DSPIC33/PIC32
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
EXAMPLE 7:
EXAMPLE 8:
© 2010 Microchip Technology Inc.
// Note: Macros defined in device include files
#define SET_AND_SAVE_CPU_IPL (save_to, ipl){ \
save_to = SRbits.IPL; \
SET_CPU_IPL (ipl); } (void) 0;
#define RESTORE_CPU_IPL (saved_to) SET_CPU_IPL (saved_to)
#include "p30fxxxx.h"
. . .
int save_to;
SET_AND_SAVE_CPU_IPL (save_to, 3)
. . .
RESTORE_CPU_IPL (save_to)
#define INTERRUPT_PROTECT (x) { \
int save_sr; \
SET_AND_SAVE_CPU_IPL (save_sr, 7);\
x; \
RESTORE_CPU_IPL (save_sr); } (void) 0;
. . .
INTERRUPT_PROTECT (IEC0bits.U1TXIE=0);
Note:
For modification of the Interrupt 1 setting, the
INTERRUPT_PROTECT macro can be used.
This macro disables interrupts before executing
the desired expression, as shown in Example 8.
This macro is not distributed with the compiler.
Affected Silicon Revisions
B0
X
If you are using a MPLAB C30 compiler
version earlier than version 1.32, you may
still use the macros by adding them to your
application.
B1
X
USING SET_AND_SAVE_CPU_IPL AND RESTORE_CPU_IPL MACROS
USING INTERRUPT_PROTECT
MACRO
dsPIC30F3012/3013
DS80448D-page 7

Related parts for DSPIC30F3013T-20E/ML