aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/comm/HardwareSPI.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixing HardwareSPI.h mistake for non-LeafLabs boards.Marti Bolivar2011-05-121-1/+1
| | | | "#warn" -> "#warning"; oops.
* SPI fixups.Marti Bolivar2011-05-041-1/+1
| | | | | | Initial post-review changes based on thread here: https://github.com/leaflabs/libmaple/commit/77f707d7b87fce284945fc9fe21c824c18c4c93d#comments
* SPI refactor.Marti Bolivar2011-04-281-25/+153
| | | | | | | | | | | | | | | | | Still a polling driver, but the libmaple proper interface exposes enough that users enable the various interrupts and define their own IRQ handlers if they feel like it. Wirish HardwareSPI interface was largely redone; it's more like the Arduino implementation now, although there are some differences when I didn't like their API. The old methods are still there, but are deprecated and slated for deletion in 0.1.0. New board-specific values: BOARD_NR_SPI, BOARD_SPIx_NSS_PIN, BOARD_SPIx_MOSI_PIN, BOARD_SPIx_MISO_PIN, and BOARD_SPIx_SCK_PIN, for x from 1 to BOARD_NR_SPI. Documentation was updated appropriately.
* Finalized 0.0.9 documentation.Marti Bolivar2010-12-151-9/+14
|
* cleanupsMarti Bolivar2010-09-271-20/+20
|
* Various SPI changes.Perry Hung2010-04-281-2/+2
| | | | | -Read DR after each master send, return the response. -Added a send function to allow you to pass buffers to the SPI peripheral instead of goin a byte at a time.
* Added a spi send block functionPerry Hung2010-04-271-0/+1
|
* Refactoring:Perry Hung2010-04-251-0/+57
The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.