2013-05-01 23:53:28 +00:00
|
|
|
/*
|
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
|
|
|
|
|
|
|
/**
|
2013-10-28 09:06:16 +00:00
|
|
|
* @file drivers/gaudin/gadc/gaudin_lld_board_template.h
|
|
|
|
* @brief GAUDIN Driver board config board file
|
2013-02-28 23:04:52 +00:00
|
|
|
*
|
|
|
|
* @addtogroup GAUDIN
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2013-10-28 09:06:16 +00:00
|
|
|
#ifndef _GAUDIN_LLD_BOARD_H
|
|
|
|
#define _GAUDIN_LLD_BOARD_H
|
2013-02-28 23:04:52 +00:00
|
|
|
|
|
|
|
/*===========================================================================*/
|
|
|
|
/* Audio inputs on this board */
|
|
|
|
/*===========================================================================*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief The number of audio channels supported by this driver
|
2013-10-28 09:06:16 +00:00
|
|
|
* @note This is an example
|
2013-02-28 23:04:52 +00:00
|
|
|
*/
|
|
|
|
#define GAUDIN_NUM_CHANNELS 1
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief The list of audio channels and their uses
|
2013-10-28 09:06:16 +00:00
|
|
|
* @note This is an example
|
2013-02-28 23:04:52 +00:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define GAUDIN_MICROPHONE 0
|
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
2013-10-28 09:06:16 +00:00
|
|
|
* @brief The audio channel to GADC physical device assignment
|
|
|
|
* @note This is an example
|
2013-02-28 23:04:52 +00:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#ifdef GAUDIN_LLD_IMPLEMENTATION
|
|
|
|
static uint32_t gaudin_lld_physdevs[GAUDIN_NUM_CHANNELS] = {
|
|
|
|
GADC_PHYSDEV_MICROPHONE,
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
|
2013-10-28 09:06:16 +00:00
|
|
|
#endif /* _GAUDIN_LLD_BOARD_H */
|
2013-02-28 23:04:52 +00:00
|
|
|
/** @} */
|