From 2e554f3ef5e1e3d7b6d04457cee27dd79618e345 Mon Sep 17 00:00:00 2001 From: Stephen Caudle Date: Mon, 31 Aug 2015 23:16:06 -0400 Subject: Add ADC driver for nRF51 --- testhal/NRF51/NRF51822/ADC/mcuconf.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 testhal/NRF51/NRF51822/ADC/mcuconf.h (limited to 'testhal/NRF51/NRF51822/ADC/mcuconf.h') diff --git a/testhal/NRF51/NRF51822/ADC/mcuconf.h b/testhal/NRF51/NRF51822/ADC/mcuconf.h new file mode 100644 index 0000000..123261a --- /dev/null +++ b/testhal/NRF51/NRF51822/ADC/mcuconf.h @@ -0,0 +1,25 @@ +/* + Copyright (C) 2015 Stephen Caudle + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +#ifndef _MCUCONF_H_ +#define _MCUCONF_H_ + +/* + * NRF51 driver system settings. + */ +#define NRF51_ADC_USE_ADC1 TRUE + +#endif /* _MCUCONF_H_ */ -- cgit v1.2.3