LibDriver MAX7219
Loading...
Searching...
No Matches
max7219 extern driver function

max7219 extern driver modules More...

Collaboration diagram for max7219 extern driver function:

Functions

uint8_t max7219_set_reg (max7219_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
 set the chip register

Detailed Description

max7219 extern driver modules

Function Documentation

◆ max7219_set_reg()

uint8_t max7219_set_reg ( max7219_handle_t * handle,
uint8_t reg,
uint8_t * buf,
uint16_t len )

set the chip register

Parameters
[in]*handlepointer to a max7219 handle structure
[in]regchip register address
[in]*bufpointer to a data buffer
[in]lendata buffer length
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 489 of file driver_max7219.c.