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

One cell of a fixed-period pulse stream. More...

#include <zephyr/drivers/pulse_io.h>

Data Fields

uint16_t duty
 High-time within the cell period, in ticks.
uint16_t level: 1
 Line level for the cell (level-only backends).
uint16_t rsvd: 15
 Reserved; must be zero.

Detailed Description

One cell of a fixed-period pulse stream.

The cell period is set globally in pulse_io_config. Backends with cell_duty_bits > 0 honour duty; backends with cell_duty_bits == 0 honour level only.

Note
As with pulse_symbol, the bitfield layout is the in-RAM API contract, not a DMA format; backends convert as needed.

Field Documentation

◆ duty

uint16_t pulse_cell::duty

High-time within the cell period, in ticks.

◆ level

uint16_t pulse_cell::level

Line level for the cell (level-only backends).

◆ rsvd

uint16_t pulse_cell::rsvd

Reserved; must be zero.


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