General SPI driver (high speed slave mode)
Only for fixedwing and boards based on LPC21
Example for airframe file
Add to your firmware section:
1 <module name="spi_slave_hs"/>
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw spi_slave_hs.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="spi_slave_hs" dir="mcu_periph" task="mcu">
<doc>
<description>
General SPI driver (high speed slave mode)
Only for fixedwing and boards based on LPC21
</description>
</doc>
<header>
<file name="spi.h" dir="mcu_periph"/>
</header>
<makefile target="!sim|nps" firmware="fixedwing">
<define name="USE_SPI"/>
<define name="SPI_SLAVE_HS"/>
<file name="spi.c" dir="mcu_periph"/>
<file_arch name="spi_slave_hs_arch.c" dir="mcu_periph"/>
</makefile>
</module>