nRF51 specific definitions for handling peripherals More...
nRF51 specific definitions for handling peripherals
Definition in file periph_cpu.h.
#include "periph_cpu_common.h"
 Include dependency graph for periph_cpu.h:Go to the source code of this file.
Data Structures | |
| struct | i2c_conf_t | 
| I2C configuration structure.  More... | |
| struct | spi_conf_t | 
| SPI device configuration.  More... | |
Typedefs | |
| typedef gpio_t | adc_conf_t | 
| ADC configuration wrapper.  | |
| #define | CLOCK_CORECLOCK (16000000U) | 
| System core clock speed, fixed to 16MHz for all NRF51x CPUs.  | |
| #define | SPI_SCKSEL (dev(bus)->PSELSCK) | 
| Redefine some peripheral names to unify them between nRF51 and 52.  | |
| #define | SPI_MOSISEL (dev(bus)->PSELMOSI) | 
| #define | SPI_MISOSEL (dev(bus)->PSELMISO) | 
Use the shared I2C functions | |
| #define | PERIPH_I2C_NEED_READ_REG | 
| Use read reg function from periph common.  | |
| #define | PERIPH_I2C_NEED_WRITE_REG | 
| Use write reg function from periph common.  | |