Português; |; 1 Document; |; Views. Apostila de Microprocessadores e Microcontroladores – argeek · Apostila de. Apostila de Sistema de Computação Digital. Prof. Walteno .. Dessa forma, os microprocessadores têm conduzido a evolução tecnológica da computação, pois . Apostila Codigo de Resistores e Capacitores Apostila de MicroProcessadores I – Microprocessadores e Microcontroladores –

Author: Kazraramar Mazutaxe
Country: Hungary
Language: English (Spanish)
Genre: Politics
Published (Last): 5 August 2009
Pages: 182
PDF File Size: 2.61 Mb
ePub File Size: 16.60 Mb
ISBN: 648-7-72118-990-5
Downloads: 17376
Price: Free* [*Free Regsitration Required]
Uploader: Voll

apostila de microprocessadores UEL

Here is an example DATA statement: RCTIME pin,state,variable Pin will be placed in apkstila mode and time will be measure in 2us units microprocessadores pin is in ‘state’. When done, pin will be placed in input mode to allow the voltage to remain until another PWM is executed. This allows you to change programs while keeping data, assuming both programs defined the same stretch of memory as undefined DATA.

It is advanced by 1 for each byte declared.


The compiler will always tell you when you have microprocessadorse conflict. High-Z speakers may be driven with microprocessadoores coupling cap and a filter cap.

Defined data is fully declared and known at compile time. The pin may be filtered by an RC circuit to achieve a clean sine-wave s. Adjusting the pot causes the returned value to go up or down. It may be necessary to place a series resistor to the pot to prevent a short from the high pin to VSS.


Enviado por caetano flag Denunciar. Reset will end STOP. Duty is an 8-bit value which specifies the duty-cycle.

This allocation is automatic. STOP Execution is frozen, but low-power mode is not entered. The text following ‘DATA’ is usually a list of bytes which can be constant expressions.

Your data, on the other hand, builds from the start of memory towards the end. Keep in mind that you may make alias names for the pin variables: For example, to convert a potentiometer setting to a number: The x values for NAP are as follows: In the above example assuming this was the first DATA statement in the program”table” becomes a constant symbol of value 0; “Here is a string Initially, the DATA location is set to 0.

Enviado por caetano flag Denunciar. PWM pin,duty,cycles Pin will be temporarily made an output while it is modulated. The pin may be filtered by an RC circuit to achieve a clean sine-waves. This is handy for having a single declaration which gets accessed throughout your program. The resistor-cap junction will reflect the duty V during and after PWM.

A digital-analog converter can be made by connecting the pin to a resistor which goes to a cap which goes to VSS. Freq2 is optional and specifies a second frequency. Defined and undefined data are declared as follows: The sum of program and data memory cannot exceed the 2K byte limit. Milliseconds specifies how long to output the frequency s.


The symbol name will be assigned a constant value as if via CON which is the current data pointer. Alt-M is a quick way to assess how much RAM you’ve used. For defining unique variables: The result will be written into variable. NAP x Enter low-power mode for a short period. Undefined data is the mere allocation of data space, while fe assigning values into the bytes of EEPROM to be done at run-time, instead.

Use Alt-M to see this. Non-unique variables are in-whole or in-part derived from unique variables and get assigned within microprocessadpres unique-variable memory.


The default on and off times are ms and 50ms. DATA statements are used to build data into unused memory. Approximately 50ua average current will be consumed.