ugfx/boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h

39 lines
1.1 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:
*
2018-10-01 15:32:39 +00:00
* http://ugfx.io/license.html
2013-05-03 14:36:17 +00:00
*/
2013-02-28 23:04:52 +00:00
/**
* @file boards/base/Olimex-SAM7EX256-GE8/gaudio_record_board.h
* @brief GAUDIO Record Driver board config file for the Olimex SAM7EX256 board
2013-02-28 23:04:52 +00:00
*/
#ifndef _GAUDIO_RECORD_BOARD_H
#define _GAUDIO_RECORD_BOARD_H
2013-02-28 23:04:52 +00:00
/*===========================================================================*/
/* Audio inputs on this board */
/*===========================================================================*/
#define GAUDIO_RECORD_NUM_CHANNELS 1
2013-02-28 23:04:52 +00:00
/**
* @brief Whether each channel is mono or stereo
*/
2018-02-27 07:44:21 +00:00
#define GAUDIO_RECORD_CHANNEL0_IS_STEREO GFXOFF
2013-02-28 23:04:52 +00:00
/**
* The list of audio channels and their uses
2013-02-28 23:04:52 +00:00
*/
#define GAUDIO_RECORD_MICROPHONE 0
2013-02-28 23:04:52 +00:00
#ifdef GAUDIO_RECORD_IMPLEMENTATION
static gU32 gaudio_gadc_physdevs[GAUDIO_RECORD_NUM_CHANNELS] = {
2013-02-28 23:04:52 +00:00
GADC_PHYSDEV_MICROPHONE,
};
#endif
#endif /* _GAUDIO_RECORD_BOARD_H */