mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
driver for mcp355x (22-bit spi adc)
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user