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

Capabilities and limits of a precision clock output channel. More...

#include <zephyr/precision_timing/precision_clock_output.h>

Data Fields

uint32_t flags
 Combination of precision_clock_output_caps_flags.
precision_time_t resolution_ns
 Smallest representable output time increment in nanoseconds.
precision_time_t min_lead_time_ns
 Minimum required delay from the current time to the first edge.
precision_time_t min_period_ns
 Minimum supported waveform period in nanoseconds.
precision_time_t max_period_ns
 Maximum supported waveform period in nanoseconds.
precision_time_t min_pulse_width_ns
 Minimum supported programmable high-pulse width in nanoseconds.
precision_time_t max_pulse_width_ns
 Maximum supported programmable high-pulse width in nanoseconds.

Detailed Description

Capabilities and limits of a precision clock output channel.

The period limits are meaningful only when PRECISION_CLOCK_OUTPUT_CAP_WAVEFORM is advertised. The pulse-width limits are meaningful only when PRECISION_CLOCK_OUTPUT_CAP_PROGRAMMABLE_WIDTH is advertised. Providers must report a positive resolution, non-negative lead time, and positive, ordered limits for the advertised capabilities.

Field Documentation

◆ flags

uint32_t precision_clock_output_channel_caps::flags

◆ max_period_ns

precision_time_t precision_clock_output_channel_caps::max_period_ns

Maximum supported waveform period in nanoseconds.

◆ max_pulse_width_ns

precision_time_t precision_clock_output_channel_caps::max_pulse_width_ns

Maximum supported programmable high-pulse width in nanoseconds.

◆ min_lead_time_ns

precision_time_t precision_clock_output_channel_caps::min_lead_time_ns

Minimum required delay from the current time to the first edge.

◆ min_period_ns

precision_time_t precision_clock_output_channel_caps::min_period_ns

Minimum supported waveform period in nanoseconds.

◆ min_pulse_width_ns

precision_time_t precision_clock_output_channel_caps::min_pulse_width_ns

Minimum supported programmable high-pulse width in nanoseconds.

◆ resolution_ns

precision_time_t precision_clock_output_channel_caps::resolution_ns

Smallest representable output time increment in nanoseconds.


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