nrf52/include/periph_cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2017 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef PERIPH_CPU_
20 #define PERIPH_CPU_
21 
22 #include "periph_cpu_common.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
32 #define UART_IRQN (UARTE0_UART0_IRQn)
33 #define SPI_SCKSEL (dev(bus)->PSEL.SCK)
34 #define SPI_MOSISEL (dev(bus)->PSEL.MOSI)
35 #define SPI_MISOSEL (dev(bus)->PSEL.MISO)
36 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* PERIPH_CPU_ */
43