blob: 0fa3da479dd9cec0f74486ee84c8c2a4cfdf56b6 (
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
|
/*
* This file is subject to 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/ginput/dial/GADC/ginput_lld_dial_config.h
* @brief GINPUT Dial Driver configuration header.
*
* @defgroup Dial Dial
* @ingroup GINPUT
* @{
*/
#ifndef _GINPUT_LLD_DIAL_CONFIG_H
#define _GINPUT_LLD_DIAL_CONFIG_H
#if GFX_USE_GINPUT && GINPUT_NEED_DIAL
#define GINPUT_DIAL_MAX_VALUE ((1<<GADC_BITS_PER_SAMPLE)-1)
#if GINPUT_TOGGLE_USE_CUSTOM_BOARD
/* Include the user supplied board definitions */
#include "ginput_lld_dial_board.h"
#elif defined(BOARD_OLIMEX_SAM7_EX256)
#include "ginput_lld_dial_board_olimexsam7ex256.h"
#else
/* Include the user supplied board definitions */
#include "ginput_lld_dial_board.h"
#endif
#endif /* GFX_USE_GDISP && GINPUT_NEED_DIAL */
#endif /* _GINPUT_LLD_DIAL_CONFIG_H */
/** @} */
|