From 205cab1b811a2085e26eb5b57602c7da091936d2 Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Tue, 4 Jun 2013 14:52:28 +0900
Subject: add neug settings for FST-01

---
 board/board-fst-01.h | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'board')

diff --git a/board/board-fst-01.h b/board/board-fst-01.h
index c9ec367..fae1945 100644
--- a/board/board-fst-01.h
+++ b/board/board-fst-01.h
@@ -18,3 +18,11 @@
 
 #define RCC_APB2ENR_IOP_EN	(RCC_APB2ENR_IOPAEN | RCC_APB2ENR_IOPBEN)
 #define RCC_APB2RSTR_IOP_RST	(RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_IOPBRST)
+
+/* NeuG settings for ADC2.  */
+#define NEUG_ADC_SETTING2_SMPR1 0
+#define NEUG_ADC_SETTING2_SMPR2 ADC_SMPR2_SMP_AN0(ADC_SAMPLE_1P5)    \
+                              | ADC_SMPR2_SMP_AN9(ADC_SAMPLE_1P5)
+#define NEUG_ADC_SETTING2_SQR3  ADC_SQR3_SQ1_N(ADC_CHANNEL_IN0)      \
+                              | ADC_SQR3_SQ2_N(ADC_CHANNEL_IN9)
+#define NEUG_ADC_SETTING2_NUM_CHANNELS 2
-- 
cgit v1.2.3