aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/io.h
Commit message (Collapse)AuthorAgeFilesLines
* wirish: Clean up includes; other fixups.Marti Bolivar2011-10-181-4/+5
| | | | | | | | | | | | | | | | | | Clean up various core files' includes to fit this pattern: - Header files include what they use. - CPP files include their header first - Include order is libmaple proper headers, then wirish headers (modulo CPP rule above). wirish.h: Move HIGH and LOW to io.h, and the boolean and byte typedefs into wirish_types.h. These don't belong in wirish.h. Add include guards to wirish_debug.h. Oops. wirish_digital.cpp: Use standard bool instead of "boolean". Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Keep it 80-column clean.Marti Bolivar2011-06-071-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Go through overlong source code lines and convert as many of them as appropriate to be 80-column clean. This mostly affects license headers. Overlong lines are determined by running following from the libmaple base directory: $ ack-grep --nocolor --nogroup --cpp --cc --ignore-dir=usb -- '.{80}' Note that this excludes libmaple's usb subdirectory, which is still full of ST code that doesn't follow the libmaple source code guidelines. Contents of ~/.ackrc (these won't matter, but are included for completeness): --ignore-dir=docs --ignore-dir=build --type-set ld=.ld --type-set rst=.rst --type-set txt=.txt --type-set mk=.mk
* Removing Maple-specific values from WirinPinMode doxygen comment.Marti Bolivar2011-04-261-11/+0
| | | | Comment changes only.
* Hacks to get things to compile in the IDE.Marti Bolivar2011-03-301-1/+2
|
* Removed Maple-specific information from digitalWrite() doxygen comment.Marti Bolivar2011-03-301-3/+2
|
* NitpicksMarti Bolivar2011-03-301-1/+1
|
* Final stm32_pin_info design candidate; ADC3 support on Native.Marti Bolivar2011-03-251-19/+14
| | | | | | | | | | | | | | | | | | | | Added an adc_dev to struct stm32_pin_info. This was necessary to add support for the channels on the Native which are only connected to ADC3, but it does add a bunch of NULLs to the PIN_MAPs. I don't think any other peripherals need representation on a per-pin basis. Each peripheral library will be responsible for keeping track of related GPIO ports and bits, and we can throw #defines in to boards/*.h for other things (e.g. BOARD_SPI1_MISO_PIN). Fleshed out the ADC refactor and brought it more in keeping with the new design as it evolves. A couple of other tweaks. Notably: waitForButtonPress() now takes a default argument meaning "wait forever". Removed Maple-specific documentation from core functions in io.h; this information will need to go into the individual board docs files.
* shiftOut(), docs fixesMarti Bolivar2011-03-111-0/+16
|
* [WIP] GPIO refactor: seems ok, ready for reviewMarti Bolivar2011-03-111-9/+2
|
* Finalized 0.0.9 documentation.Marti Bolivar2010-12-151-1/+1
|
* Merge branch 'master' into newdocMarti Bolivar2010-12-141-0/+58
|\
| * maple mini prototype seems to be workingMarti Bolivar2010-11-301-0/+58
| |
* | Finished converting the Arduino docsMarti Bolivar2010-11-291-3/+3
| |
* | arduino language reference nearing completion, properly CC-BY-SA 3.0 attributedMarti Bolivar2010-11-171-5/+9
|/
* maple mini runs blinky now.Marti Bolivar2010-10-221-39/+110
| | | | still need usb descriptors to improve, and also nothing else is tested.
* wirish reformatted and code-styledMarti Bolivar2010-09-261-5/+4
|
* Add PWM_OPEN_DRAIN option to pinMode()Perry Hung2010-09-211-1/+2
| | | | | | Allow for alternate function open drain output mode to be accessed through the wirish interface. This allows for open drain to be used on PWM pins.
* Partial progress on wirish portabilitybnewbold2010-08-311-51/+0
| | | | | This version throws "defined but unused" warnings which could probably be squashed with #pragma
* Refactoring:Perry Hung2010-04-251-0/+145
The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.