peary/interfaces/SPI_CLICpix2/spi_CLICpix2.hpp

Peary CLICpix2 SPI Interface. More…

Namespaces

Name
peary
peary::interface

Classes

Name
class peary::interface::SPICLICpix2Endpoint Class representing the SPI interface for CLICpix2 devices.

Detailed Description

Peary CLICpix2 SPI Interface.

Copyright: Copyright (c) 2016-2025 CERN and the Peary Caribou authors. This software is distributed under the terms of the LGPL-3.0-only License, copied verbatim in the file “LICENSE.md”. SPDX-License-Identifier: LGPL-3.0-only

Source code

  
#pragma once

#include "peary/interfaces/SPI/spi.hpp"

namespace peary::interface {

    class SPICLICpix2Endpoint : public SPIEndpoint<> {
    public:
        explicit SPICLICpix2Endpoint(const std::string& bus) : SPIEndpoint<>(bus) {};

        /* Default destructor */
        ~SPICLICpix2Endpoint() = default;

    protected:
        pair_t write_impl(const pair_t& data) override;

        std::vector<pair_t> write_impl(const std::vector<pair_t>& data) override;
    }; // class SPICLICpix2Endpoint

} // namespace peary::interface
  

Updated on 2026-01-30 at 22:01:05 +0100