![]() |
LibDriver ST7920
|
st7920 extended driver modules More...
Enumerations | |
| enum | st7920_reverse_line_t { ST7920_REVERSE_LINE_FIRST = 0x00 , ST7920_REVERSE_LINE_SECOND = 0x01 , ST7920_REVERSE_LINE_THIRD = 0x02 , ST7920_REVERSE_LINE_FOURTH = 0x03 } |
| st7920 reverse line enumeration definition More... | |
Functions | |
| uint8_t | st7920_write_point (st7920_handle_t *handle, uint8_t x, uint8_t y, uint8_t data) |
| write a point | |
| uint8_t | st7920_read_point (st7920_handle_t *handle, uint8_t x, uint8_t y, uint8_t *data) |
| read a point | |
| uint8_t | st7920_fill_rect (st7920_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t color) |
| fill a rectangle | |
| uint8_t | st7920_draw_picture (st7920_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img) |
| draw a picture | |
| uint8_t | st7920_draw_compress_picture (st7920_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img) |
| draw a compressed picture | |
| uint8_t | st7920_set_standby (st7920_handle_t *handle) |
| terminate to the standby mode | |
| uint8_t | st7920_set_vertical_scroll (st7920_handle_t *handle, st7920_bool_t enable) |
| set the vertical scroll | |
| uint8_t | st7920_set_reverse_line (st7920_handle_t *handle, st7920_reverse_line_t l) |
| set the reverse line | |
| uint8_t | st7920_set_extended_function (st7920_handle_t *handle, st7920_interface_bus_bit_t bus_bit, st7920_command_mode_t mode, st7920_bool_t graphic_display_enable) |
| set the extended function | |
| uint8_t | st7920_set_scroll_address (st7920_handle_t *handle, uint8_t addr) |
| set the scroll address | |
| uint8_t | st7920_set_graphic_address (st7920_handle_t *handle, uint8_t vertical_addr, uint8_t horizontal_addr) |
| set the graphic address | |
st7920 extended driver modules
st7920 reverse line enumeration definition
Definition at line 141 of file driver_st7920.h.
| uint8_t st7920_draw_compress_picture | ( | st7920_handle_t * | handle, |
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t * | img ) |
draw a compressed picture
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | left | left coordinate x |
| [in] | top | top coordinate y |
| [in] | right | right coordinate x |
| [in] | bottom | bottom coordinate y |
| [in] | *img | pointer to an image buffer |
Definition at line 954 of file driver_st7920.c.
| uint8_t st7920_draw_picture | ( | st7920_handle_t * | handle, |
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t * | img ) |
draw a picture
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | left | left coordinate x |
| [in] | top | top coordinate y |
| [in] | right | right coordinate x |
| [in] | bottom | bottom coordinate y |
| [in] | *img | pointer to an image buffer |
Definition at line 805 of file driver_st7920.c.
| uint8_t st7920_fill_rect | ( | st7920_handle_t * | handle, |
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t | color ) |
fill a rectangle
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | left | left coordinate x |
| [in] | top | top coordinate y |
| [in] | right | right coordinate x |
| [in] | bottom | bottom coordinate y |
| [in] | color | display color |
Definition at line 657 of file driver_st7920.c.
| uint8_t st7920_read_point | ( | st7920_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t * | data ) |
read a point
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [out] | *data | pointer to a data buffer |
Definition at line 498 of file driver_st7920.c.
| uint8_t st7920_set_extended_function | ( | st7920_handle_t * | handle, |
| st7920_interface_bus_bit_t | bus_bit, | ||
| st7920_command_mode_t | mode, | ||
| st7920_bool_t | graphic_display_enable ) |
set the extended function
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | bus_bit | bus bit |
| [in] | mode | command mode |
| [in] | graphic_display_enable | bool value |
Definition at line 1698 of file driver_st7920.c.
| uint8_t st7920_set_graphic_address | ( | st7920_handle_t * | handle, |
| uint8_t | vertical_addr, | ||
| uint8_t | horizontal_addr ) |
set the graphic address
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | vertical_addr | vertical address |
| [in] | horizontal_addr | horizontal address |
Definition at line 1789 of file driver_st7920.c.
| uint8_t st7920_set_reverse_line | ( | st7920_handle_t * | handle, |
| st7920_reverse_line_t | l ) |
set the reverse line
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | l | reverse line |
Definition at line 1656 of file driver_st7920.c.
| uint8_t st7920_set_scroll_address | ( | st7920_handle_t * | handle, |
| uint8_t | addr ) |
set the scroll address
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | addr | scroll address |
Definition at line 1737 of file driver_st7920.c.
| uint8_t st7920_set_standby | ( | st7920_handle_t * | handle | ) |
terminate to the standby mode
| [in] | *handle | pointer to an st7920 handle structure |
Definition at line 1574 of file driver_st7920.c.
| uint8_t st7920_set_vertical_scroll | ( | st7920_handle_t * | handle, |
| st7920_bool_t | enable ) |
set the vertical scroll
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | enable | bool value |
Definition at line 1614 of file driver_st7920.c.
| uint8_t st7920_write_point | ( | st7920_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t | data ) |
write a point
| [in] | *handle | pointer to an st7920 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [in] | data | written data |
Definition at line 404 of file driver_st7920.c.