© 2004 Microchip Technology Inc. DS70046C-page 1
dsPIC30F Family Reference Manual
Index
Numerics
10-bit Address Mode...................................................... 21-35
12-Bit A/D
ADCHS ...........................................................17-4, 18-4
ADPCFG .........................................................17-4, 18-4
12-bit A/D
Operation During CPU Idle Mode ...............17-49, 18-30
Operation During CPU Sleep Mode............17-49, 18-30
16-bit Up/Down Position Counter................................... 16-12
32-bit Timer Configuration ............................................. 12-16
A
A/D
Accuracy/Error ............................................17-47, 18-28
ADCON0 Register...........................................17-4, 18-4
Configuring Analog Port Pins......................17-14, 18-12
Edge Detection Mode .............................................. 13-8
Effects of a Reset........................................16-19, 17-49
Effects of a Reset (12-bit) ...................................... 18-30
Enabling the Module .............................................. 17-16
Enabling the Module (12-bit).................................. 18-14
How to Start Sampling ........................................... 17-17
How to Stop Sampling and Start Conversions....... 17-18
Reading the A/D Result Buffer............................... 17-46
Sampling Requirements..............................17-45, 18-26
Transfer Function........................................17-47, 18-28
Transfer Function (12-bit) ...................................... 18-28
A/D Accuracy/Error ........................................................ 17-47
A/D Accuracy/Error (12-bit)............................................ 18-28
A/D Converter External Conversion Request ..................6-10
A/D Module Configuration.............................................. 17-13
A/D Module Configuration (12-bit) ................................. 18-11
A/D Sampling Requirements (12-bit) ............................. 18-26
A/D Special Event Trigger..............................................12-22
A/D Terminology and Conversion Sequence................. 17-11
A/D Terminology and Conversion Sequence (12-bit) .... 18-10
Accumulator ‘Write Back’ ................................................. 2-25
ACK
................................................................................ 21-38
Acknowledge Pulse........................................................ 21-38
Address Generator Units and DSP Class Instructions....... 3-6
Address Register Dependencies ..................................... 2-35
AKS................................................................................ 21-17
Alternate Vector Table ....................................................... 6-2
Arithmetic Logic Unit (ALU).............................................. 2-17
B
Barrel Shifter .................................................................... 2-26
Baud Rate
Generator (BRG)...................................................... 19-8
Tables ...................................................................... 19-9
BF .......................................................................21-18, 21-19
Bit-Reversed Addressing ................................................. 3-14
and Modulo Addressing ........................................... 3-15
Code Example ......................................................... 3-18
Intro.......................................................................... 3-14
Modifier Value .......................................................... 3-16
Operation ................................................................. 3-15
Block Diagrams
Dedicated Port Structure.......................................... 11-2
DSP Engine ............................................................. 2-19
dsPIC30F CPU Core.................................................. 2-3
External Power-on Reset Circuit
(For Slow V
DD Rise Time).................................. 8-7
Input Capture ........................................................... 13-2
Input Change Notification......................................... 11-5
Low Voltage Detect (LVD) ......................................... 9-3
Oscillator System....................................................... 7-3
Output Compare Module ......................................... 14-2
Reset System ............................................................ 8-2
Shared Port Structure.............................................. 11-4
Type A Timer ........................................................... 12-3
Type B - Type C Timer Pair (32-bit Timer) ............ 12-17
Type B Timer ........................................................... 12-4
Type C Timer........................................................... 12-5
UART....................................................................... 19-2
UART Receiver...................................................... 19-16
UART Transmitter.................................................. 19-11
WDT ........................................................................ 10-6
Brown-out Reset (BOR)..................................................... 8-8
Configuration ............................................................. 8-9
Current Consumption for Operation .......................... 8-9
Byte to Word Conversion................................................. 2-17
C
CAN
Buffer Reception and Overflow Truth Table .......... 23-44
Message Acceptance Filters ................................. 23-12
CAN Library ..................................................................... 25-9
Capture Buffer Operation................................................. 13-8
Clock Switching
Aborting ................................................................... 7-24
Enable ..................................................................... 7-22
Entering Sleep Mode During ................................... 7-24
Operation................................................................. 7-22
Recommended Code Sequence ............................. 7-24
Tips.......................................................................... 7-24
CN
Change Notification Pins ......................................... 11-5
Configuration and Operation ................................... 11-6
Control Registers..................................................... 11-6
Operation in Sleep and Idle Modes ......................... 11-6
Code Examples
8-bit Transmit/Receive (UART1) ........................... 19-20
9-bit Transmit/Receive (UART1),
Address Detect Enabled................................ 19-20
Clock Switching ....................................................... 7-25
Compare Mode Toggle Mode Pin State Setup........ 14-8
Compare Mode Toggle Setup and
Interrupt Servicing ........................................... 14-8
Configuration Register Write ................................... 5-14
Continuous Output Pulse Setup and
Interrupt Servicing ......................................... 14-16
Initialization Code for 16-bit Asynchronous
Counter Mode Using an
External Clock Input ...................................... 12-11
Initialization Code for 16-bit Gated
Time Accumulation Mode.............................. 12-13
Initialization Code for 16-bit Synchronous
Counter Mode Using an
External Clock Input ...................................... 12-10
Initialization Code for 16-bit Timer Using
System Clock................................................... 12-9
Initialization Code for 32-bit Gated Time
Accumulation Mode....................................... 12-20
Initialization Code for 32-bit Synchronous
Counter Mode Using an External
Clock Input .................................................... 12-19
Initialization Code for 32-bit Timer Using
Instruction Cycle as Input Clock .................... 12-18
Prescaled Capture................................................... 13-7
PWM Mode Pulse Setup and Interrupt Servicing .. 14-22
Reading from a 32-bit Timer.................................. 12-21