patchSimulavr: an AVR simulator - Patches: patch #4594, Add AREF pin to ATMega128

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4594: Add AREF pin to ATMega128

Submitter:  None
Submitted:  Thu 03 Nov 2005 03:09:01 PM UTC
   
 
Category:  feature add Priority:  5 - Normal
Status:  In Progress Privacy:  Public
Assigned to:  joelsherrill Originator Email:  -email is unavailable-
Open/Closed:  Closed Component Version:  simulavrxx

Thu 26 Mar 2009 05:50:30 PM UTC, comment #1: 

Patch cleaned up for cvs head and applied.

spi example appears to be close to working.  Please confirm
or provide another round of patches.

Joel Sherrill <joelsherrill>
Group administrator
Thu 03 Nov 2005 03:09:01 PM UTC, original submission:  

This patch is (hopefully) the first in an incremental set of patches that were once submitted as patch #4593.

The purpose of this patch is to add previously unsupported functionality to the ATMega128. In particular, the following features have been added:

o The analog voltage reference input (AREF) pin.
o The A/D converter section.
o The A/D convert multiplexer section.
o Fixes to the address of SPCR and SPSR spy registers.
o Add watchdog functionality.

In the process of adding this functionality, the HWAd class was modified slightly to support the AREF input. This caused a change
in its constructor, and thus a small change in the other AVR that used the constructor at4433.cpp.

The ADLAR (left justification) function of the ADC was found to be missing and was fixed (in hwad.cpp) as a part of the ADC testing with my application.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7047:  2.aref.patch added by None (7KiB - application/octet-stream - A patch to add ADC support to the ATMega128)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joelsherrill (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-26 joelsherrill Assigned tozfrdh joelsherrill
        Open/ClosedOpen Closed
    2009-03-22 joerg_wunsch Component VersionNone simulavrxx
    2006-03-07 zfrdh StatusNone In Progress
        Assigned toNone zfrdh
    2005-11-03 None Attached File- Added 2.aref.patch, #5424
        Carbon-Copy- Added mike --AT-- mnmoran --DOT-- org

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code