EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 8

Microchip Technology dsPIC30F
738 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DS70046C-page viii ď›™ 2004 Microchip Technology Inc.
PAGE
SECTION 18. 12-BIT A/D CONVERTER 18-1
Introduction .................................................................................................................................................... 18-2
Control Registers ........................................................................................................................................... 18-4
A/D Result Buffer ........................................................................................................................................... 18-4
A/D Terminology and Conversion Sequence ............................................................................................... 18-10
A/D Module Configuration ............................................................................................................................ 18-11
Selecting the Voltage Reference Source ..................................................................................................... 18-11
Selecting the A/D Conversion Clock ............................................................................................................ 18-12
Selecting Analog Inputs for Sampling .......................................................................................................... 18-12
Enabling the Module .................................................................................................................................... 18-14
How to Start Sampling ................................................................................................................................. 18-14
How to Stop Sampling and Start Conversions ............................................................................................. 18-14
Controlling Sample/Conversion Operation ................................................................................................... 18-19
Specifying How Conversion Results are Written into the Buffer .................................................................. 18-19
Conversion Sequence Examples ................................................................................................................. 18-21
A/D Sampling Requirements ........................................................................................................................ 18-26
Reading the A/D Result Buffer ..................................................................................................................... 18-27
Transfer Function ......................................................................................................................................... 18-28
A/D Accuracy/Error ...................................................................................................................................... 18-28
Connection Considerations .......................................................................................................................... 18-28
Initialization .................................................................................................................................................. 18-29
Operation During Sleep and Idle Modes ...................................................................................................... 18-30
Effects of a Reset ......................................................................................................................................... 18-30
Special Function Registers Associated with the 12-bit A/D Converter ......................................................... 18-31
Design Tips .................................................................................................................................................. 18-32
Related Application Notes ............................................................................................................................ 18-33
Revision History ........................................................................................................................................... 18-34
SECTION 19. UART 19-1
Introduction .................................................................................................................................................... 19-2
Control Registers ........................................................................................................................................... 19-3
UART Baud Rate Generator (BRG) ............................................................................................................... 19-8
UART Configuration ..................................................................................................................................... 19-10
UART Transmitter ........................................................................................................................................ 19-11
UART Receiver ............................................................................................................................................ 19-14
Using the UART for 9-bit Communication .................................................................................................... 19-18
Receiving Break Characters ........................................................................................................................ 19-19
Initialization .................................................................................................................................................. 19-20
Other Features of the UART ........................................................................................................................ 19-21
UART Operation During CPU Sleep and Idle Modes ................................................................................... 19-21
Registers Associated with UART Module ..................................................................................................... 19-22
Design Tips .................................................................................................................................................. 19-23
Related Application Notes ............................................................................................................................ 19-24
Revision History ........................................................................................................................................... 19-25
Table of Contents

Table of Contents

Other manuals for Microchip Technology dsPIC30F