#ifndef ce_rx_bitloading_test_vector_h #define ce_rx_bitloading_test_vector_h /* Cesar project {{{ * * Copyright (C) 2009 Spidcom * * <<>> * * }}} */ /** * \file ce/rx/bitloading/test/vector.h * \brief Convert test vector to channel data. * \ingroup test */ #include "hal/phy/pbdma.h" #include "lib/test.h" /** * Generate channel data from test vector. * \param vector test vector. * \param column column to use. * \param nb_column number of column in this vector. * \return the channel data. */ phy_chandata_t * ce_rx_bl_test_vector_to_chan_data (const u32 *vector, u8 column, u8 nb_column); /** * Compare a test vector and some chained blocks. * \param t test context. * \param vector test vector to compare. * \param column column to use. * \param nb_column number of column in this vector. * \param blk the chained blocks to compare. * \param blk_count the count of blocks. */ void ce_rx_bl_test_vector_cmp_chan_data (test_t t, const u32 *vector, u8 column, u8 nb_column, blk_t *blk, u32 blk_count); #endif /* ce_rx_bitloading_test_vector_h */