driver for mcp355x (22-bit spi adc)

This commit is contained in:
Gautier Hattenberger
2011-11-02 15:22:56 +01:00
parent 1702412f7d
commit f145da9437
4 changed files with 160 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="mcp355x" dir="adcs">
<header>
<file name="mcp355x.h"/>
</header>
<init fun="mcp355x_init()"/>
<periodic fun="mcp355x_read()" freq="10"/>
<event fun="mcp355x_event()"/>
<makefile target="ap">
<file name="mcp355x.c" dir="peripherals"/>
<define name="USE_SPI_SLAVE0"/>
<define name="SPI_MASTER"/>
</makefile>
</module>