Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SPI refactor. | Marti Bolivar | 2011-04-28 | 1 | -122/+211 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | [WIP] GPIO refactor: seems ok, ready for review | Marti Bolivar | 2011-03-11 | 1 | -8/+10 |
| | |||||
* | whitespace cleanups | Marti Bolivar | 2010-09-27 | 1 | -73/+72 |
| | |||||
* | Check different set of flags for SPI master transmit | Perry Hung | 2010-09-14 | 1 | -7/+10 |
| | | | | | Tested on wishield, would like some more testing if anybody has more things that speak spi | ||||
* | Switch spi to use new rcc interface | Perry Hung | 2010-08-04 | 1 | -2/+2 |
| | |||||
* | Various SPI changes. | Perry Hung | 2010-04-28 | 1 | -4/+7 |
| | | | | | -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 function | Perry Hung | 2010-04-27 | 1 | -2/+26 |
| | |||||
* | Fixed two compiler warnings in spi | Perry Hung | 2010-04-25 | 1 | -2/+2 |
| | |||||
* | Initial SPI Polling implementation. | Perry Hung | 2010-04-24 | 1 | -0/+132 |
Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on. |