18 #include "periph_cpu_common.h" 
   27 #define CLOCK_CORECLOCK     (16000000U) 
   33 #define SPI_SCKSEL          (dev(bus)->PSELSCK) 
   34 #define SPI_MOSISEL         (dev(bus)->PSELMOSI) 
   35 #define SPI_MISOSEL         (dev(bus)->PSELMISO) 
   43 #define HAVE_I2C_SPEED_T 
   59 #define PERIPH_I2C_NEED_READ_REG 
   61 #define PERIPH_I2C_NEED_WRITE_REG 
   69 #define HAVE_ADC_RES_T 
gpio_t adc_conf_t
ADC configuration wrapper.
 
adc_res_t
Possible ADC resolution settings.
 
@ ADC_RES_16BIT
ADC resolution: 16 bit.
 
@ ADC_RES_8BIT
ADC resolution: 8 bit.
 
@ ADC_RES_14BIT
ADC resolution: 14 bit.
 
@ ADC_RES_6BIT
ADC resolution: 6 bit.
 
@ ADC_RES_10BIT
ADC resolution: 10 bit.
 
@ ADC_RES_12BIT
ADC resolution: 12 bit.
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
@ I2C_SPEED_FAST_PLUS
fast plus mode: ~1000 kbit/s
 
@ I2C_SPEED_LOW
low speed mode: ~10 kbit/s
 
@ I2C_SPEED_HIGH
high speed mode: ~3400 kbit/s
 
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
 
I2C configuration structure.
 
uint8_t ppi
PPI channel to use.
 
NRF_TWI_Type * dev
hardware device
 
SPI device configuration.
 
NRF_SPI_Type * dev
SPI device used.