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__
7
namespace
cdc::hal
{
8
#endif
9
10
// Device context for libtropic ESP32 port
11
typedef
struct
{
12
spi_device_handle_t
spi
;
13
gpio_num_t
cs_pin
;
14
}
lt_dev_esp32_t
;
15
16
#ifdef __DOXYGEN__
17
}
// namespace cdc::hal
18
#endif
cdc::hal
Definition
IBluetoothController.h:8
cdc::hal::lt_dev_esp32_t
Definition
libtropic_port_esp32.h:11
cdc::hal::lt_dev_esp32_t::spi
spi_device_handle_t spi
Definition
libtropic_port_esp32.h:12
cdc::hal::lt_dev_esp32_t::cs_pin
gpio_num_t cs_pin
Definition
libtropic_port_esp32.h:13
components
cdc_hal
include
cdc_hal
libtropic_port_esp32.h
Generated by
1.16.1