<!DOCTYPE module SYSTEM "module.dtd">

<module name="max7456" dir="max7456">
  <doc>
    <description>MAX7456 driver (SPI)</description>
  </doc>
  <header>
    <file name="max7456.h"/>
  </header>
  <init fun="max7456_init()"/>
  <periodic fun="max7456_periodic()" freq="20" autorun="TRUE"/>
  <event fun="max7456_event()"/>
  <makefile target="ap">
    <raw>
    include $(CFG_SHARED)/spi_master.makefile
    </raw>
    <file name="max7456.c" />
    <define name="USE_SPI" value="1" />
    <define name="USE_SPI2" value="1" />
    <define name="MAX7456_SPI_DEV" value="spi2"/>
    <define name="USE_SPI_SLAVE2" value="1"/>
    <define name="MAX7456_SLAVE_IDX" value="2"/>
    <define name="USE_PAL_FOR_OSD_VIDEO" value="1" />
    <define name="OSD_USE_EXTERNAL_SPRINTF" value="0" />
  </makefile>
</module>


