Loading...
Searching...
No Matches
periph_conf.h File Reference

Board specific configuration of MCU periphery for ESP-12x based boards. More...

Detailed Description

Board specific configuration of MCU periphery for ESP-12x based 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.

I2C configuration

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

PWM channel configuration

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

Macro Definition Documentation

◆ I2C0_SCL

#define I2C0_SCL   GPIO5

SCL signal of I2C_DEV(0)

Definition at line 37 of file periph_conf.h.

◆ I2C0_SDA

#define I2C0_SDA   GPIO4

SDA signal of I2C_DEV(0)

Definition at line 34 of file periph_conf.h.

◆ I2C0_SPEED

#define I2C0_SPEED   I2C_SPEED_FAST

I2C bus speed of I2C_DEV(0)

Definition at line 31 of file periph_conf.h.

◆ PWM0_GPIOS

#define PWM0_GPIOS   { GPIO0, GPIO2, GPIO16 }

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 55 of file periph_conf.h.