![]() |
LibDriver SSD1351
2.0.0
SSD1351 full function driver
|
ssd1351 base driver modules More...
Data Structures | |
struct | ssd1351_handle_s |
ssd1351 handle structure definition More... | |
struct | ssd1351_info_s |
ssd1351 information structure definition More... | |
Macros | |
#define | SSD1351_AUTO_COLOR_CONVERT 0 |
ssd1351 auto color convert definition More... | |
Typedefs | |
typedef struct ssd1351_handle_s | ssd1351_handle_t |
ssd1351 handle structure definition More... | |
typedef struct ssd1351_info_s | ssd1351_info_t |
ssd1351 information structure definition More... | |
Functions | |
uint8_t | ssd1351_info (ssd1351_info_t *info) |
get chip's information More... | |
uint8_t | ssd1351_init (ssd1351_handle_t *handle) |
initialize the chip More... | |
uint8_t | ssd1351_deinit (ssd1351_handle_t *handle) |
close the chip More... | |
uint8_t | ssd1351_clear (ssd1351_handle_t *handle) |
clear the display More... | |
uint8_t | ssd1351_draw_point (ssd1351_handle_t *handle, uint8_t x, uint8_t y, uint32_t color) |
draw a point in the display More... | |
uint8_t | ssd1351_write_string (ssd1351_handle_t *handle, uint8_t x, uint8_t y, char *str, uint16_t len, uint32_t color, ssd1351_font_t font) |
write a string in the display More... | |
uint8_t | ssd1351_fill_rect (ssd1351_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint32_t color) |
fill the rect More... | |
uint8_t | ssd1351_draw_picture (ssd1351_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint32_t *image) |
draw a picture More... | |
uint8_t | ssd1351_draw_picture_16bits (ssd1351_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint16_t *image) |
draw a 16 bits picture More... | |
uint8_t | ssd1351_set_column_address (ssd1351_handle_t *handle, uint8_t start_address, uint8_t end_address) |
set the display column address More... | |
uint8_t | ssd1351_set_row_address (ssd1351_handle_t *handle, uint8_t start_address, uint8_t end_address) |
set the row address More... | |
uint8_t | ssd1351_write_ram (ssd1351_handle_t *handle) |
sent the write ram command More... | |
uint8_t | ssd1351_read_ram (ssd1351_handle_t *handle) |
sent the read ram command More... | |
uint8_t | ssd1351_set_color_depth (ssd1351_handle_t *handle, ssd1351_color_depth_t color_depth) |
set the display color depth More... | |
uint8_t | ssd1351_set_address_increment (ssd1351_handle_t *handle, ssd1351_address_increment_t increment) |
set the address increment More... | |
uint8_t | ssd1351_set_seg0_map (ssd1351_handle_t *handle, ssd1351_seg0_mapped_t seg0_map) |
set the seg0 map More... | |
uint8_t | ssd1351_set_color_sequence (ssd1351_handle_t *handle, ssd1351_color_sequence_t color_sequence) |
set the color sequence More... | |
uint8_t | ssd1351_set_scan_mode (ssd1351_handle_t *handle, ssd1351_scan_mode_t mode) |
set the scan mode More... | |
uint8_t | ssd1351_set_com_split_odd_even (ssd1351_handle_t *handle, ssd1351_bool_t enable) |
set the com split odd or even More... | |
uint8_t | ssd1351_set_display_start_line (ssd1351_handle_t *handle, uint8_t l) |
set the display start line More... | |
uint8_t | ssd1351_set_display_offset (ssd1351_handle_t *handle, uint8_t offset) |
set the display offset More... | |
uint8_t | ssd1351_set_display_mode (ssd1351_handle_t *handle, ssd1351_display_mode_t mode) |
set the display mode More... | |
uint8_t | ssd1351_set_select_vdd (ssd1351_handle_t *handle, ssd1351_select_vdd_t vdd) |
set the select vdd More... | |
uint8_t | ssd1351_set_parallel_bits (ssd1351_handle_t *handle, ssd1351_select_parallel_bits_t parallel_bits) |
set the interface parallel bits More... | |
uint8_t | ssd1351_set_sleep_mode (ssd1351_handle_t *handle, ssd1351_bool_t enable) |
set the sleep mode More... | |
uint8_t | ssd1351_set_phase_period (ssd1351_handle_t *handle, uint8_t phase1_period, uint8_t phase2_period) |
set the phase period More... | |
uint8_t | ssd1351_set_front_clock_oscillator_frequency (ssd1351_handle_t *handle, uint8_t d, uint8_t frequency) |
set the front clock oscillator frequency More... | |
uint8_t | ssd1351_set_segment_low_voltage (ssd1351_handle_t *handle, ssd1351_segment_low_voltage_t segment) |
set the segment low voltage More... | |
uint8_t | ssd1351_set_gpio (ssd1351_handle_t *handle, ssd1351_gpio_pin_t gpio0, ssd1351_gpio_pin_t gpio1) |
set the gpio pin More... | |
uint8_t | ssd1351_set_second_pre_charge_period (ssd1351_handle_t *handle, uint8_t period) |
set the second pre charge period More... | |
uint8_t | ssd1351_set_gray_scale_pulse_width (ssd1351_handle_t *handle, uint8_t gamma[63]) |
set the gray scale pulse width More... | |
uint8_t | ssd1351_set_use_built_in_linear_lut (ssd1351_handle_t *handle) |
use built in linear lut More... | |
uint8_t | ssd1351_set_pre_charge_voltage (ssd1351_handle_t *handle, uint8_t voltage_level) |
set the pre charge voltage More... | |
uint8_t | ssd1351_set_vcomh_voltage (ssd1351_handle_t *handle, uint8_t voltage_level) |
set the vcomh voltage More... | |
uint8_t | ssd1351_set_contrast (ssd1351_handle_t *handle, uint8_t a, uint8_t b, uint8_t c) |
set the display contrast More... | |
uint8_t | ssd1351_set_master_contrast_current (ssd1351_handle_t *handle, uint8_t current) |
set the master contrast current More... | |
uint8_t | ssd1351_set_mux_ratio (ssd1351_handle_t *handle, uint8_t ratio) |
set the mux ratio More... | |
uint8_t | ssd1351_set_command (ssd1351_handle_t *handle, ssd1351_command_t command) |
set the command More... | |
uint8_t | ssd1351_set_scroll (ssd1351_handle_t *handle, int8_t scroll, uint8_t start_row, uint8_t row_len, ssd1351_scroll_mode_t mode) |
set the scroll More... | |
uint8_t | ssd1351_start_moving (ssd1351_handle_t *handle) |
start the display moving More... | |
uint8_t | ssd1351_stop_moving (ssd1351_handle_t *handle) |
stop the display moving More... | |
ssd1351 base driver modules
#define SSD1351_AUTO_COLOR_CONVERT 0 |
ssd1351 auto color convert definition
not auto convert
Definition at line 65 of file driver_ssd1351.h.
typedef struct ssd1351_handle_s ssd1351_handle_t |
ssd1351 handle structure definition
typedef struct ssd1351_info_s ssd1351_info_t |
ssd1351 information structure definition
ssd1351 address increment enumeration definition
Enumerator | |
---|---|
SSD1351_ADDRESS_INCREMENT_HORIZONTAL | horizontal increment |
SSD1351_ADDRESS_INCREMENT_VERTICAL | vertical increment |
Definition at line 82 of file driver_ssd1351.h.
enum ssd1351_bool_t |
ssd1351 bool enumeration definition
Enumerator | |
---|---|
SSD1351_BOOL_FALSE | false |
SSD1351_BOOL_TRUE | true |
Definition at line 118 of file driver_ssd1351.h.
ssd1351 color depth enumeration definition
Enumerator | |
---|---|
SSD1351_COLOR_DEPTH_256 | 256 color depth |
SSD1351_COLOR_DEPTH_65K | 65K color depth |
SSD1351_COLOR_DEPTH_262K_1ST | 262K 1ST color depth |
SSD1351_COLOR_DEPTH_262K_2ND | 262K 2ND color depth |
Definition at line 71 of file driver_ssd1351.h.
ssd1351 color sequence enumeration definition
Enumerator | |
---|---|
SSD1351_COLOR_SEQUENCE_A_B_C | color sequence a b c |
SSD1351_COLOR_SEQUENCE_C_B_A | color sequence c b a |
Definition at line 100 of file driver_ssd1351.h.
enum ssd1351_command_t |
ssd1351 command enumeration definition
Definition at line 177 of file driver_ssd1351.h.
ssd1351 display mode enumeration definition
Enumerator | |
---|---|
SSD1351_DISPLAY_MODE_ALL_OFF | all off mode |
SSD1351_DISPLAY_MODE_ALL_ON | all on mode |
SSD1351_DISPLAY_MODE_NORMAL | normal mode |
SSD1351_DISPLAY_MODE_INVERSE | inverse mode |
Definition at line 127 of file driver_ssd1351.h.
enum ssd1351_font_t |
ssd1351 font size enumeration definition
Enumerator | |
---|---|
SSD1351_FONT_12 | font 12 |
SSD1351_FONT_16 | font 16 |
SSD1351_FONT_24 | font 24 |
Definition at line 199 of file driver_ssd1351.h.
enum ssd1351_gpio_pin_t |
ssd1351 gpio pin enumeration definition
Definition at line 166 of file driver_ssd1351.h.
enum ssd1351_scan_mode_t |
ssd1351 scan mode enumeration definition
Enumerator | |
---|---|
SSD1351_SCAN_MODE_COM_0_COM_N_1 | scan mode com0 - com n-1 |
SSD1351_SCAN_MODE_COM_N_1_COM_0 | scan mode com n-1 com 0 |
Definition at line 109 of file driver_ssd1351.h.
ssd1351 scroll mode enumeration definition
Enumerator | |
---|---|
SSD1351_SCROLL_MODE_TEST | test scroll mode |
SSD1351_SCROLL_MODE_NORMAL | normal scroll mode |
SSD1351_SCROLL_MODE_SLOW | slow scroll mode |
SSD1351_SCROLL_MODE_SLOWEST | slowest scroll mode |
Definition at line 188 of file driver_ssd1351.h.
ssd1351 seg0 mapped enumeration definition
Enumerator | |
---|---|
SSD1351_SEG0_ADDRESS_0 | seg0 mapped to address 0 |
SSD1351_SEG0_ADDRESS_127 | seg0 mapped to address 127 |
Definition at line 91 of file driver_ssd1351.h.
ssd1351 segment low voltage enumeration definition
Enumerator | |
---|---|
SSD1351_SEGMENT_LOW_VOLTAGE_EXTERNAL_VSL | segment low voltage external vsl |
SSD1351_SEGMENT_LOW_VOLTAGE_INTERNAL_VSL | segment low voltage internal vsl |
Definition at line 157 of file driver_ssd1351.h.
ssd1351 select parallel enumeration definition
Enumerator | |
---|---|
SSD1351_SELECT_PARALLEL_8_BIT | select parallel 8 bit |
SSD1351_SELECT_PARALLER_16_BIT | select parallel 16 bit |
SSD1351_SELECT_PARALLER_18_BIT | select parallel 18 bit |
Definition at line 147 of file driver_ssd1351.h.
enum ssd1351_select_vdd_t |
ssd1351 select vdd enumeration definition
Enumerator | |
---|---|
SSD1351_SELECT_VDD_EXTERNAL | select external vdd |
SSD1351_SELECT_VDD_INTERNAL | select internal vdd |
Definition at line 138 of file driver_ssd1351.h.
uint8_t ssd1351_clear | ( | ssd1351_handle_t * | handle | ) |
clear the display
[in] | *handle | points to an ssd1351 handle structure |
Definition at line 1499 of file driver_ssd1351.c.
uint8_t ssd1351_deinit | ( | ssd1351_handle_t * | handle | ) |
close the chip
[in] | *handle | points to an ssd1351 handle structure |
Definition at line 3199 of file driver_ssd1351.c.
uint8_t ssd1351_draw_picture | ( | ssd1351_handle_t * | handle, |
uint8_t | left, | ||
uint8_t | top, | ||
uint8_t | right, | ||
uint8_t | bottom, | ||
uint32_t * | image | ||
) |
draw a picture
[in] | *handle | points to an ssd1351 handle structure |
[in] | left | is the left coordinate x |
[in] | top | is the top coordinate y |
[in] | right | is the right coordinate x |
[in] | bottom | is the bottom coordinate y |
[in] | *image | points to a display image buffer |
Definition at line 2829 of file driver_ssd1351.c.
uint8_t ssd1351_draw_picture_16bits | ( | ssd1351_handle_t * | handle, |
uint8_t | left, | ||
uint8_t | top, | ||
uint8_t | right, | ||
uint8_t | bottom, | ||
uint16_t * | image | ||
) |
draw a 16 bits picture
[in] | *handle | points to an ssd1351 handle structure |
[in] | left | is the left coordinate x |
[in] | top | is the top coordinate y |
[in] | right | is the right coordinate x |
[in] | bottom | is the bottom coordinate y |
[in] | *image | points to a display image buffer |
Definition at line 2900 of file driver_ssd1351.c.
uint8_t ssd1351_draw_point | ( | ssd1351_handle_t * | handle, |
uint8_t | x, | ||
uint8_t | y, | ||
uint32_t | color | ||
) |
draw a point in the display
[in] | *handle | points to an ssd1351 handle structure |
[in] | x | is the coordinate x |
[in] | y | is the coordinate y |
[in] | color | is the point color |
Definition at line 2654 of file driver_ssd1351.c.
uint8_t ssd1351_fill_rect | ( | ssd1351_handle_t * | handle, |
uint8_t | left, | ||
uint8_t | top, | ||
uint8_t | right, | ||
uint8_t | bottom, | ||
uint32_t | color | ||
) |
fill the rect
[in] | *handle | points to an ssd1351 handle structure |
[in] | left | is the left coordinate x |
[in] | top | is the top coordinate y |
[in] | right | is the right coordinate x |
[in] | bottom | is the bottom coordinate y |
[in] | color | is the display color |
Definition at line 2758 of file driver_ssd1351.c.
uint8_t ssd1351_info | ( | ssd1351_info_t * | info | ) |
get chip's information
[out] | *info | points to an ssd1351 info structure |
Definition at line 3253 of file driver_ssd1351.c.
uint8_t ssd1351_init | ( | ssd1351_handle_t * | handle | ) |
initialize the chip
[in] | *handle | points to an ssd1351 handle structure |
Definition at line 3072 of file driver_ssd1351.c.
uint8_t ssd1351_read_ram | ( | ssd1351_handle_t * | handle | ) |
sent the read ram command
[in] | *handle | points to an ssd1351 handle structure |
Definition at line 282 of file driver_ssd1351.c.
uint8_t ssd1351_set_address_increment | ( | ssd1351_handle_t * | handle, |
ssd1351_address_increment_t | increment | ||
) |
set the address increment
[in] | *handle | points to an ssd1351 handle structure |
[in] | increment | is the address increment param |
Definition at line 354 of file driver_ssd1351.c.
uint8_t ssd1351_set_color_depth | ( | ssd1351_handle_t * | handle, |
ssd1351_color_depth_t | color_depth | ||
) |
set the display color depth
[in] | *handle | points to an ssd1351 handle structure |
[in] | color_depth | is the color depth |
Definition at line 314 of file driver_ssd1351.c.
uint8_t ssd1351_set_color_sequence | ( | ssd1351_handle_t * | handle, |
ssd1351_color_sequence_t | color_sequence | ||
) |
set the color sequence
[in] | *handle | points to an ssd1351 handle structure |
[in] | color_sequence | is the display color sequence |
Definition at line 434 of file driver_ssd1351.c.
uint8_t ssd1351_set_column_address | ( | ssd1351_handle_t * | handle, |
uint8_t | start_address, | ||
uint8_t | end_address | ||
) |
set the display column address
[in] | *handle | points to an ssd1351 handle structure |
[in] | start_address | is the start address |
[in] | end_address | is the end address |
Definition at line 137 of file driver_ssd1351.c.
uint8_t ssd1351_set_com_split_odd_even | ( | ssd1351_handle_t * | handle, |
ssd1351_bool_t | enable | ||
) |
set the com split odd or even
[in] | *handle | points to an ssd1351 handle structure |
[in] | enable | is a bool value |
Definition at line 514 of file driver_ssd1351.c.
uint8_t ssd1351_set_command | ( | ssd1351_handle_t * | handle, |
ssd1351_command_t | command | ||
) |
set the command
[in] | *handle | points to an ssd1351 handle structure |
[in] | command | is the send command |
Definition at line 1377 of file driver_ssd1351.c.
uint8_t ssd1351_set_contrast | ( | ssd1351_handle_t * | handle, |
uint8_t | a, | ||
uint8_t | b, | ||
uint8_t | c | ||
) |
set the display contrast
[in] | *handle | points to an ssd1351 handle structure |
[in] | a | is the contrast a |
[in] | b | is the contrast b |
[in] | c | is the contrast c |
Definition at line 1230 of file driver_ssd1351.c.
uint8_t ssd1351_set_display_mode | ( | ssd1351_handle_t * | handle, |
ssd1351_display_mode_t | mode | ||
) |
set the display mode
[in] | *handle | points to an ssd1351 handle structure |
[in] | mode | is the display mode |
Definition at line 644 of file driver_ssd1351.c.
uint8_t ssd1351_set_display_offset | ( | ssd1351_handle_t * | handle, |
uint8_t | offset | ||
) |
set the display offset
[in] | *handle | points to an ssd1351 handle structure |
[in] | offset | is the display offset |
Definition at line 600 of file driver_ssd1351.c.
uint8_t ssd1351_set_display_start_line | ( | ssd1351_handle_t * | handle, |
uint8_t | l | ||
) |
set the display start line
[in] | *handle | points to an ssd1351 handle structure |
[in] | l | is the start line |
Definition at line 555 of file driver_ssd1351.c.
uint8_t ssd1351_set_front_clock_oscillator_frequency | ( | ssd1351_handle_t * | handle, |
uint8_t | d, | ||
uint8_t | frequency | ||
) |
set the front clock oscillator frequency
[in] | *handle | points to an ssd1351 handle structure |
[in] | d | is the clock div |
[in] | frequency | is the clock frequency |
Definition at line 878 of file driver_ssd1351.c.
uint8_t ssd1351_set_gpio | ( | ssd1351_handle_t * | handle, |
ssd1351_gpio_pin_t | gpio0, | ||
ssd1351_gpio_pin_t | gpio1 | ||
) |
set the gpio pin
[in] | *handle | points to an ssd1351 handle structure |
[in] | gpio0 | is the gpio 0 pin |
[in] | gpio1 | is the gpio 1 pin |
Definition at line 979 of file driver_ssd1351.c.
uint8_t ssd1351_set_gray_scale_pulse_width | ( | ssd1351_handle_t * | handle, |
uint8_t | gamma[63] | ||
) |
set the gray scale pulse width
[in] | *handle | points to an ssd1351 handle structure |
[in] | *gamma | points to a gamma table buffer |
Definition at line 1064 of file driver_ssd1351.c.
uint8_t ssd1351_set_master_contrast_current | ( | ssd1351_handle_t * | handle, |
uint8_t | current | ||
) |
set the master contrast current
[in] | *handle | points to an ssd1351 handle structure |
[in] | current | is the master contrast current |
Definition at line 1281 of file driver_ssd1351.c.
uint8_t ssd1351_set_mux_ratio | ( | ssd1351_handle_t * | handle, |
uint8_t | ratio | ||
) |
set the mux ratio
[in] | *handle | points to an ssd1351 handle structure |
[in] | ratio | is the mux ratio |
Definition at line 1327 of file driver_ssd1351.c.
uint8_t ssd1351_set_parallel_bits | ( | ssd1351_handle_t * | handle, |
ssd1351_select_parallel_bits_t | parallel_bits | ||
) |
set the interface parallel bits
[in] | *handle | points to an ssd1351 handle structure |
[in] | parallel_bits | is the interface parallel bits |
Definition at line 716 of file driver_ssd1351.c.
uint8_t ssd1351_set_phase_period | ( | ssd1351_handle_t * | handle, |
uint8_t | phase1_period, | ||
uint8_t | phase2_period | ||
) |
set the phase period
[in] | *handle | points to an ssd1351 handle structure |
[in] | phase1_period | is the phase 1 period |
[in] | phase2_period | is the phase 2 period |
Definition at line 813 of file driver_ssd1351.c.
uint8_t ssd1351_set_pre_charge_voltage | ( | ssd1351_handle_t * | handle, |
uint8_t | voltage_level | ||
) |
set the pre charge voltage
[in] | *handle | points to an ssd1351 handle structure |
[in] | voltage_level | is the pre charge voltage level |
Definition at line 1139 of file driver_ssd1351.c.
uint8_t ssd1351_set_row_address | ( | ssd1351_handle_t * | handle, |
uint8_t | start_address, | ||
uint8_t | end_address | ||
) |
set the row address
[in] | *handle | points to an ssd1351 handle structure |
[in] | start_address | is the start address |
[in] | end_address | is the end address |
Definition at line 196 of file driver_ssd1351.c.
uint8_t ssd1351_set_scan_mode | ( | ssd1351_handle_t * | handle, |
ssd1351_scan_mode_t | mode | ||
) |
set the scan mode
[in] | *handle | points to an ssd1351 handle structure |
[in] | mode | is the scan mode |
Definition at line 474 of file driver_ssd1351.c.
uint8_t ssd1351_set_scroll | ( | ssd1351_handle_t * | handle, |
int8_t | scroll, | ||
uint8_t | start_row, | ||
uint8_t | row_len, | ||
ssd1351_scroll_mode_t | mode | ||
) |
set the scroll
[in] | *handle | points to an ssd1351 handle structure |
[in] | scroll | is the display scroll |
[in] | start_row | is the scroll start row |
[in] | row_len | is the scroll row len |
[in] | mode | is the scroll mode |
Definition at line 1420 of file driver_ssd1351.c.
uint8_t ssd1351_set_second_pre_charge_period | ( | ssd1351_handle_t * | handle, |
uint8_t | period | ||
) |
set the second pre charge period
[in] | *handle | points to an ssd1351 handle structure |
[in] | period | is the pre charge period |
Definition at line 1020 of file driver_ssd1351.c.
uint8_t ssd1351_set_seg0_map | ( | ssd1351_handle_t * | handle, |
ssd1351_seg0_mapped_t | seg0_map | ||
) |
set the seg0 map
[in] | *handle | points to an ssd1351 handle structure |
[in] | seg0_map | is the seg0 map |
Definition at line 394 of file driver_ssd1351.c.
uint8_t ssd1351_set_segment_low_voltage | ( | ssd1351_handle_t * | handle, |
ssd1351_segment_low_voltage_t | segment | ||
) |
set the segment low voltage
[in] | *handle | points to an ssd1351 handle structure |
[in] | segment | is the segment low voltage |
Definition at line 928 of file driver_ssd1351.c.
uint8_t ssd1351_set_select_vdd | ( | ssd1351_handle_t * | handle, |
ssd1351_select_vdd_t | vdd | ||
) |
set the select vdd
[in] | *handle | points to an ssd1351 handle structure |
[in] | vdd | is the chip vdd |
Definition at line 676 of file driver_ssd1351.c.
uint8_t ssd1351_set_sleep_mode | ( | ssd1351_handle_t * | handle, |
ssd1351_bool_t | enable | ||
) |
set the sleep mode
[in] | *handle | points to an ssd1351 handle structure |
[in] | enable | is a bool value |
Definition at line 756 of file driver_ssd1351.c.
uint8_t ssd1351_set_use_built_in_linear_lut | ( | ssd1351_handle_t * | handle | ) |
use built in linear lut
[in] | *handle | points to an ssd1351 handle structure |
Definition at line 1106 of file driver_ssd1351.c.
uint8_t ssd1351_set_vcomh_voltage | ( | ssd1351_handle_t * | handle, |
uint8_t | voltage_level | ||
) |
set the vcomh voltage
[in] | *handle | points to an ssd1351 handle structure |
[in] | voltage_level | is the vcomh voltage level |
Definition at line 1184 of file driver_ssd1351.c.
uint8_t ssd1351_start_moving | ( | ssd1351_handle_t * | handle | ) |
start the display moving
Definition at line 2959 of file driver_ssd1351.c.
uint8_t ssd1351_stop_moving | ( | ssd1351_handle_t * | handle | ) |
stop the display moving
Definition at line 2989 of file driver_ssd1351.c.
uint8_t ssd1351_write_ram | ( | ssd1351_handle_t * | handle | ) |
sent the write ram command
[in] | *handle | points to an ssd1351 handle structure |
Definition at line 251 of file driver_ssd1351.c.
uint8_t ssd1351_write_string | ( | ssd1351_handle_t * | handle, |
uint8_t | x, | ||
uint8_t | y, | ||
char * | str, | ||
uint16_t | len, | ||
uint32_t | color, | ||
ssd1351_font_t | font | ||
) |
write a string in the display
[in] | *handle | points to an ssd1351 handle structure |
[in] | x | is the coordinate x |
[in] | y | is the coordinate y |
[in] | *str | points to a written string address |
[in] | len | is the length of the string |
[in] | color | is the display color |
[in] | font | is the string font |
Definition at line 2697 of file driver_ssd1351.c.