LibDriver WS2812B
Loading...
Searching...
No Matches
ws2812b_handle_s Struct Reference

ws2812b handle structure definition More...

#include <driver_ws2812b.h>

Data Fields

uint8_t(* spi_10mhz_init )(void)
uint8_t(* spi_deinit )(void)
uint8_t(* spi_write_cmd )(uint8_t *buf, uint16_t len)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
uint8_t inited

Detailed Description

ws2812b handle structure definition

Definition at line 69 of file driver_ws2812b.h.

Field Documentation

◆ debug_print

void(* debug_print) (const char *const fmt,...)

point to a debug_print function address

Definition at line 75 of file driver_ws2812b.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 74 of file driver_ws2812b.h.

◆ inited

uint8_t inited

inited flag

Definition at line 76 of file driver_ws2812b.h.

◆ spi_10mhz_init

uint8_t(* spi_10mhz_init) (void)

point to a spi_10mhz_init function address

Definition at line 71 of file driver_ws2812b.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to a spi_deinit function address

Definition at line 72 of file driver_ws2812b.h.

◆ spi_write_cmd

uint8_t(* spi_write_cmd) (uint8_t *buf, uint16_t len)

point to a spi_write_cmd function address

Definition at line 73 of file driver_ws2812b.h.


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