Zephyr Project API 4.4.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
clock_control_driver_api Struct Reference

@driver_ops{Clock Control} More...

#include <clock_control.h>

Data Fields

clock_control on
 @driver_ops_optional Enable a clock controlled by the device.
clock_control off
 @driver_ops_optional Disable a clock controlled by the device.
clock_control_async_on_fn async_on
 @driver_ops_optional Request clock to start with notification when clock has been started.
clock_control_get get_rate
 @driver_ops_optional Obtain the clock rate of given sub-system.
clock_control_get_status_fn get_status
 @driver_ops_optional Get clock status.
clock_control_set set_rate
 @driver_ops_optional Set the rate of the clock controlled by the device.
clock_control_configure_fn configure
 @driver_ops_optional Configure a source clock.

Detailed Description

@driver_ops{Clock Control}

Field Documentation

◆ async_on

clock_control_async_on_fn clock_control_driver_api::async_on

@driver_ops_optional Request clock to start with notification when clock has been started.

◆ configure

clock_control_configure_fn clock_control_driver_api::configure

@driver_ops_optional Configure a source clock.

◆ get_rate

clock_control_get clock_control_driver_api::get_rate

@driver_ops_optional Obtain the clock rate of given sub-system.

◆ get_status

clock_control_get_status_fn clock_control_driver_api::get_status

@driver_ops_optional Get clock status.

◆ off

clock_control clock_control_driver_api::off

@driver_ops_optional Disable a clock controlled by the device.

◆ on

clock_control clock_control_driver_api::on

@driver_ops_optional Enable a clock controlled by the device.

◆ set_rate

clock_control_set clock_control_driver_api::set_rate

@driver_ops_optional Set the rate of the clock controlled by the device.


The documentation for this struct was generated from the following file: