CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
libtropic_port_esp32.h
Go to the documentation of this file.
1#pragma once
2
3#include "driver/gpio.h"
4#include "driver/spi_master.h"
5
6#ifdef __DOXYGEN__
7namespace cdc::hal {
8#endif
9
10// Device context for libtropic ESP32 port
11typedef struct {
12 spi_device_handle_t spi;
13 gpio_num_t cs_pin;
15
16#ifdef __DOXYGEN__
17} // namespace cdc::hal
18#endif