Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pulse_symbol Struct Reference

One symbol of a pulse stream. More...

#include <zephyr/drivers/pulse_io.h>

Data Fields

uint32_t duration: 31
 Duration in ticks of the configured resolution.
uint32_t level: 1
 Line level for the duration (0 or 1).

Detailed Description

One symbol of a pulse stream.

duration is expressed in ticks of the configured resolution_hz.

Note
The bitfield layout is the in-RAM API contract, not a wire or DMA format. Backends that feed hardware by DMA must convert to their own packed representation rather than transferring this struct directly.

Field Documentation

◆ duration

uint32_t pulse_symbol::duration

Duration in ticks of the configured resolution.

◆ level

uint32_t pulse_symbol::level

Line level for the duration (0 or 1).


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