ugfx/drivers/gaudio/gadc/gaudio_record_config.h

52 lines
1.4 KiB
C
Raw Normal View History

/*
2013-06-15 11:37:22 +00:00
* This file is subject to the terms of the GFX License. If a copy of
2013-05-03 14:36:17 +00:00
* the license was not distributed with this file, you can obtain one at:
*
2013-07-21 20:20:37 +00:00
* http://ugfx.org/license.html
2013-05-03 14:36:17 +00:00
*/
2013-02-28 23:04:52 +00:00
/**
* @file drivers/gaudio/gadc/gaudio_record_config.h
* @brief GAUDIN Record Driver config file.
2013-02-28 23:04:52 +00:00
*
* @addtogroup GAUDIO
2013-02-28 23:04:52 +00:00
* @{
*/
#ifndef GAUDIO_RECORD_CONFIG_H
#define GAUDIO_RECORD_CONFIG_H
2013-02-28 23:04:52 +00:00
#if GFX_USE_GAUDIO && GAUDIO_NEED_RECORD
2013-02-28 23:04:52 +00:00
/*===========================================================================*/
/* Driver hardware support. */
/*===========================================================================*/
/**
* @brief The maximum sample frequency supported by this audio device
* @details For this driver it matches the GADC maximum high speed sample rate
*/
#define GAUDIO_RECORD_MAX_SAMPLE_FREQUENCY GADC_MAX_HIGH_SPEED_SAMPLERATE
2013-02-28 23:04:52 +00:00
/**
* @brief The number of audio formats supported by this driver
2013-02-28 23:04:52 +00:00
*/
#define GAUDIO_RECORD_NUM_FORMATS 1
2013-02-28 23:04:52 +00:00
/**
* @brief The available audio sample formats in order of preference
2013-02-28 23:04:52 +00:00
*/
#define GAUDIO_RECORD_FORMAT1 GADC_SAMPLE_FORMAT
2013-02-28 23:04:52 +00:00
/**
* For the GAUDIO driver that uses GADC - all the remaining config definitions are specific
2013-02-28 23:04:52 +00:00
* to the board.
*/
/* Include the user supplied board definitions */
#include "gaudio_record_board.h"
2013-02-28 23:04:52 +00:00
#endif /* GFX_USE_GAUDIO && GAUDIO_NEED_RECORD */
2013-02-28 23:04:52 +00:00
#endif /* GAUDIO_RECORD_CONFIG_H */
2013-02-28 23:04:52 +00:00
/** @} */