LibDriver MAX7219  2.0.0
MAX7219 full-featured driver
max7219_handle_s Struct Reference

max7219 handle structure definition More...

#include <driver_max7219.h>

Data Fields

uint8_t(* spi_init )(void)
 
uint8_t(* spi_deinit )(void)
 
uint8_t(* spi_write_cmd )(uint8_t *buf, uint16_t len)
 
uint8_t(* spi_write )(uint8_t reg, uint8_t *buf, uint16_t len)
 
void(* delay_ms )(uint32_t us)
 
void(* debug_print )(const char *const fmt,...)
 
uint8_t buf [MAX7219_MAX_CASCADE_SIZE *2]
 
uint8_t inited
 

Detailed Description

max7219 handle structure definition

Definition at line 270 of file driver_max7219.h.

Field Documentation

◆ buf

uint8_t buf[MAX7219_MAX_CASCADE_SIZE *2]

cascade buffer

Definition at line 278 of file driver_max7219.h.

◆ debug_print

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

point to a debug_print function address

Definition at line 277 of file driver_max7219.h.

◆ delay_ms

void(* delay_ms) (uint32_t us)

point to a delay_ms function address

Definition at line 276 of file driver_max7219.h.

◆ inited

uint8_t inited

inited flag

Definition at line 279 of file driver_max7219.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to a spi_deinit function address

Definition at line 273 of file driver_max7219.h.

◆ spi_init

uint8_t(* spi_init) (void)

point to a spi_init function address

Definition at line 272 of file driver_max7219.h.

◆ spi_write

uint8_t(* spi_write) (uint8_t reg, uint8_t *buf, uint16_t len)

point to a spi_write function address

Definition at line 275 of file driver_max7219.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 274 of file driver_max7219.h.


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