aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gaudin/gadc/gaudin_lld_board_olimexsam7ex256.h
blob: 9ad4a0ade823c978831f2c295aed10f3ade56bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* 
 * This source code form is a part of the ChibiOS/GFX project and stands
 * under the terms of the GFX License v1.0. If a copy of the license
 * was not distributed with this file, You can obtain one at: 
 * 
 * http://chibios-gfx.com/license.html
 *
 */

/**
 * @file    drivers/gaudin/gadc/gaudin_lld_board_olimexsam7ex256.h
 * @brief   GAUDIN Driver board config file for the Olimex SAM7EX256 board
 *
 * @addtogroup GAUDIN
 * @{
 */

#ifndef _GAUDIN_LLD_BOARD_OLIMEXSAM7EX256_H
#define _GAUDIN_LLD_BOARD_OLIMEXSAM7EX256_H

/*===========================================================================*/
/* Audio inputs on this board                                                */
/*===========================================================================*/

/**
 * @brief	The number of audio channels supported by this driver
 */
#define GAUDIN_NUM_CHANNELS					1

/**
 * @brief	The list of audio channels and their uses
 * @{
 */
#define	GAUDIN_MICROPHONE					0
/** @} */

/**
 * @brief	The following defines are for the low level driver use only
 * @{
 */
#ifdef GAUDIN_LLD_IMPLEMENTATION
	static uint32_t gaudin_lld_physdevs[GAUDIN_NUM_CHANNELS] = {
			GADC_PHYSDEV_MICROPHONE,
			};
#endif
/** @} */

#endif	/* _GAUDIN_LLD_BOARD_OLIMEXSAM7EX256_H */
/** @} */