Peripheral configurations for the HiP Badge. More...
Peripheral configurations for the HiP Badge.
Definition in file periph_conf.h.
#include <stdint.h>
#include "periph_conf_common.h"
Go to the source code of this file.
I2C configuration | |
One I2C interface I2C_DEV(0) is defined and available via the SAO headers. The GPIOs listed in the configuration are only initialized as I2C signals when module | |
#define | I2C0_SPEED I2C_SPEED_FAST |
I2C bus speed of I2C_DEV(0) | |
#define | I2C0_SCL GPIO6 |
SCL signal of I2C_DEV(0) | |
#define | I2C0_SDA GPIO5 |
SDA signal of I2C_DEV(0) | |
UART configuration | |
ESP32-C3 provides 2 UART interfaces at maximum: UART_DEV(0) uses fixed standard configuration. | |
#define | UART0_TXD GPIO21 |
direct I/O pin for UART_DEV(0) TxD, can't be changed | |
#define | UART0_RXD GPIO20 |
direct I/O pin for UART_DEV(0) RxD, can't be changed | |
#define | UART1_TXD GPIO7 |
IrDA TX - Bad Choice? | |
#define | UART1_RXD GPIO3 |
IrDA RX - Bad Choice? | |
#define I2C0_SCL GPIO6 |
SCL signal of I2C_DEV(0)
Definition at line 42 of file periph_conf.h.
#define I2C0_SDA GPIO5 |
SDA signal of I2C_DEV(0)
Definition at line 45 of file periph_conf.h.
#define I2C0_SPEED I2C_SPEED_FAST |
I2C bus speed of I2C_DEV(0)
Definition at line 39 of file periph_conf.h.
#define UART0_RXD GPIO20 |
direct I/O pin for UART_DEV(0) RxD, can't be changed
Definition at line 60 of file periph_conf.h.
#define UART0_TXD GPIO21 |
direct I/O pin for UART_DEV(0) TxD, can't be changed
Definition at line 59 of file periph_conf.h.
#define UART1_RXD GPIO3 |
IrDA RX - Bad Choice?
Definition at line 63 of file periph_conf.h.
#define UART1_TXD GPIO7 |
IrDA TX - Bad Choice?
Definition at line 62 of file periph_conf.h.