Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
precision_clock_output_waveform_config Struct Reference

Configuration of a periodic clock output waveform. More...

#include <zephyr/precision_timing/precision_clock_output.h>

Data Fields

precision_time_t first_rising_time
 Absolute time of the first rising edge in the owning clock's timescale.
precision_time_t period_ns
 Interval between rising edges in nanoseconds.
enum precision_clock_output_width_policy width_policy
 High-pulse width policy applied to each period.
precision_time_t pulse_width_ns
 High-pulse width in nanoseconds.

Detailed Description

Configuration of a periodic clock output waveform.

Field Documentation

◆ first_rising_time

precision_time_t precision_clock_output_waveform_config::first_rising_time

Absolute time of the first rising edge in the owning clock's timescale.

◆ period_ns

precision_time_t precision_clock_output_waveform_config::period_ns

Interval between rising edges in nanoseconds.

◆ pulse_width_ns

precision_time_t precision_clock_output_waveform_config::pulse_width_ns

High-pulse width in nanoseconds.

Used only when width_policy is PRECISION_CLOCK_OUTPUT_WIDTH_EXACT.

◆ width_policy

enum precision_clock_output_width_policy precision_clock_output_waveform_config::width_policy

High-pulse width policy applied to each period.


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