On this page
article
peary::component::Si570
peary::component::Si570
Si570 Clock Generator.
#include <peary/hardware/components/Si570.hpp>
Inherits from peary::hal::Component< interface::I2CEndpoint >
Public Functions
| Name | |
|---|---|
| Si570(const std::string & i2c_bus, uint8_t device_address)Constructor for Si570 class. | |
| void | setFrequency(const uint64_t frequency)Set the output frequency of the Si570. |
Additional inherited members
Public Functions inherited from peary::hal::Component< interface::I2CEndpoint >
| Name | |
|---|---|
| template <typename… Args> requires std::constructible_from< Interface, Args… > | Component(Args &&… args)Constructor which stores argument pack in a functional to generate the interface when accessed. |
| Component() =delete | |
| virtual | ~Component() =default |
| Interface & | interface()Accessor function for the interface. |
Public Functions Documentation
function Si570
Si570(
const std::string & i2c_bus,
uint8_t device_address
)
Constructor for Si570 class.
Parameters:
- i2c_bus The I2C bus to which the Si570 is connected
- device_address The I2C address of the Si570 device
function setFrequency
void setFrequency(
const uint64_t frequency
)
Set the output frequency of the Si570.
Updated on 2026-01-30 at 22:01:05 +0100