PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Data Fields
mtb_hal_clock_interface_t Struct Reference

## Description

Clock Interface structure for clocks.

## Data Fields
mtb_hal_clock_get_frequency_hz_t | get_frequency_hz
| Get the clock frequency.
mtb_hal_clock_set_frequency_hz_t | set_frequency_hz
| Set the clock frequency.
mtb_hal_clock_set_enabled_t | set_enabled
| Enable or Disable the clock.

## Field Documentation

## ◆ get_frequency_hz

mtb_hal_clock_get_frequency_hz_t mtb_hal_clock_interface_t::get_frequency_hz

Get the clock frequency.

## ◆ set_frequency_hz

mtb_hal_clock_set_frequency_hz_t mtb_hal_clock_interface_t::set_frequency_hz

Set the clock frequency.

## ◆ set_enabled

mtb_hal_clock_set_enabled_t mtb_hal_clock_interface_t::set_enabled

Enable or Disable the clock.