![]() |
LibDriver ST7920
|
driver st7920 advance header file More...
#include "driver_st7920_interface.h"Go to the source code of this file.
Macros | |
| #define | ST7920_ADVANCE_DEFAULT_BUS_BIT ST7920_INTERFACE_BUS_BIT_8 |
| st7920 advance example default definition | |
| #define | ST7920_ADVANCE_DEFAULT_DISPLAY_SHIFT ST7920_DISPLAY_SHIFT_RIGHT |
| #define | ST7920_ADVANCE_DEFAULT_ADDRESS_COUNTER_MODE ST7920_ADDRESS_COUNTER_MODE_INCREASE |
| #define | ST7920_ADVANCE_DEFAULT_DISPLAY_SHIFT_MODE ST7920_DISPLAY_SHIFT_MODE_LH |
Functions | |
| uint8_t | st7920_advance_init (void) |
| advance example init | |
| uint8_t | st7920_advance_deinit (void) |
| advance example deinit | |
| uint8_t | st7920_advance_display_on (void) |
| advance example display on | |
| uint8_t | st7920_advance_display_off (void) |
| advance example display off | |
| uint8_t | st7920_advance_clear (void) |
| advance example clear | |
| uint8_t | st7920_advance_clear_string (void) |
| advance example clear string | |
| uint8_t | st7920_advance_clear_image (void) |
| advance example clear image | |
| uint8_t | st7920_advance_write_point (uint8_t x, uint8_t y, uint8_t data) |
| advance example write a point | |
| uint8_t | st7920_advance_read_point (uint8_t x, uint8_t y, uint8_t *data) |
| advance example read a point | |
| uint8_t | st7920_advance_string (uint8_t x, uint8_t y, char *str) |
| advance example write a string | |
| uint8_t | st7920_advance_rect (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t color) |
| advance example fill a rectangle | |
| uint8_t | st7920_advance_picture (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img) |
| advance example draw a picture | |
| uint8_t | st7920_advance_compress_picture (uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img) |
| advance example draw a compressed picture | |
| uint8_t | st7920_advance_set_scroll (uint8_t addr) |
| advance example set scroll | |
| uint8_t | st7920_advance_enable_scroll (void) |
| advance example enable scroll | |
| uint8_t | st7920_advance_disable_scroll (void) |
| advance example disable scroll | |
| uint8_t | st7920_advance_set_reverse_line (st7920_reverse_line_t l) |
| advance example set reverse line | |
driver st7920 advance header file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2022/03/19 | 1.0 | Shifeng Li | first upload |
Definition in file driver_st7920_advance.h.