periph_conf.h File Reference

Board specific configuration of MCU periphery for SparkFun ESP8266 Thing boards. More...

Detailed Description

Board specific configuration of MCU periphery for SparkFun ESP8266 Thing boards.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file periph_conf.h.

#include <stdint.h>
#include "periph_conf_common.h"
+ Include dependency graph for periph_conf.h:

Go to the source code of this file.

Macros

#define SPI_FLASH_CHIP_SIZE   0x80000
 SPI Flash chip size can not be determined by the chip and therefore must be explicitly set to 512 kbytes. More...
 

I2C configuration

#define I2C0_SPEED   I2C_SPEED_FAST
 I2C bus speed of I2C_DEV(0) More...
 
#define I2C0_SDA   GPIO4
 SDA signal of I2C_DEV(0) More...
 
#define I2C0_SCL   GPIO5
 SCL signal of I2C_DEV(0) More...
 

PWM channel configuration

#define PWM0_GPIOS   { GPIO0, GPIO4, GPIO5 }
 Declaration of the channels for device PWM_DEV(0), at maximum 8 channels. More...
 

Macro Definition Documentation

◆ I2C0_SCL

#define I2C0_SCL   GPIO5

SCL signal of I2C_DEV(0)

Definition at line 38 of file periph_conf.h.

◆ I2C0_SDA

#define I2C0_SDA   GPIO4

SDA signal of I2C_DEV(0)

Definition at line 35 of file periph_conf.h.

◆ I2C0_SPEED

#define I2C0_SPEED   I2C_SPEED_FAST

I2C bus speed of I2C_DEV(0)

Definition at line 32 of file periph_conf.h.

◆ PWM0_GPIOS

#define PWM0_GPIOS   { GPIO0, GPIO4, GPIO5 }

Declaration of the channels for device PWM_DEV(0), at maximum 8 channels.

Note
As long as PWM_DEV(0) is not initialized with pwm_init, the GPIOs declared as PWM channels can be used for other purposes.

Definition at line 56 of file periph_conf.h.

◆ SPI_FLASH_CHIP_SIZE

#define SPI_FLASH_CHIP_SIZE   0x80000

SPI Flash chip size can not be determined by the chip and therefore must be explicitly set to 512 kbytes.

Definition at line 69 of file periph_conf.h.