Vous êtes sur la page 1sur 1

dsPIC30F

Peripheral Library
Summary Features
The dsPIC30F Peripheral Library provides a set of functions Key features of the dsPIC30F Peripheral Library include:
for setting up and controlling the operation of all the • A library file for each device from the dsPIC30F family,
peripheral modules available in the dsPIC® Digital Signal including functions corresponding to peripherals
Controllers (DSCs), as well as functions for interfacing with present in that particular device
an external LCD. The dsPIC30F Peripheral Library serves as
a convenient layer of abstraction over the specific details • C include files that enable pre-defined constants for
of the peripherals and their associated control and status passing parameters to various library functions, as
registers. well as a file for each peripheral module.
• Functions in pre-compiled libraries that may be called
The dsPIC30F Peripheral Library supports the following from an application program written in either MPLAB®
hardware peripheral modules: C30 or dsPIC30F assembly language
• Timers • C source code is included to customize functions to
• Input capture specific application requirements
• Output compare • Pre-defined constants in the C include files eliminate
• Quadrature Encoder Interface (QEI) the need to refer to the details and structure of every
• Motor control PWM special function register while initializing peripherals
or checking status bits
• I/O ports and external interrupts
• Reset Resource Requirements
• UART • Program memory: The Peripheral Library functions are
• SPI optimized for efficient program memory usage
– Since the functions are in the form of libraries, the
• I²C™
actual program memory requirements depend on
• Data Converter Interface (DCI) the functions being called by the application, as
• 10-bit A/D converter well as on the specific dsPIC DSC being used
• 12-bit A/D converter • Data memory: The vast majority of the functions do
• CAN not use RAM at all
• Functions for controlling an external LCD through – Each of the remaining functions uses less than 10
configurable I/O Port pins are also provided bytes of RAM

Devices Supported
• All processors in the dsPIC30F family

DS70148B-20
www.microchip.com

Vous aimerez peut-être aussi