export interface Nrf24 {
    miso: number;
    mosi: number;
    clk: number;
    irq: number;
    en: number;
    cs: number;
}

export interface Ethernet {
    enabled: boolean;
    phy_addr: number;
    power: number;
    mdc: number;
    mdio: number;
    type: number;
    clk_mode: number;
}

export interface Display {
    type: number;
    data: number;
    clk: number;
    cs: number;
    reset: number;
}

export interface Victron {
    rx: number;
    tx: number;
}

export interface Battery {
    rx: number;
    tx: number;
}

export interface Device  {
    name: string;
    nrf24: Nrf24;
    eth: Ethernet;
    display: Display;
    victron: Victron;
    battery: Battery;
}

export interface PinMapping extends Array<Device>{}
