aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h
blob: 8d3a8d8055c2914cbd3f25279f2b9359dcb81631 (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
/*
 * This file is subject to the terms of the GFX License. If a copy of
 * the license was not distributed with this file, you can obtain one at:
 *
 *              http://ugfx.io/license.html
 */

/**
 * @file    boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h
 * @brief   GAUDIO Record Driver board config file for the Olimex SAM7EX256 board
 */

#ifndef _GAUDIO_RECORD_BOARD_H
#define _GAUDIO_RECORD_BOARD_H

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

#define GAUDIO_RECORD_NUM_CHANNELS					1

/**
 * @brief	Whether each channel is mono or stereo
 */
#define GAUDIO_RECORD_CHANNEL0_IS_STEREO			GFXOFF

/**
 * The list of audio channels and their uses
 */
#define	GAUDIO_RECORD_MICROPHONE					0

#ifdef GAUDIO_RECORD_IMPLEMENTATION
	static gU32 gaudio_gadc_physdevs[GAUDIO_RECORD_NUM_CHANNELS] = {
			GADC_PHYSDEV_MICROPHONE,
			};
#endif

#endif	/* _GAUDIO_RECORD_BOARD_H */