|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
#include "driver/gpio.h"Go to the source code of this file.
Macros | |
| #define | I2C0_SDA_PIN GPIO_NUM_17 |
| #define | I2C0_SCL_PIN GPIO_NUM_18 |
| #define | I2C1_SDA_PIN GPIO_NUM_47 |
| #define | I2C1_SCL_PIN GPIO_NUM_48 |
| #define | EXPANDER_ADDR 0x20 |
| #define | EXP_IRQ_PIN GPIO_NUM_1 |
| #define | BQ25895_ADDR 0x6A |
| #define | CHG_DSEL_PIN GPIO_NUM_21 |
| #define | CHG_IRQ_PIN GPIO_NUM_39 |
| #define | EPD_LED_PIN GPIO_NUM_8 |
| #define | EPD_CS_PIN GPIO_NUM_41 |
| #define | EPD_DC_PIN GPIO_NUM_45 |
| #define | EPD_RST_PIN GPIO_NUM_46 |
| #define | EPD_BUSY_PIN GPIO_NUM_42 |
| #define | SPI_SCLK_PIN GPIO_NUM_12 |
| #define | SPI_MISO_PIN GPIO_NUM_11 |
| #define | SPI_MOSI_PIN GPIO_NUM_13 |
| #define | TR01_CS_PIN GPIO_NUM_10 |
| #define | FLASH_BTN_PIN GPIO_NUM_0 |
| #define | SAO_GPIO1_PIN GPIO_NUM_15 |
| #define | SAO_GPIO2_PIN GPIO_NUM_16 |
| #define | SAO_EEPROM_ADDR 0x50 |
| #define | GROVE_0_PIN GPIO_NUM_2 |
| #define | GROVE_1_PIN GPIO_NUM_3 |
| #define BQ25895_ADDR 0x6A |
Definition at line 22 of file hw_config.h.
Referenced by cdc::hal::BQ25895Power::init().
| #define CHG_DSEL_PIN GPIO_NUM_21 |
Definition at line 23 of file hw_config.h.
| #define CHG_IRQ_PIN GPIO_NUM_39 |
Definition at line 24 of file hw_config.h.
Referenced by cdc::hal::BQ25895Power::init().
| #define EPD_BUSY_PIN GPIO_NUM_42 |
Definition at line 32 of file hw_config.h.
| #define EPD_CS_PIN GPIO_NUM_41 |
Definition at line 29 of file hw_config.h.
| #define EPD_DC_PIN GPIO_NUM_45 |
Definition at line 30 of file hw_config.h.
| #define EPD_LED_PIN GPIO_NUM_8 |
Definition at line 28 of file hw_config.h.
Referenced by cdc::hal::EpaperDisplay::init().
| #define EPD_RST_PIN GPIO_NUM_46 |
Definition at line 31 of file hw_config.h.
| #define EXP_IRQ_PIN GPIO_NUM_1 |
Definition at line 19 of file hw_config.h.
Referenced by cdc::hal::Esp32SleepController::enterDeepSleep(), cdc::hal::Esp32SleepController::enterLightSleep(), handleWakeupAndReleaseRtcGpio(), cdc::hal::TCA9535Keypad::init(), cdc::hal::TCA9535Keypad::prepareForSleep(), and cdc::hal::TCA9535Keypad::recoverFromSleep().
| #define EXPANDER_ADDR 0x20 |
Definition at line 18 of file hw_config.h.
Referenced by cdc::hal::TCA9535Keypad::init().
| #define FLASH_BTN_PIN GPIO_NUM_0 |
Definition at line 43 of file hw_config.h.
Referenced by cdc::hal::BQ25895Power::init(), and cdc::hal::BQ25895Power::update().
| #define GROVE_0_PIN GPIO_NUM_2 |
Definition at line 52 of file hw_config.h.
| #define GROVE_1_PIN GPIO_NUM_3 |
Definition at line 53 of file hw_config.h.
| #define I2C0_SCL_PIN GPIO_NUM_18 |
Definition at line 11 of file hw_config.h.
| #define I2C0_SDA_PIN GPIO_NUM_17 |
Definition at line 10 of file hw_config.h.
| #define I2C1_SCL_PIN GPIO_NUM_48 |
Definition at line 15 of file hw_config.h.
| #define I2C1_SDA_PIN GPIO_NUM_47 |
Definition at line 14 of file hw_config.h.
| #define SAO_EEPROM_ADDR 0x50 |
Definition at line 49 of file hw_config.h.
Referenced by host_sao_eeprom_read(), host_sao_eeprom_write(), and sao_init().
| #define SAO_GPIO1_PIN GPIO_NUM_15 |
Definition at line 47 of file hw_config.h.
| #define SAO_GPIO2_PIN GPIO_NUM_16 |
Definition at line 48 of file hw_config.h.
| #define SPI_MISO_PIN GPIO_NUM_11 |
Definition at line 36 of file hw_config.h.
Referenced by cdc::hal::initSharedSpiBus().
| #define SPI_MOSI_PIN GPIO_NUM_13 |
Definition at line 37 of file hw_config.h.
Referenced by cdc::hal::initSharedSpiBus().
| #define SPI_SCLK_PIN GPIO_NUM_12 |
Definition at line 35 of file hw_config.h.
Referenced by cdc::hal::initSharedSpiBus().
| #define TR01_CS_PIN GPIO_NUM_10 |
Definition at line 40 of file hw_config.h.
Referenced by cdc::hal::Tropic01Element::init().