peary::board::carboard::ZynqClockGenerator

Clock generator resource on Zynq board.

#include <peary/hardware/boards/Carboard.hpp>

Inherits from peary::hal::Oscillator, peary::hal::Resource

Public Functions

Name
ZynqClockGenerator(component::Si570 & si570)Constructor for ZynqClockGenerator class.
virtual void setFrequency(uint64_t frequency) overrideSet the frequency of the clock generator.

Additional inherited members

Public Functions inherited from peary::hal::Resource

Name
virtual ~Resource() =defaultDefault constructor.
void setName(const std::string & name)Set the name of the resource.
std::string name() constGet the name of the resource.

Protected Attributes inherited from peary::hal::Resource

Name
std::string _name

Public Functions Documentation

function ZynqClockGenerator

  inline ZynqClockGenerator(
    component::Si570 & si570
)
  

Constructor for ZynqClockGenerator class.

Parameters:

  • si570 Reference to the Si570 component

function setFrequency

  inline virtual void setFrequency(
    uint64_t frequency
) override
  

Set the frequency of the clock generator.

Parameters:

  • frequency The frequency to set (in Hz)

Reimplements: peary::hal::Oscillator::setFrequency


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