![]() |
LibDriver SSD1681
|
ssd1681 base driver modules More...
Data Structures | |
| struct | ssd1681_handle_s |
| ssd1681 handle structure definition More... | |
| struct | ssd1681_info_s |
| ssd1681 information structure definition More... | |
Macros | |
| #define | SSD1681_BUSY_MAX_DELAY_MS 10 |
| ssd1681 busy max delay definition | |
| #define | SSD1681_BUSY_MAX_RETRY_TIMES 2000 |
| ssd1681 busy max retry times definition | |
Typedefs | |
| typedef struct ssd1681_handle_s | ssd1681_handle_t |
| ssd1681 handle structure definition | |
| typedef struct ssd1681_info_s | ssd1681_info_t |
| ssd1681 information structure definition | |
Functions | |
| uint8_t | ssd1681_info (ssd1681_info_t *info) |
| get chip's information | |
| uint8_t | ssd1681_init (ssd1681_handle_t *handle) |
| initialize the chip | |
| uint8_t | ssd1681_deinit (ssd1681_handle_t *handle) |
| close the chip | |
| uint8_t | ssd1681_clear (ssd1681_handle_t *handle, ssd1681_color_t color) |
| clear the screen | |
| uint8_t | ssd1681_gram_update (ssd1681_handle_t *handle, ssd1681_color_t color) |
| update the gram data | |
| uint8_t | ssd1681_gram_clear (ssd1681_handle_t *handle, ssd1681_color_t color) |
| clear the screen in the gram | |
| uint8_t | ssd1681_gram_write_point (ssd1681_handle_t *handle, ssd1681_color_t color, uint8_t x, uint8_t y, uint8_t data) |
| write a point in the gram | |
| uint8_t | ssd1681_gram_read_point (ssd1681_handle_t *handle, ssd1681_color_t color, uint8_t x, uint8_t y, uint8_t *data) |
| read a point from the gram | |
| uint8_t | ssd1681_gram_write_string (ssd1681_handle_t *handle, ssd1681_color_t color, uint8_t x, uint8_t y, char *str, uint16_t len, uint8_t data, ssd1681_font_t font) |
| draw a string in the gram | |
| uint8_t | ssd1681_gram_fill_rect (ssd1681_handle_t *handle, ssd1681_color_t color, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t data) |
| fill a rectangle in the gram | |
| uint8_t | ssd1681_gram_draw_picture (ssd1681_handle_t *handle, ssd1681_color_t color, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img) |
| draw a picture in the gram | |
| uint8_t | ssd1681_set_driver_output (ssd1681_handle_t *handle, uint16_t mux, ssd1681_bool_t gd, ssd1681_bool_t sm, ssd1681_bool_t tb) |
| set the driver output | |
| uint8_t | ssd1681_set_gate_driving_voltage (ssd1681_handle_t *handle, ssd1681_gate_driving_voltage_t voltage) |
| set the gate driving voltage | |
| uint8_t | ssd1681_set_source_driving_voltage (ssd1681_handle_t *handle, ssd1681_vsh_t vsh1, ssd1681_vsh_t vsh2, ssd1681_vsl_t vsl) |
| set the source driving voltage | |
| uint8_t | ssd1681_otp_initial (ssd1681_handle_t *handle) |
| initial code setting otp program | |
| uint8_t | ssd1681_otp_initial_write (ssd1681_handle_t *handle, uint8_t param[4]) |
| write register for initial code setting | |
| uint8_t | ssd1681_otp_initial_read (ssd1681_handle_t *handle) |
| read register for initial code setting | |
| uint8_t | ssd1681_otp_program_vcom (ssd1681_handle_t *handle) |
| program vcom otp | |
| uint8_t | ssd1681_otp_read_register (ssd1681_handle_t *handle, uint8_t param[11]) |
| otp register read for display option | |
| uint8_t | ssd1681_otp_program_waveform (ssd1681_handle_t *handle) |
| program otp of waveform setting | |
| uint8_t | ssd1681_otp_load_waveform (ssd1681_handle_t *handle) |
| load otp of waveform setting | |
| uint8_t | ssd1681_otp_program_selection (ssd1681_handle_t *handle) |
| program otp selection | |
| uint8_t | ssd1681_otp_write_register (ssd1681_handle_t *handle, uint8_t param[11]) |
| otp write register for display option | |
| uint8_t | ssd1681_otp_program_mode (ssd1681_handle_t *handle, ssd1681_otp_mode_t mode) |
| set the otp program mode | |
| uint8_t | ssd1681_set_booster_soft_start (ssd1681_handle_t *handle, uint8_t phase1, uint8_t phase2, uint8_t phase3, uint8_t duration) |
| set the booster soft start | |
| uint8_t | ssd1681_set_mode (ssd1681_handle_t *handle, ssd1681_mode_t mode) |
| set the mode | |
| uint8_t | ssd1681_set_data_entry_mode (ssd1681_handle_t *handle, ssd1681_address_mode_t mode, ssd1681_address_direction_t direction) |
| set the data entry mode | |
| uint8_t | ssd1681_software_reset (ssd1681_handle_t *handle) |
| software reset | |
| uint8_t | ssd1681_set_hv_ready_detection (ssd1681_handle_t *handle, uint8_t cool_down_duration, uint8_t cool_down_loop_num) |
| set the hv ready detection | |
| uint8_t | ssd1681_set_vci_detection (ssd1681_handle_t *handle, ssd1681_vci_level_t level) |
| set the vci detection | |
| uint8_t | ssd1681_set_temperature_sensor (ssd1681_handle_t *handle, ssd1681_temperature_sensor_t sensor) |
| set the temperature sensor | |
| uint8_t | ssd1681_write_temperature_sensor (ssd1681_handle_t *handle, uint16_t control) |
| write the temperature sensor | |
| uint8_t | ssd1681_read_temperature_sensor (ssd1681_handle_t *handle, uint16_t *control) |
| read the temperature sensor | |
| uint8_t | ssd1681_write_temperature_sensor_ext (ssd1681_handle_t *handle, uint8_t param[3]) |
| write command to external temperature sensor | |
| uint8_t | ssd1681_set_master_activate (ssd1681_handle_t *handle) |
| master activate | |
| uint8_t | ssd1681_set_display_update_control (ssd1681_handle_t *handle, ssd1681_display_control_t red_control, ssd1681_display_control_t black_control) |
| set the display update control | |
| uint8_t | ssd1681_set_display_sequence (ssd1681_handle_t *handle, ssd1681_display_sequence_t sequence) |
| set the display sequence | |
| uint8_t | ssd1681_set_black_ram (ssd1681_handle_t *handle) |
| set the black ram | |
| uint8_t | ssd1681_set_red_ram (ssd1681_handle_t *handle) |
| set the red ram | |
| uint8_t | ssd1681_get_ram (ssd1681_handle_t *handle) |
| get the ram | |
| uint8_t | ssd1681_set_enter_vcom_sense (ssd1681_handle_t *handle) |
| set enter vcom sense | |
| uint8_t | ssd1681_set_vcom_sense_duration (ssd1681_handle_t *handle, uint8_t duration) |
| set the vcom sense duration | |
| uint8_t | ssd1681_set_vcom_control_reg (ssd1681_handle_t *handle) |
| write register for vcom control | |
| uint8_t | ssd1681_set_vcom_register (ssd1681_handle_t *handle, ssd1681_vcom_t vcom) |
| write vcom register | |
| uint8_t | ssd1681_get_user_id (ssd1681_handle_t *handle, uint8_t id[10]) |
| get the user id | |
| uint8_t | ssd1681_get_status (ssd1681_handle_t *handle, uint8_t *status) |
| get the status | |
| uint8_t | ssd1681_set_lut_register (ssd1681_handle_t *handle, uint8_t *reg, uint16_t len) |
| set the lut register | |
| uint8_t | ssd1681_set_crc_calculation (ssd1681_handle_t *handle) |
| set the crc calculation | |
| uint8_t | ssd1681_get_crc_status (ssd1681_handle_t *handle, uint16_t *status) |
| get the crc status | |
| uint8_t | ssd1681_set_user_id (ssd1681_handle_t *handle, uint8_t id[10]) |
| set the user id | |
| uint8_t | ssd1681_set_border_waveform (ssd1681_handle_t *handle, ssd1681_vbd_t vbd, ssd1681_vbd_fix_level_t level, ssd1681_gs_transition_t gs_tran, ssd1681_vbd_transition_t vbd_tran) |
| set the border waveform | |
| uint8_t | ssd1681_set_end_option (ssd1681_handle_t *handle, ssd1681_end_opt_t opt) |
| end option | |
| uint8_t | ssd1681_set_read_ram (ssd1681_handle_t *handle, ssd1681_read_ram_t ram) |
| set the read ram | |
| uint8_t | ssd1681_set_ram_x (ssd1681_handle_t *handle, uint8_t start, uint8_t end) |
| set the ram x range | |
| uint8_t | ssd1681_set_ram_y (ssd1681_handle_t *handle, uint16_t start, uint16_t end) |
| set the ram y range | |
| uint8_t | ssd1681_set_auto_write_red_ram (ssd1681_handle_t *handle, ssd1681_step_height_t height, ssd1681_step_width_t width) |
| set the auto write red ram | |
| uint8_t | ssd1681_set_auto_write_black_ram (ssd1681_handle_t *handle, ssd1681_step_height_t height, ssd1681_step_width_t width) |
| set the auto write black ram | |
| uint8_t | ssd1681_set_ram_x_address_counter (ssd1681_handle_t *handle, uint8_t cnt) |
| set the ram x address counter | |
| uint8_t | ssd1681_set_ram_y_address_counter (ssd1681_handle_t *handle, uint16_t cnt) |
| set the ram y address counter | |
| uint8_t | ssd1681_nop (ssd1681_handle_t *handle) |
| nop command | |
ssd1681 base driver modules
| #define SSD1681_BUSY_MAX_DELAY_MS 10 |
| #define SSD1681_BUSY_MAX_RETRY_TIMES 2000 |
| typedef struct ssd1681_handle_s ssd1681_handle_t |
ssd1681 handle structure definition
| typedef struct ssd1681_info_s ssd1681_info_t |
ssd1681 information structure definition
ssd1681 address direction enumeration definition
| Enumerator | |
|---|---|
| SSD1681_ADDRESS_DIRECTION_UPDATED_X | the address counter is updated in the x direction |
| SSD1681_ADDRESS_DIRECTION_UPDATED_Y | the address counter is updated in the y direction |
Definition at line 324 of file driver_ssd1681.h.
ssd1681 address mode enumeration definition
Definition at line 313 of file driver_ssd1681.h.
| enum ssd1681_bool_t |
ssd1681 bool enumeration definition
| Enumerator | |
|---|---|
| SSD1681_BOOL_FALSE | false |
| SSD1681_BOOL_TRUE | true |
Definition at line 76 of file driver_ssd1681.h.
| enum ssd1681_color_t |
ssd1681 color enumeration definition
| Enumerator | |
|---|---|
| SSD1681_COLOR_BLACK | black color |
| SSD1681_COLOR_RED | red color |
Definition at line 514 of file driver_ssd1681.h.
ssd1681 display control enumeration definition
| Enumerator | |
|---|---|
| SSD1681_DISPLAY_CONTROL_NORMAL | normal |
| SSD1681_DISPLAY_CONTROL_BYPASS | bypass ram content as 0 |
| SSD1681_DISPLAY_CONTROL_INVERSE | inverse ram content |
Definition at line 354 of file driver_ssd1681.h.
ssd1681 display sequence enumeration definition
Definition at line 364 of file driver_ssd1681.h.
ssd1681 driving strength enumeration definition
Definition at line 258 of file driver_ssd1681.h.
| enum ssd1681_end_opt_t |
ssd1681 end opt enumeration definition
| Enumerator | |
|---|---|
| SSD1681_END_OPT_NORMAL | normal |
| SSD1681_END_OPT_KEEP_BEFORE_OUTPUT | source output level keep previous output before power off |
Definition at line 470 of file driver_ssd1681.h.
| enum ssd1681_font_t |
ssd1681 font enumeration definition
| Enumerator | |
|---|---|
| SSD1681_FONT_12 | font 12 |
| SSD1681_FONT_16 | font 16 |
| SSD1681_FONT_24 | font 24 |
Definition at line 523 of file driver_ssd1681.h.
ssd1681 gate driving voltage enumeration definition
Definition at line 85 of file driver_ssd1681.h.
ssd1681 gs transition enumeration definition
| Enumerator | |
|---|---|
| SSD1681_GS_TRANSITION_FOLLOW_LUT_RED | follow lut red |
| SSD1681_GS_TRANSITION_FOLLOW_LUT | follow lut |
Definition at line 450 of file driver_ssd1681.h.
ssd1681 min off time enumeration definition
Definition at line 273 of file driver_ssd1681.h.
| enum ssd1681_mode_t |
ssd1681 mode enumeration definition
| Enumerator | |
|---|---|
| SSD1681_MODE_NORMAL | normal mode |
| SSD1681_MODE_DEEP_SLEEP_1 | enter deep sleep mode 1 |
| SSD1681_MODE_DEEP_SLEEP_2 | enter deep sleep mode 2 |
Definition at line 303 of file driver_ssd1681.h.
| enum ssd1681_otp_mode_t |
ssd1681 otp mode enumeration definition
| Enumerator | |
|---|---|
| SSD1681_OTP_MODE_NORMAL | normal mode |
| SSD1681_OTP_MODE_INTERNAL | internal generated otp programming voltage |
Definition at line 419 of file driver_ssd1681.h.
ssd1681 phase duration enumeration definition
| Enumerator | |
|---|---|
| SSD1681_PHASE_DURATION_10MS | 10ms |
| SSD1681_PHASE_DURATION_20MS | 20ms |
| SSD1681_PHASE_DURATION_30MS | 30ms |
| SSD1681_PHASE_DURATION_40MS | 40ms |
Definition at line 292 of file driver_ssd1681.h.
| enum ssd1681_read_ram_t |
ssd1681 read ram enumeration definition
| Enumerator | |
|---|---|
| SSD1681_READ_RAM_BLACK | black |
| SSD1681_READ_RAM_RED | red |
Definition at line 479 of file driver_ssd1681.h.
ssd1681 step height enumeration definition
Definition at line 488 of file driver_ssd1681.h.
| enum ssd1681_step_width_t |
ssd1681 step width enumeration definition
| Enumerator | |
|---|---|
| SSD1681_STEP_WIDTH_8 | width 8 |
| SSD1681_STEP_WIDTH_16 | width 16 |
| SSD1681_STEP_WIDTH_32 | width 32 |
| SSD1681_STEP_WIDTH_64 | width 64 |
| SSD1681_STEP_WIDTH_128 | width 128 |
| SSD1681_STEP_WIDTH_200 | width 200 |
Definition at line 501 of file driver_ssd1681.h.
ssd1681 temperature sensor enumeration definition
| Enumerator | |
|---|---|
| SSD1681_TEMPERATURE_SENSOR_EXTERNAL | external temperature sensor |
| SSD1681_TEMPERATURE_SENSOR_INTERNAL | internal temperature sensor |
Definition at line 345 of file driver_ssd1681.h.
ssd1681 vbd fix level enumeration definition
| Enumerator | |
|---|---|
| SSD1681_VBD_FIX_LEVEL_VSS | vss |
| SSD1681_VBD_FIX_LEVEL_VSH1 | vsh1 |
| SSD1681_VBD_FIX_LEVEL_VSL | vsl |
| SSD1681_VBD_FIX_LEVEL_VSH2 | vsh2 |
Definition at line 439 of file driver_ssd1681.h.
| enum ssd1681_vbd_t |
ssd1681 vbd enumeration definition
| Enumerator | |
|---|---|
| SSD1681_VBD_GS_TRANSITION | gs transition |
| SSD1681_VBD_FIX_LEVEL | fix level, |
| SSD1681_VBD_VCOM | vcom |
| SSD1681_VBD_HIZ | hiz |
Definition at line 428 of file driver_ssd1681.h.
ssd1681 vbd transition enumeration definition
| Enumerator | |
|---|---|
| SSD1681_VBD_TRANSITION_LUT0 | lut0 |
| SSD1681_VBD_TRANSITION_LUT1 | lut1 |
| SSD1681_VBD_TRANSITION_LUT2 | lut2 |
| SSD1681_VBD_TRANSITION_LUT3 | lut3 |
Definition at line 459 of file driver_ssd1681.h.
| enum ssd1681_vci_level_t |
ssd1681 vci level enumeration definition
| Enumerator | |
|---|---|
| SSD1681_VCI_LEVEL_2P2V | 2.2V |
| SSD1681_VCI_LEVEL_2P3V | 2.3V |
| SSD1681_VCI_LEVEL_2P4V | 2.4V |
| SSD1681_VCI_LEVEL_2P5V | 2.5V |
| SSD1681_VCI_LEVEL_2P6V | 2.6V |
Definition at line 333 of file driver_ssd1681.h.
| enum ssd1681_vcom_t |
ssd1681 vcom enumeration definition
Definition at line 383 of file driver_ssd1681.h.
| enum ssd1681_vsh_t |
ssd1681 vsh enumeration definition
Definition at line 113 of file driver_ssd1681.h.
| enum ssd1681_vsl_t |
ssd1681 vsl enumeration definition
Definition at line 226 of file driver_ssd1681.h.
| uint8_t ssd1681_clear | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color ) |
clear the screen
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
Definition at line 2241 of file driver_ssd1681.c.
| uint8_t ssd1681_deinit | ( | ssd1681_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 3019 of file driver_ssd1681.c.
| uint8_t ssd1681_get_crc_status | ( | ssd1681_handle_t * | handle, |
| uint16_t * | status ) |
get the crc status
| [in] | *handle | pointer to an ssd1681 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 1538 of file driver_ssd1681.c.
| uint8_t ssd1681_get_ram | ( | ssd1681_handle_t * | handle | ) |
get the ram
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1081 of file driver_ssd1681.c.
| uint8_t ssd1681_get_status | ( | ssd1681_handle_t * | handle, |
| uint8_t * | status ) |
get the status
| [in] | *handle | pointer to an ssd1681 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 1365 of file driver_ssd1681.c.
| uint8_t ssd1681_get_user_id | ( | ssd1681_handle_t * | handle, |
| uint8_t | id[10] ) |
get the user id
| [in] | *handle | pointer to an ssd1681 handle structure |
| [out] | *id | pointer to an id buffer |
Definition at line 1330 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_clear | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color ) |
clear the screen in the gram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
Definition at line 2491 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_draw_picture | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color, | ||
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t * | img ) |
draw a picture in the gram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
| [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 2800 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_fill_rect | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color, | ||
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t | data ) |
fill a rectangle in the gram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
| [in] | left | left coordinate x |
| [in] | top | top coordinate y |
| [in] | right | right coordinate x |
| [in] | bottom | bottom coordinate y |
| [in] | data | display color |
Definition at line 2736 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_read_point | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color, | ||
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t * | data ) |
read a point from the gram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [out] | *data | pointer to a data buffer |
Definition at line 2609 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_update | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color ) |
update the gram data
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
Definition at line 2367 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_write_point | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color, | ||
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t | data ) |
write a point in the gram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [in] | data | written data |
Definition at line 2544 of file driver_ssd1681.c.
| uint8_t ssd1681_gram_write_string | ( | ssd1681_handle_t * | handle, |
| ssd1681_color_t | color, | ||
| uint8_t | x, | ||
| uint8_t | y, | ||
| char * | str, | ||
| uint16_t | len, | ||
| uint8_t | data, | ||
| ssd1681_font_t | font ) |
draw a string in the gram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | color | color type |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [in] | *str | pointer to a write string address |
| [in] | len | length of the string |
| [in] | data | display color |
| [in] | font | display font size |
Definition at line 2677 of file driver_ssd1681.c.
| uint8_t ssd1681_info | ( | ssd1681_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to an ssd1681 info structure |
Definition at line 3208 of file driver_ssd1681.c.
| uint8_t ssd1681_init | ( | ssd1681_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 2858 of file driver_ssd1681.c.
| uint8_t ssd1681_nop | ( | ssd1681_handle_t * | handle | ) |
nop command
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 2089 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_initial | ( | ssd1681_handle_t * | handle | ) |
initial code setting otp program
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 402 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_initial_read | ( | ssd1681_handle_t * | handle | ) |
read register for initial code setting
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 471 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_initial_write | ( | ssd1681_handle_t * | handle, |
| uint8_t | param[4] ) |
write register for initial code setting
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 437 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_load_waveform | ( | ssd1681_handle_t * | handle | ) |
load otp of waveform setting
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1433 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_program_mode | ( | ssd1681_handle_t * | handle, |
| ssd1681_otp_mode_t | mode ) |
set the otp program mode
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | mode | otp mode |
Definition at line 1679 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_program_selection | ( | ssd1681_handle_t * | handle | ) |
program otp selection
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1574 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_program_vcom | ( | ssd1681_handle_t * | handle | ) |
program vcom otp
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1186 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_program_waveform | ( | ssd1681_handle_t * | handle | ) |
program otp of waveform setting
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1399 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_read_register | ( | ssd1681_handle_t * | handle, |
| uint8_t | param[11] ) |
otp register read for display option
| [in] | *handle | pointer to an ssd1681 handle structure |
| [out] | *param | pointer to a param buffer |
Definition at line 1295 of file driver_ssd1681.c.
| uint8_t ssd1681_otp_write_register | ( | ssd1681_handle_t * | handle, |
| uint8_t | param[11] ) |
otp write register for display option
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 1609 of file driver_ssd1681.c.
| uint8_t ssd1681_read_temperature_sensor | ( | ssd1681_handle_t * | handle, |
| uint16_t * | control ) |
read the temperature sensor
| [in] | *handle | pointer to an ssd1681 handle structure |
| [out] | *control | pointer to a control buffer |
Definition at line 833 of file driver_ssd1681.c.
| uint8_t ssd1681_set_auto_write_black_ram | ( | ssd1681_handle_t * | handle, |
| ssd1681_step_height_t | height, | ||
| ssd1681_step_width_t | width ) |
set the auto write black ram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | height | step height |
| [in] | width | step width |
Definition at line 1964 of file driver_ssd1681.c.
| uint8_t ssd1681_set_auto_write_red_ram | ( | ssd1681_handle_t * | handle, |
| ssd1681_step_height_t | height, | ||
| ssd1681_step_width_t | width ) |
set the auto write red ram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | height | step height |
| [in] | width | step width |
Definition at line 1926 of file driver_ssd1681.c.
| uint8_t ssd1681_set_black_ram | ( | ssd1681_handle_t * | handle | ) |
set the black ram
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1013 of file driver_ssd1681.c.
| uint8_t ssd1681_set_booster_soft_start | ( | ssd1681_handle_t * | handle, |
| uint8_t | phase1, | ||
| uint8_t | phase2, | ||
| uint8_t | phase3, | ||
| uint8_t | duration ) |
set the booster soft start
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | phase1 | phase 1 |
| [in] | phase2 | phase 2 |
| [in] | phase3 | phase 3 |
| [in] | duration | phase duration |
Definition at line 509 of file driver_ssd1681.c.
| uint8_t ssd1681_set_border_waveform | ( | ssd1681_handle_t * | handle, |
| ssd1681_vbd_t | vbd, | ||
| ssd1681_vbd_fix_level_t | level, | ||
| ssd1681_gs_transition_t | gs_tran, | ||
| ssd1681_vbd_transition_t | vbd_tran ) |
set the border waveform
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | vbd | select vbd option |
| [in] | level | fix level setting for vbd |
| [in] | gs_tran | gs transition control |
| [in] | vbd_tran | gs transition setting for vbd |
Definition at line 1719 of file driver_ssd1681.c.
| uint8_t ssd1681_set_crc_calculation | ( | ssd1681_handle_t * | handle | ) |
set the crc calculation
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1503 of file driver_ssd1681.c.
| uint8_t ssd1681_set_data_entry_mode | ( | ssd1681_handle_t * | handle, |
| ssd1681_address_mode_t | mode, | ||
| ssd1681_address_direction_t | direction ) |
set the data entry mode
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | mode | address mode |
| [in] | direction | address direction |
Definition at line 589 of file driver_ssd1681.c.
| uint8_t ssd1681_set_display_sequence | ( | ssd1681_handle_t * | handle, |
| ssd1681_display_sequence_t | sequence ) |
set the display sequence
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | sequence | display sequence |
Definition at line 977 of file driver_ssd1681.c.
| uint8_t ssd1681_set_display_update_control | ( | ssd1681_handle_t * | handle, |
| ssd1681_display_control_t | red_control, | ||
| ssd1681_display_control_t | black_control ) |
set the display update control
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | red_control | red control |
| [in] | black_control | black control |
Definition at line 940 of file driver_ssd1681.c.
| uint8_t ssd1681_set_driver_output | ( | ssd1681_handle_t * | handle, |
| uint16_t | mux, | ||
| ssd1681_bool_t | gd, | ||
| ssd1681_bool_t | sm, | ||
| ssd1681_bool_t | tb ) |
set the driver output
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | mux | set mux |
| [in] | gd | bool value |
| [in] | sm | bool value |
| [in] | tb | bool value |
Definition at line 265 of file driver_ssd1681.c.
| uint8_t ssd1681_set_end_option | ( | ssd1681_handle_t * | handle, |
| ssd1681_end_opt_t | opt ) |
end option
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | opt | end option |
Definition at line 1757 of file driver_ssd1681.c.
| uint8_t ssd1681_set_enter_vcom_sense | ( | ssd1681_handle_t * | handle | ) |
set enter vcom sense
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1115 of file driver_ssd1681.c.
| uint8_t ssd1681_set_gate_driving_voltage | ( | ssd1681_handle_t * | handle, |
| ssd1681_gate_driving_voltage_t | voltage ) |
set the gate driving voltage
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | voltage | gate driving voltage |
Definition at line 325 of file driver_ssd1681.c.
| uint8_t ssd1681_set_hv_ready_detection | ( | ssd1681_handle_t * | handle, |
| uint8_t | cool_down_duration, | ||
| uint8_t | cool_down_loop_num ) |
set the hv ready detection
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | cool_down_duration | cool down duration |
| [in] | cool_down_loop_num | cool down loop num |
Definition at line 665 of file driver_ssd1681.c.
| uint8_t ssd1681_set_lut_register | ( | ssd1681_handle_t * | handle, |
| uint8_t * | reg, | ||
| uint16_t | len ) |
set the lut register
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | *reg | pointer to a register buffer |
| [in] | len | register length |
Definition at line 1469 of file driver_ssd1681.c.
| uint8_t ssd1681_set_master_activate | ( | ssd1681_handle_t * | handle | ) |
master activate
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 904 of file driver_ssd1681.c.
| uint8_t ssd1681_set_mode | ( | ssd1681_handle_t * | handle, |
| ssd1681_mode_t | mode ) |
set the mode
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | mode | set mode |
Definition at line 551 of file driver_ssd1681.c.
| uint8_t ssd1681_set_ram_x | ( | ssd1681_handle_t * | handle, |
| uint8_t | start, | ||
| uint8_t | end ) |
set the ram x range
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | start | start address |
| [in] | end | end address |
Definition at line 1834 of file driver_ssd1681.c.
| uint8_t ssd1681_set_ram_x_address_counter | ( | ssd1681_handle_t * | handle, |
| uint8_t | cnt ) |
set the ram x address counter
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | cnt | address counter |
Definition at line 2002 of file driver_ssd1681.c.
| uint8_t ssd1681_set_ram_y | ( | ssd1681_handle_t * | handle, |
| uint16_t | start, | ||
| uint16_t | end ) |
set the ram y range
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | start | start address |
| [in] | end | end address |
Definition at line 1885 of file driver_ssd1681.c.
| uint8_t ssd1681_set_ram_y_address_counter | ( | ssd1681_handle_t * | handle, |
| uint16_t | cnt ) |
set the ram y address counter
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | cnt | address counter |
Definition at line 2046 of file driver_ssd1681.c.
| uint8_t ssd1681_set_read_ram | ( | ssd1681_handle_t * | handle, |
| ssd1681_read_ram_t | ram ) |
set the read ram
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | ram | read ram option |
Definition at line 1794 of file driver_ssd1681.c.
| uint8_t ssd1681_set_red_ram | ( | ssd1681_handle_t * | handle | ) |
set the red ram
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1047 of file driver_ssd1681.c.
| uint8_t ssd1681_set_source_driving_voltage | ( | ssd1681_handle_t * | handle, |
| ssd1681_vsh_t | vsh1, | ||
| ssd1681_vsh_t | vsh2, | ||
| ssd1681_vsl_t | vsl ) |
set the source driving voltage
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | vsh1 | set vsh1 |
| [in] | vsh2 | set vsh2 |
| [in] | vsl | set vsl |
Definition at line 364 of file driver_ssd1681.c.
| uint8_t ssd1681_set_temperature_sensor | ( | ssd1681_handle_t * | handle, |
| ssd1681_temperature_sensor_t | sensor ) |
set the temperature sensor
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | sensor | temperature sensor |
Definition at line 751 of file driver_ssd1681.c.
| uint8_t ssd1681_set_user_id | ( | ssd1681_handle_t * | handle, |
| uint8_t | id[10] ) |
set the user id
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | *id | pointer to an id buffer |
Definition at line 1644 of file driver_ssd1681.c.
| uint8_t ssd1681_set_vci_detection | ( | ssd1681_handle_t * | handle, |
| ssd1681_vci_level_t | level ) |
set the vci detection
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | level | vci level |
Definition at line 714 of file driver_ssd1681.c.
| uint8_t ssd1681_set_vcom_control_reg | ( | ssd1681_handle_t * | handle | ) |
write register for vcom control
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 1220 of file driver_ssd1681.c.
| uint8_t ssd1681_set_vcom_register | ( | ssd1681_handle_t * | handle, |
| ssd1681_vcom_t | vcom ) |
write vcom register
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | vcom | set vcom |
Definition at line 1258 of file driver_ssd1681.c.
| uint8_t ssd1681_set_vcom_sense_duration | ( | ssd1681_handle_t * | handle, |
| uint8_t | duration ) |
set the vcom sense duration
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | duration | vcom sense duration |
Definition at line 1150 of file driver_ssd1681.c.
| uint8_t ssd1681_software_reset | ( | ssd1681_handle_t * | handle | ) |
software reset
| [in] | *handle | pointer to an ssd1681 handle structure |
Definition at line 625 of file driver_ssd1681.c.
| uint8_t ssd1681_write_temperature_sensor | ( | ssd1681_handle_t * | handle, |
| uint16_t | control ) |
write the temperature sensor
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | control | set control |
Definition at line 789 of file driver_ssd1681.c.
| uint8_t ssd1681_write_temperature_sensor_ext | ( | ssd1681_handle_t * | handle, |
| uint8_t | param[3] ) |
write command to external temperature sensor
| [in] | *handle | pointer to an ssd1681 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 870 of file driver_ssd1681.c.