peary/hardware/components/Si570.hpp

Si570 Component Class. More…

Namespaces

Name
peary
peary::component

Classes

Name
class peary::component::Si570 Si570 Clock Generator.

Detailed Description

Si570 Component Class.

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/hal/Components.hpp"
#include "peary/interfaces/I2C/i2c.hpp"
#include "peary/utils/datatypes.hpp"

namespace peary::component {

    class Si570 : public hal::Component {
    public:
        Si570(const std::string& i2c_bus, uint8_t device_address);

        void setFrequency(const uint64_t frequency);

    private:
        std::string _bus;
        uint8_t _address;
    };
} // namespace peary::component
  

Updated on 2025-11-14 at 11:31:23 +0100