35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
#ifndef B0CD865F_D860_44B7_B289_4F512C770D2B
|
|
#define B0CD865F_D860_44B7_B289_4F512C770D2B
|
|
|
|
/** a hack prevent `clangd` to complain about the error
|
|
* while prevent this file from being included by mistake.
|
|
*
|
|
* one needs to define `__CLANGD__` manually, you could
|
|
* do that with `.clangd` configuration file
|
|
*/
|
|
#ifndef __CLANGD__
|
|
#error "this file is a template; copy it to `app_const_llcc68.hpp` and modify the values; then remove this error"
|
|
#endif
|
|
|
|
#include <driver/gpio.h>
|
|
namespace app::driver::llcc68 {
|
|
/// @brief special pin number for no connection
|
|
constexpr auto NC_PIN = GPIO_NUM_NC;
|
|
|
|
constexpr auto MOSI_PIN = GPIO_NUM_NC;
|
|
constexpr auto MISO_PIN = GPIO_NUM_NC;
|
|
constexpr auto SCLK_PIN = GPIO_NUM_NC;
|
|
constexpr auto BUSY_PIN = GPIO_NUM_NC;
|
|
constexpr auto CS_PIN = GPIO_NUM_NC;
|
|
constexpr auto RST_PIN = NC_PIN;
|
|
|
|
constexpr auto DIO1_PIN = GPIO_NUM_NC;
|
|
constexpr auto DIO2_PIN = NC_PIN;
|
|
constexpr auto DIO3_PIN = NC_PIN;
|
|
|
|
/// @brief the pin numbers that needs to be configured as interrupt
|
|
constexpr gpio_num_t EXTI_PIN[] = {DIO1_PIN};
|
|
}
|
|
|
|
#endif /* B0CD865F_D860_44B7_B289_4F512C770D2B */
|