On this page
article
peary::component::Si570
peary::component::Si570
Si570 Clock Generator.
#include <peary/hardware/components/Si570.hpp>
Inherits from peary::hal::Component
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
| Name | |
|---|---|
| Component() =defaultDefault constructor. | |
| virtual | ~Component() =defaultDefault destructor. |
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 2025-11-14 at 11:31:23 +0100