![]() |
LibDriver MAX7219
|
max7219 base driver modules More...
Data Structures | |
| struct | max7219_handle_s |
| max7219 handle structure definition More... | |
| struct | max7219_info_s |
| max7219 info structure definition More... | |
Typedefs | |
| typedef struct max7219_handle_s | max7219_handle_t |
| max7219 handle structure definition | |
| typedef struct max7219_info_s | max7219_info_t |
| max7219 info structure definition | |
Functions | |
| uint8_t | max7219_info (max7219_info_t *info) |
| get chip's information | |
| uint8_t | max7219_init (max7219_handle_t *handle) |
| initialize the chip | |
| uint8_t | max7219_deinit (max7219_handle_t *handle) |
| close the chip | |
| uint8_t | max7219_set_display (max7219_handle_t *handle, max7219_digital_t digital, uint8_t data) |
| set the display content | |
| uint8_t | max7219_set_matrix (max7219_handle_t *handle, uint8_t matrix[8]) |
| set the content matrix | |
| uint8_t | max7219_set_decode (max7219_handle_t *handle, max7219_decode_t decode) |
| set the decode mode | |
| uint8_t | max7219_set_mode (max7219_handle_t *handle, max7219_mode_t mode) |
| set the chip mode | |
| uint8_t | max7219_set_display_test_mode (max7219_handle_t *handle, max7219_display_test_mode_t mode) |
| set the display test mode | |
| uint8_t | max7219_set_intensity (max7219_handle_t *handle, max7219_intensity_t intensity) |
| set the display intensity | |
| uint8_t | max7219_set_scan_limit (max7219_handle_t *handle, max7219_scan_limit_t limit) |
| set the scan limit | |
max7219 base driver modules
| typedef struct max7219_handle_s max7219_handle_t |
max7219 handle structure definition
| typedef struct max7219_info_s max7219_info_t |
max7219 info structure definition
| enum max7219_codeb_font_t |
max7219 code b font enumeration definition
Definition at line 94 of file driver_max7219.h.
| enum max7219_decode_t |
max7219 decode enumeration definition
Definition at line 196 of file driver_max7219.h.
| enum max7219_digital_t |
max7219 digital enumeration definition
Definition at line 207 of file driver_max7219.h.
max7219 display test mode enumeration definition
| Enumerator | |
|---|---|
| MAX7219_DISPLAY_TEST_MODE_OFF | test mode off |
| MAX7219_DISPLAY_TEST_MODE_ON | test mode on |
Definition at line 187 of file driver_max7219.h.
| enum max7219_intensity_t |
max7219 intensity enumeration definition
Definition at line 155 of file driver_max7219.h.
| enum max7219_mode_t |
max7219 mode enumeration definition
| Enumerator | |
|---|---|
| MAX7219_MODE_SHUT_DOWN | shut down mode |
| MAX7219_MODE_NORMAL | normal mode |
Definition at line 178 of file driver_max7219.h.
max7219 no decode font enumeration definition
Definition at line 117 of file driver_max7219.h.
| enum max7219_scan_limit_t |
max7219 scan limit enumeration definition
Definition at line 140 of file driver_max7219.h.
| enum max7219_segment_t |
max7219 segment enumeration definition
Definition at line 79 of file driver_max7219.h.
| uint8_t max7219_deinit | ( | max7219_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to a max7219 handle structure |
Definition at line 443 of file driver_max7219.c.
| uint8_t max7219_info | ( | max7219_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to a max7219 info structure |
Definition at line 518 of file driver_max7219.c.
| uint8_t max7219_init | ( | max7219_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to a max7219 handle structure |
Definition at line 380 of file driver_max7219.c.
| uint8_t max7219_set_decode | ( | max7219_handle_t * | handle, |
| max7219_decode_t | decode ) |
set the decode mode
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | decode | decode mode |
Definition at line 196 of file driver_max7219.c.
| uint8_t max7219_set_display | ( | max7219_handle_t * | handle, |
| max7219_digital_t | digital, | ||
| uint8_t | data ) |
set the display content
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | digital | set part |
| [in] | data | set data |
Definition at line 73 of file driver_max7219.c.
| uint8_t max7219_set_display_test_mode | ( | max7219_handle_t * | handle, |
| max7219_display_test_mode_t | mode ) |
set the display test mode
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | mode | display test mode |
Definition at line 270 of file driver_max7219.c.
| uint8_t max7219_set_intensity | ( | max7219_handle_t * | handle, |
| max7219_intensity_t | intensity ) |
set the display intensity
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | intensity | display intensity |
Definition at line 307 of file driver_max7219.c.
| uint8_t max7219_set_matrix | ( | max7219_handle_t * | handle, |
| uint8_t | matrix[8] ) |
set the content matrix
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | *matrix | pointer to a content matrix |
Definition at line 108 of file driver_max7219.c.
| uint8_t max7219_set_mode | ( | max7219_handle_t * | handle, |
| max7219_mode_t | mode ) |
set the chip mode
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | mode | chip mode |
Definition at line 233 of file driver_max7219.c.
| uint8_t max7219_set_scan_limit | ( | max7219_handle_t * | handle, |
| max7219_scan_limit_t | limit ) |
set the scan limit
| [in] | *handle | pointer to a max7219 handle structure |
| [in] | limit | scan limit |
Definition at line 344 of file driver_max7219.c.