blob: 7017a9bab6f91ac9f2107ff773dc2eb3c6b50d3e [file] [log] [blame]
#pragma once
#include "config.hpp"
#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);