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

Per-bit template used by pulse_io_encode_bytes. More...

#include <zephyr/drivers/pulse_io.h>

Data Fields

struct pulse_symbol zero [2]
 Symbol pair emitted for a zero bit.
struct pulse_symbol one [2]
 Symbol pair emitted for a one bit.
bool msb_first
 true: MSB first; false: LSB first.

Detailed Description

Per-bit template used by pulse_io_encode_bytes.

Each input bit expands to a pair of pulse_symbol entries.

Field Documentation

◆ msb_first

bool pulse_io_bit_template::msb_first

true: MSB first; false: LSB first.

◆ one

struct pulse_symbol pulse_io_bit_template::one[2]

Symbol pair emitted for a one bit.

◆ zero

struct pulse_symbol pulse_io_bit_template::zero[2]

Symbol pair emitted for a zero bit.


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