blob: 206f0c6650d384902f0957c6dbf25fbaca4bc544 [file] [log] [blame]
#pragma once
#include "config.h"
#include <cstdint>
#include <string>
struct ButtonConfig;
struct CpldInfo
{
std::string registerName;
uint32_t i2cAddress;
uint32_t i2cBus;
int cpldMappedFd; // io fd mapped with the cpld
};
int configCpld(ButtonConfig& buttonCfg);