aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/testhal/NRF52/NRF52832/PWM-ICU/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/testhal/NRF52/NRF52832/PWM-ICU/mcuconf.h')
-rw-r--r--lib/chibios-contrib/testhal/NRF52/NRF52832/PWM-ICU/mcuconf.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/chibios-contrib/testhal/NRF52/NRF52832/PWM-ICU/mcuconf.h b/lib/chibios-contrib/testhal/NRF52/NRF52832/PWM-ICU/mcuconf.h
new file mode 100644
index 000000000..429309ae5
--- /dev/null
+++ b/lib/chibios-contrib/testhal/NRF52/NRF52832/PWM-ICU/mcuconf.h
@@ -0,0 +1,33 @@
1/*
2 Copyright (C) 2015 Fabio Utzig
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17#ifndef _MCUCONF_H_
18#define _MCUCONF_H_
19
20/*
21 * HAL driver system settings.
22 */
23#define NRF5_SERIAL_USE_UART0 TRUE
24#define NRF5_ST_USE_RTC0 TRUE
25#define NRF5_ST_USE_RTC1 FALSE
26#define NRF5_ST_USE_TIMER0 FALSE
27#define NRF5_PWM_USE_PWM0 TRUE
28#define NRF5_PWM_PWM0_PRIORITY 6
29#define NRF5_ICU_USE_TIMER0 TRUE
30#define NRF5_ICU_GPIOTE_IRQ_PRIORITY 4
31#define NRF5_ICU_TIMER0_IRQ_PRIORITY 4
32
33#endif /* _MCUCONF_H_ */