µGFX  2.9
version 2.9
gadc_options.h
Go to the documentation of this file.
1 /*
2  * This file is subject to the terms of the GFX License. If a copy of
3  * the license was not distributed with this file, you can obtain one at:
4  *
5  * http://ugfx.io/license.html
6  */
7 
8 /**
9  * @file src/gadc/gadc_options.h
10  * @brief GADC - Periodic ADC subsystem options header file.
11  *
12  * @addtogroup GADC
13  * @{
14  */
15 
16 #ifndef _GADC_OPTIONS_H
17 #define _GADC_OPTIONS_H
18 
19 /**
20  * @name GADC Functionality to be included
21  * @{
22  */
23 /**
24  * @}
25  *
26  * @name GADC Optional Sizing Parameters
27  * @{
28  */
29  /**
30  * @brief The maximum GADC sample rate
31  * @details Defaults to 44000
32  * @note This value must be less than half the maximum sample rate allowed by the CPU.
33  * This is to ensure there is time between high speed samples to perform low
34  * speed device sampling.
35  */
36  #ifndef GADC_MAX_HIGH_SPEED_SAMPLERATE
37  #define GADC_MAX_HIGH_SPEED_SAMPLERATE 44000
38  #endif
39 /** @} */
40 
41 #endif /* _GADC_OPTIONS_H */
42 /** @} */