Board specific definitions for the Sipeed Longan Nano board. More...
Board specific definitions for the Sipeed Longan Nano board.
Definition in file periph_conf.h.
#include "macros/units.h"
#include "periph_cpu.h"
#include "periph_common_conf.h"
#include "cfg_i2c_default.h"
#include "cfg_spi_default.h"
#include "cfg_timer_default.h"
#include "cfg_uart_default.h"
#include "cfg_usbdev_default.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_HXTAL 1 |
The board provides a high frequency oscillator. | |
#define | CONFIG_BOARD_HAS_LXTAL 1 |
The board provides a low frequency oscillator. | |
#define | CONFIG_CLOCK_HXTAL MHZ(8) |
HXTAL frequency. | |
#define | SPI_DEV_1_USED 0 |
Disable SPI_DEV(1) by default for the non-TFT version. | |
#define | I2C_DEV_1_USED 1 |
Enable I2C_DEV(1) by default. | |
ADC configuration | |
#define | ADC_NUMOF ARRAY_SIZE(adc_config) |
static const adc_conf_t | adc_config [] |
DAC configuration | |
#define | DAC_NUMOF ARRAY_SIZE(dac_config) |
static const dac_conf_t | dac_config [] |
PWM configuration | |
#define | PWM_NUMOF ARRAY_SIZE(pwm_config) |
static const pwm_conf_t | pwm_config [] |
#define ADC_NUMOF ARRAY_SIZE(adc_config) |
Definition at line 92 of file periph_conf.h.
#define CONFIG_BOARD_HAS_HXTAL 1 |
The board provides a high frequency oscillator.
Definition at line 25 of file periph_conf.h.
#define CONFIG_BOARD_HAS_LXTAL 1 |
The board provides a low frequency oscillator.
Definition at line 29 of file periph_conf.h.
#define CONFIG_CLOCK_HXTAL MHZ(8) |
HXTAL frequency.
Definition at line 33 of file periph_conf.h.
#define DAC_NUMOF ARRAY_SIZE(dac_config) |
Definition at line 106 of file periph_conf.h.
#define I2C_DEV_1_USED 1 |
Enable I2C_DEV(1) by default.
Definition at line 45 of file periph_conf.h.
#define PWM_NUMOF ARRAY_SIZE(pwm_config) |
Definition at line 144 of file periph_conf.h.
#define SPI_DEV_1_USED 0 |
Disable SPI_DEV(1) by default for the non-TFT version.
Definition at line 40 of file periph_conf.h.
|
static |
Definition at line 65 of file periph_conf.h.
|
static |
|
static |
Definition at line 113 of file periph_conf.h.