aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_digital.c
AgeCommit message (Collapse)Author
2011-12-11fixed TIMER4 use on LeonardoZach Eveland
ATMEGA32U4 has major differences in TIMER4 registers compared to ATMEGA1280 and 2560. turnOffPWM, analogWrite, and initialize routines had wrong registers, bit names, etc.
2011-10-24Moving ARDUINO_MAIN from main.cpp to wiring_digital.c and hiding PA, PB, etc.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=677 http://code.google.com/p/arduino/issues/detail?id=691
2011-03-03Removing optimized digitalWrite(), digitalRead(), pinMode().David A. Mellis
2011-02-18Revert "Changes to optimized digitalWrte(), etc."David A. Mellis
This reverts commit aa1f1cbda9d6bb52785f98b40746920853d6579b.
2011-02-18Revert "Adding noAnalogWrite() function to disable PWM."David A. Mellis
This reverts commit 38d4a34fec6925b29a732d13e200f54ee4b42025.
2011-02-12Adding noAnalogWrite() function to disable PWM.David A. Mellis
Also, removing the inline version of digitalPinToTimer() (since we're not optimizing the functions that use it anyway). The noAnalogWrite() function is in wiring_analog.c, deriving from the previous turnOffPWM() which has moved from wiring_digital.c. http://code.google.com/p/arduino/issues/detail?id=476
2011-02-11Changes to optimized digitalWrte(), etc.David A. Mellis
Factoring out the implementation of digitalWrite(), digitalRead(), and pinMode() into macros that can either be inlined (for constant pin numbers) or executed within a function (non-constant pins). Removing testing for timers on pins in digitalWrite(), digitalRead(), and pinMode(). Moving pin to port macros from pins_arduino.h to wiring.h.
2011-02-11Optimized digitalWrite(), etc. from Alvaro Lopez.David A. Mellis
2010-10-17Modifying basic functions (digital and analog, read and write) to use ↵David A. Mellis
register-based ifdefs, not cpu-based. http://code.google.com/p/arduino/issues/detail?id=307 http://code.google.com/p/arduino/issues/detail?id=316 http://code.google.com/p/arduino/issues/detail?id=323 http://code.google.com/p/arduino/issues/detail?id=324
2010-09-081280 -> 1280/2560.David A. Mellis
2010-06-12Disabling interrupts while digitalWrite() and pinMode() modify registers ↵David A. Mellis
(issue #146). Updating revisions.
2009-11-21Improving third-party hardware support:David A. Mellis
- moving back to multple cores per platform - using target instead of platform - moving per-board and per-programmer preferences out of Preferences.java and into a new Target class - adding a new "target" preference - support for platform:value values in board preferences for bootloader path and core - XXX: need to support platform:value syntax for board upload.using preferences.
2009-11-07Moving things around.David A. Mellis
2009-03-25Adding support for the Arduino Mega (ATmega1280) to the core and bootloader.David A. Mellis
2008-11-01Switching tests for __AVR_ATmega168__ to tests for __AVR_ATmega8__ so that ↵David A. Mellis
less changes are needed to support other processors.
2007-10-06Moving hardware/targets to hardware/cores.David A. Mellis