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

Encoder vtable: protocol bytes to pulse symbols. More...

#include <zephyr/drivers/pulse_io.h>

Data Fields

int(* encode )(const struct pulse_io_bit_template *tmpl, const uint8_t *bytes, size_t nbytes, struct pulse_symbol *out, size_t out_cap, size_t *produced)
 Expand a byte stream into pulse symbols.

Detailed Description

Encoder vtable: protocol bytes to pulse symbols.

Field Documentation

◆ encode

int(* pulse_io_encoder_api::encode) (const struct pulse_io_bit_template *tmpl, const uint8_t *bytes, size_t nbytes, struct pulse_symbol *out, size_t out_cap, size_t *produced)

Expand a byte stream into pulse symbols.


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