Verify that the Microchip language tool suite is selected (Project>Select Language Toolsuite). 4. In the Workspace view, right-click on the âSource Filesâ node.
1. Introduction.............................................................................................................................. 2 2. Module Features ...................................................................................................................... 2 3. List of Component Modules ................................................................................................... 2 4. Using the Library Module in a Project................................................................................... 2 5. List of Shared Parameters...................................................................................................... 3 Shared Data Bytes .................................................................................................................... 3 Shared Functions ...................................................................................................................... 3 6. Functions ................................................................................................................................. 3
A/D Oversampling Maestro Module
Page 1
1. Introduction The primary objectives of A/D Oversampling Maestro module are to enable the user to achieve a higher precision (number of useful bits) from an A/D converter with reduced programmer's effort. With this library programmers can shift from cumbersome calculations and peripheral setup to a high level like approach with commands to initialize the oversampling process and to get data. This allows user to focus on the requirements of their applications. It provides a non-interrupted based operation and has data buffer. Module code is linkable and relocatable, which provides user facility to use it without modifications.
2. Module Features The ADOver module presents the following features: • • • •
Polling based design. Relocatable assembly Code set for both 16xxx and 18xxx families. User-defined number of extra bits, channel and Reference Voltage Source. Simple functions to initialize and execute an oversampled conversion.
3. List of Component Modules ADOver.ex.txt ADOver.asm
16ADOver.asm 18ADOver.asm ADOver.inc
16xxx.inc
18xxx.inc
This is main test file developed to demonstrate use of the module. This file contains the variables used by the oversampling process along with the code to select between PIC 16xxx and PIC18xxx implementations. This is the PIC 16xxx A/D Oversampling code implementation file. This is the PIC 18xxx A/D Oversampling code implementation file. This file contains definition of shared parameters for use in Assembly language. One needs to include this file in the Assembly file where they are calling library routines. This file is taking care of definition of all Extern Global parameter so one can directly call library routines in their program. This file contains definition of shared parameters for use in Assembly language. One needs to include this file in the Assembly file where they are calling library routines. This file is taking care of definition of all Extern Global parameter so one can directly call library routines in their program. General-purpose processor definition file for 18xxx family. It selects processor dependant ‘.inc’ file for library module according to processor selection in development mode.
4. Using the Library Module in a Project Please follow below steps to use this library module in your project. 1. 2. 3. 4.
Use the Application Maestro to configure your code as required (Number of extra bits). Launch MPLAB, and open the project’s workspace. Verify that the Microchip language tool suite is selected (Project>Select Language Toolsuite). In the Workspace view, right-click on the “Source Files” node. Select the “Add Files” option. Select ADOver.asm and click OK. 5. Now right-click on the “Linker Scripts” node and select “Add Files”. Add the appropriate linker file (.lkr) for the project’s target microcontroller. A/D Oversampling Maestro Module
Page 2
6. Add any other files that the project may require. Save and close the project. 7. In your main source (.asm) file, add include directive at the head of the code listing to include . ADOver.inc . By doing so, all files required to make the generated code work in your project will be included by reference when you build the project. 8. To use the module in your application, invoke the functions or macros as needed.
5. List of Shared Parameters Shared Data Bytes vADOverLow and vADOverHigh
These are the data bytes containing the result of an Oversampling A/D Conversion.
Shared Functions ADOverInit
This Function executes all necessary initializations of the Oversampling Firmware This function executes the oversampled A/D conversion
ADOverGetData
6. Functions Use this section to provide a more complete description of each function. Duplicate the blank table for each shared function and fill in the required information for each. If a table breaks across a page boundary due to size, carry the entire table over to the next page.
Function Preconditions Overview Input Output Side Effects
Stack Requirement
Function Preconditions Overview Input Output Side Effects
Stack Requirement
ADOverInit This procedure initializes all necessary internal variables associated with the Oversampling code
Data bank may change. Obs: The Initialization process requires the user's code to select the channel (ANx) and the A/D Port Configuration, i.e. the I/O pins selected as Analog Channels and A/D Voltage references. It also requires the user's code to define the I/O pins of the related PORT as Inputs or Outputs accordingly One Level (the function call itself)
ADOverGetData ADOverInit must have been invoked This function executes the oversamppled A/D process.
The result in vADOverLow and vADOverHigh Data bank may change. During the conversion process the part is put in sleep mode and all interrupts are suspended. One Level (the function call itself)
The Maestro Fuzz is reputed to be the fuzz used in the recording of the Stones' "Satisfaction". The transistors are house numbered "991-002298" and the diode ...
MANUEL FR. Maestro. City ...... Si un problème dans le circuit électrique vous empêche toutefois cela, éteignez sans attendre la machine et ne travaillez plus ...
descriptions et spécifications techniques figurant dans la présente notice d'instructions sont celles en vigueur au moment de sa publication. Il se pourrait que ...
Clients européens GMT +1: de 8h00à 12h00 et de 13h00 à 17h00. Diesveldstraat 2 ..... Si l'opérateur a les cheveux longs, il les attachera en queue de cheval et portera une casquette ou un ... Royaume-Uni : Type G BS 1363 (femelle).
Bass Volume and Brass Volume can be separate pots or dual linear +9V +9V wired as blend. R17. 3. T1's original specs are unknown. A Mouser 10Kct FILTEA ...
a tierra. Si no hay tierra disponible, consulte a un electricista. El dispositivo no funcionará si no está conectado a tierra. 4. El sensor con interruptor requiere una.
Oct 7, 2013 - You can upgrade the cards in Maestro. On the system page right-click on the system and select 'View System Hardware'. This will display all of ...
or any Accessory Switch is pulled out to the OFF position. â¢Breaker is ... The Electronic Switch (MA/MSC-S8AM) is rated for lighting and fan loads only. Multigang ...
service, return unit to place of purchase or mail to Lutron at 7200 Suter. Rd., Coopersburg, PA ..... Use the screw or push-in terminals when making connections.
Unit will not operate with less than 40 W of load on each channel. 10. It is normal for the ... Reduction of dimmer capacity is also required. Refer to chart below for.
second thanks to a GPS module. ® It calculates the route to follow and compares it to the heading thanks to a compass. ® It estimates the drift due to the wind ...
Aug 2, 2005 - between human-immune system and computer security, we will reuse some of the ..... specialized organizations need to make a more intensive advertising about the ..... Besides, according to a survey of Marcus J.Ranum for ICSA Labs in 200
(ToS/DSCP) traffic prioritization settings. ⢠Dual Port capability for network element prequalification testing. ⢠Control/Respond Loopback feature to loop-up/down.
I play basketball. Je joue au hockey sur glace. I play ice hockey. Je joue au tennis. I play tennis. Je joue au volley. I play volleyball. Des verbes utiles avec ânousâ.