10 Commits

Author SHA1 Message Date
Uwe Hermann
17b2e87ba3 Factor out cm3/common.h and cm3/memorymap.h. 2010-12-30 00:53:52 +01:00
Uwe Hermann
d9f6f200c1 Some more whitespace + cosmetics. 2010-12-29 18:29:47 +01:00
Thomas Otto
37e71e3e5c Added spi_send() to the spi.h. 2010-04-12 21:22:02 +02:00
Thomas Otto
e68f248d11 Fixed typo. 2010-04-02 22:23:11 +02:00
Thomas Otto
56dd9bc887 Completed spi.h. 2010-04-02 21:42:48 +02:00
Thomas Otto
47c51fc9cc Some additions to spi.c+h. 2010-03-30 22:29:02 +02:00
Piotr Esden-Tempski
d84c4030b2 Cleaned up header inclusion.
Now all examples are including only the modules they really need. Also
each header file of the library is including only the necessary headers
making it possible to use these modules in parallel with other
implementations that may collide with the definitions in other modules.
2010-03-04 19:16:24 +01:00
Uwe Hermann
98997691d3 Add first version of spi_enable()/spi_disable(). 2009-12-30 23:28:40 +01:00
Uwe Hermann
a7a3770d51 Add initial SPI code.
For now, add the following basic SPI functions:

 - spi_init_master()
 - spi_write()
 - spi_read()

This is incomplete and untested, yet.

Also, add some more SPI bit definition macros and comments.
2009-12-30 23:09:14 +01:00
Uwe Hermann
821873acac Add initial version of an spi.h header file.
So far, it contains the SPI register definitions and some bit
definitions of control register 1 (CR1).
2009-12-29 17:38:40 +01:00