Contains definitions of all action codes as well as possible error codes that
are reported within SPI-DirectC code.
dpalg.c and dpalg.h
Contain the main entry function dp_top and device ID check
function.
dpg4alg.c and dpg4alg.h
Contain the main entry function dp_top_g4 and all other
functions common to M2S and MGL families.
dpg5alg.c and dpg5alg.h
Contain the main entry function dp_top_g5 and all other
functions common to the MPF and MPF SoC family of devices.
dpdutspi.c and dpdutspi.h
Contain the SPI interface function declaration and definition to the target
device. SPI Mode 3 must be used to program the target device. See SPI IP block
used for proper initialization.
dpg4spi.c and dpg4spi.h
Contain the SPI interface function declaration and definition to the target
device specific to M2S and M2GL device families.
dpg5spi.c and dpg5spi.h
Contain the SPI interface function declaration and definition to the target
device specific to MPF and MPF SoC device families.
dputil.c and dputil.h
Contain utility functions needed in the SPI-DirectC code.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.