![]() |
LibDriver ST7789
|
st7789 advance driver modules More...
Functions | |
| uint8_t | st7789_set_ram_control (st7789_handle_t *handle, st7789_ram_access_t ram_mode, st7789_display_mode_t display_mode, st7789_frame_type_t frame_type, st7789_data_mode_t data_mode, st7789_rgb_bus_width_t bus_width, st7789_pixel_type_t pixel_type) |
| set ram control | |
| uint8_t | st7789_set_rgb_interface_control (st7789_handle_t *handle, st7789_direct_rgb_mode_t rgb_mode, st7789_rgb_if_enable_mode_t rgb_if_mode, st7789_pin_level_t vspl, st7789_pin_level_t hspl, st7789_pin_level_t dpl, st7789_pin_level_t epl, uint8_t vbp, uint8_t hbp) |
| set rgb interface control | |
| uint8_t | st7789_set_porch (st7789_handle_t *handle, uint8_t back_porch_normal, uint8_t front_porch_normal, st7789_bool_t separate_porch_enable, uint8_t back_porch_idle, uint8_t front_porch_idle, uint8_t back_porch_partial, uint8_t front_porch_partial) |
| set porch | |
| uint8_t | st7789_set_frame_rate_control (st7789_handle_t *handle, st7789_bool_t separate_fr_control, st7789_frame_rate_divided_control_t div_control, st7789_inversion_idle_mode_t idle_mode, uint8_t idle_frame_rate, st7789_inversion_partial_mode_t partial_mode, uint8_t partial_frame_rate) |
| set frame rate control | |
| uint8_t | st7789_set_partial_mode_control (st7789_handle_t *handle, st7789_non_display_source_output_level_t level, st7789_non_display_area_scan_mode_t mode, st7789_non_display_frame_frequency_t frequency) |
| set partial mode control | |
| uint8_t | st7789_set_gate_control (st7789_handle_t *handle, st7789_vghs_t vghs, st7789_vgls_t vgls) |
| set gate control | |
| uint8_t | st7789_set_gate_on_timing_adjustment (st7789_handle_t *handle, uint8_t gate_on_timing_adjustment, uint8_t gate_off_timing_adjustment_rgb, uint8_t gate_off_timing_adjustment) |
| set gate on timing adjustment | |
| uint8_t | st7789_set_digital_gamma (st7789_handle_t *handle, st7789_bool_t enable) |
| enable or disable digital gamma | |
| uint8_t | st7789_set_vcoms (st7789_handle_t *handle, uint8_t vcoms) |
| set vcoms | |
| uint8_t | st7789_vcom_convert_to_register (st7789_handle_t *handle, float v, uint8_t *reg) |
| convert the vcom to the register raw data | |
| uint8_t | st7789_vcom_convert_to_data (st7789_handle_t *handle, uint8_t reg, float *v) |
| convert the register raw data to the vcom | |
| uint8_t | st7789_set_lcm_control (st7789_handle_t *handle, st7789_bool_t xmy, st7789_bool_t xbgr, st7789_bool_t xinv, st7789_bool_t xmx, st7789_bool_t xmh, st7789_bool_t xmv, st7789_bool_t xgs) |
| set lcm control | |
| uint8_t | st7789_set_id_code_setting (st7789_handle_t *handle, uint8_t id[3]) |
| set id code setting | |
| uint8_t | st7789_set_vdv_vrh_from (st7789_handle_t *handle, st7789_vdv_vrh_from_t from) |
| set vdv vrh from | |
| uint8_t | st7789_set_vrhs (st7789_handle_t *handle, uint8_t vrhs) |
| set vrhs | |
| uint8_t | st7789_vrhs_convert_to_register (st7789_handle_t *handle, float v, uint8_t *reg) |
| convert the vrhs to the register raw data | |
| uint8_t | st7789_vrhs_convert_to_data (st7789_handle_t *handle, uint8_t reg, float *v) |
| convert the register raw data to the vrhs | |
| uint8_t | st7789_set_vdv (st7789_handle_t *handle, uint8_t vdv) |
| set vdv | |
| uint8_t | st7789_vdv_convert_to_register (st7789_handle_t *handle, float v, uint8_t *reg) |
| convert the vdv to the register raw data | |
| uint8_t | st7789_vdv_convert_to_data (st7789_handle_t *handle, uint8_t reg, float *v) |
| convert the register raw data to the vdv | |
| uint8_t | st7789_set_vcoms_offset (st7789_handle_t *handle, uint8_t offset) |
| set vcoms offset | |
| uint8_t | st7789_vcoms_offset_convert_to_register (st7789_handle_t *handle, float v, uint8_t *reg) |
| convert the vcoms offset to the register raw data | |
| uint8_t | st7789_vcoms_offset_convert_to_data (st7789_handle_t *handle, uint8_t reg, float *v) |
| convert the register raw data to the vcoms offset | |
| uint8_t | st7789_set_frame_rate (st7789_handle_t *handle, st7789_inversion_selection_t selection, st7789_frame_rate_t rate) |
| set frame rate | |
| uint8_t | st7789_set_cabc_control (st7789_handle_t *handle, st7789_bool_t led_on, st7789_bool_t led_pwm_init, st7789_bool_t led_pwm_fix, st7789_bool_t led_pwm_polarity) |
| set cabc control | |
| uint8_t | st7789_set_pwm_frequency (st7789_handle_t *handle, st7789_pwm_frequency_t frequency) |
| set pwm frequency | |
| uint8_t | st7789_set_power_control_1 (st7789_handle_t *handle, st7789_avdd_t avdd, st7789_avcl_t avcl, st7789_vds_t vds) |
| set power control 1 | |
| uint8_t | st7789_enable_vap_van_signal_output (st7789_handle_t *handle) |
| enable vap van signal output | |
| uint8_t | st7789_set_command_2_enable (st7789_handle_t *handle, st7789_bool_t enable) |
| enable or disable command 2 | |
| uint8_t | st7789_set_positive_voltage_gamma_control (st7789_handle_t *handle, uint8_t param[14]) |
| set positive voltage gamma control | |
| uint8_t | st7789_set_negative_voltage_gamma_control (st7789_handle_t *handle, uint8_t param[14]) |
| set negative voltage gamma control | |
| uint8_t | st7789_set_digital_gamma_look_up_table_red (st7789_handle_t *handle, uint8_t param[64]) |
| set red digital gamma look up table | |
| uint8_t | st7789_set_digital_gamma_look_up_table_blue (st7789_handle_t *handle, uint8_t param[64]) |
| set blue digital gamma look up table | |
| uint8_t | st7789_set_gate (st7789_handle_t *handle, uint8_t gate_line_number, uint8_t first_scan_line_number, st7789_gate_scan_mode_t mode, st7789_gate_scan_direction_t direction) |
| set gate | |
| uint8_t | st7789_gate_line_convert_to_register (st7789_handle_t *handle, uint16_t l, uint8_t *reg) |
| convert the gate line to the register raw data | |
| uint8_t | st7789_gate_line_convert_to_data (st7789_handle_t *handle, uint8_t reg, uint16_t *l) |
| convert the register raw data to the gate line | |
| uint8_t | st7789_set_spi2_enable (st7789_handle_t *handle, st7789_bool_t date_lane, st7789_bool_t command_table_2) |
| set spi2 enable | |
| uint8_t | st7789_set_power_control_2 (st7789_handle_t *handle, st7789_sbclk_div_t sbclk, st7789_stp14ck_div_t stp14ck) |
| set power control 2 | |
| uint8_t | st7789_set_equalize_time_control (st7789_handle_t *handle, uint8_t source_equalize_time, uint8_t source_pre_drive_time, uint8_t gate_equalize_time) |
| set equalize time control | |
| uint8_t | st7789_set_program_mode_control (st7789_handle_t *handle) |
| set program mode control | |
| uint8_t | st7789_set_program_mode_enable (st7789_handle_t *handle, st7789_bool_t enable) |
| enable or disable program mode | |
| uint8_t | st7789_set_nvm_setting (st7789_handle_t *handle, uint8_t addr, uint8_t data) |
| set nvm setting | |
| uint8_t | st7789_set_program_action (st7789_handle_t *handle) |
| set program action | |
st7789 advance driver modules
| enum st7789_avcl_t |
st7789 avcl enumeration definition
| Enumerator | |
|---|---|
| ST7789_AVCL_NEGTIVE_4P4_V | -4.4V |
| ST7789_AVCL_NEGTIVE_4P6_V | -4.6V |
| ST7789_AVCL_NEGTIVE_4P8_V | -4.8V |
| ST7789_AVCL_NEGTIVE_5P0_V | -5.0V |
Definition at line 485 of file driver_st7789.h.
| enum st7789_avdd_t |
st7789 avdd enumeration definition
| Enumerator | |
|---|---|
| ST7789_AVDD_6P4_V | 6.4V |
| ST7789_AVDD_6P6_V | 6.6V |
| ST7789_AVDD_6P8_V | 6.8V |
Definition at line 475 of file driver_st7789.h.
| enum st7789_data_mode_t |
st7789 data mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_DATA_MODE_MSB | big endian |
| ST7789_DATA_MODE_LSB | little endian |
Definition at line 195 of file driver_st7789.h.
st7789 direct rgb mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_DIRECT_RGB_MODE_MEM | memory mode |
| ST7789_DIRECT_RGB_MODE_SHIFT | shift register mode |
Definition at line 235 of file driver_st7789.h.
st7789 display mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_DISPLAY_MODE_MCU | mcu interface |
| ST7789_DISPLAY_MODE_RGB | rgb interface |
| ST7789_DISPLAY_MODE_VSYNC | vsync interface |
Definition at line 185 of file driver_st7789.h.
st7789 frame rate divided control enumeration definition
Definition at line 263 of file driver_st7789.h.
| enum st7789_frame_rate_t |
st7789 frame rate enumeration definition
Definition at line 381 of file driver_st7789.h.
| enum st7789_frame_type_t |
st7789 frame type enumeration definition
| Enumerator | |
|---|---|
| ST7789_FRAME_TYPE_0 | type0 |
| ST7789_FRAME_TYPE_1 | type1 |
| ST7789_FRAME_TYPE_2 | type2 |
| ST7789_FRAME_TYPE_3 | type3 |
Definition at line 213 of file driver_st7789.h.
st7789 gate scan direction enumeration definition
| Enumerator | |
|---|---|
| ST7789_GATE_SCAN_DIRECTION_0_319 | 0 - 319 |
| ST7789_GATE_SCAN_DIRECTION_319_0 | 319 - 0 |
Definition at line 516 of file driver_st7789.h.
st7789 gate scan mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_GATE_SCAN_MODE_INTERLACE | interlace mode |
| ST7789_GATE_SCAN_MODE_NON_INTERLACE | non-interlace mode |
Definition at line 507 of file driver_st7789.h.
st7789 inversion idle mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_INVERSION_IDLE_MODE_DOT | dot inversion |
| ST7789_INVERSION_IDLE_MODE_COLUMN | column inversion |
Definition at line 274 of file driver_st7789.h.
st7789 inversion partial mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_INVERSION_PARTIAL_MODE_DOT | dot inversion |
| ST7789_INVERSION_PARTIAL_MODE_COLUMN | column inversion |
Definition at line 283 of file driver_st7789.h.
st7789 inversion selection enumeration definition
| Enumerator | |
|---|---|
| ST7789_INVERSION_SELECTION_DOT | dot inversion |
| ST7789_INVERSION_SELECTION_COLUMN | column inversion |
Definition at line 372 of file driver_st7789.h.
st7789 non display area scan mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_NON_DISPLAY_AREA_SCAN_MODE_NORMAL | normal mode |
| ST7789_NON_DISPLAY_AREA_SCAN_MODE_INTERVAL | interval scan mode |
Definition at line 301 of file driver_st7789.h.
st7789 non display frame frequency enumeration definition
Definition at line 310 of file driver_st7789.h.
st7789 non display source output level enumeration definition
| Enumerator | |
|---|---|
| ST7789_NON_DISPLAY_SOURCE_OUTPUT_LEVEL_V63 | v63 |
| ST7789_NON_DISPLAY_SOURCE_OUTPUT_LEVEL_V0 | v0 |
Definition at line 292 of file driver_st7789.h.
| enum st7789_pin_level_t |
st7789 pin level enumeration definition
| Enumerator | |
|---|---|
| ST7789_PIN_LEVEL_LOW | low active |
| ST7789_PIN_LEVEL_HIGH | high active |
Definition at line 254 of file driver_st7789.h.
| enum st7789_pixel_type_t |
st7789 pixel type enumeration definition
| Enumerator | |
|---|---|
| ST7789_PIXEL_TYPE_0 | type0 |
| ST7789_PIXEL_TYPE_1 | type1 |
| ST7789_PIXEL_TYPE_2 | type2 |
| ST7789_PIXEL_TYPE_3 | type3 |
Definition at line 224 of file driver_st7789.h.
st7789 pwm frequency enumeration definition
Definition at line 420 of file driver_st7789.h.
| enum st7789_ram_access_t |
st7789 ram access enumeration definition
| Enumerator | |
|---|---|
| ST7789_RAM_ACCESS_MCU | mcu interface |
| ST7789_RAM_ACCESS_RGB | rgb interface |
Definition at line 176 of file driver_st7789.h.
st7789 rgb bus width enumeration definition
| Enumerator | |
|---|---|
| ST7789_RGB_BUS_WIDTH_18_BIT | 18 bit bus width |
| ST7789_RGB_BUS_WIDTH_6_BIT | 6 bit bus width |
Definition at line 204 of file driver_st7789.h.
st7789 rgb if enable mode enumeration definition
| Enumerator | |
|---|---|
| ST7789_RGB_IF_ENABLE_MODE_MCU | memory mode |
| ST7789_RGB_IF_ENABLE_MODE_DE | rgb de mode |
| ST7789_RGB_IF_ENABLE_MODE_HV | rgb hv mode |
Definition at line 244 of file driver_st7789.h.
| enum st7789_sbclk_div_t |
st7789 sbclk div enumeration definition
| Enumerator | |
|---|---|
| ST7789_SBCLK_DIV_2 | div2 |
| ST7789_SBCLK_DIV_3 | div3 |
| ST7789_SBCLK_DIV_4 | div4 |
| ST7789_SBCLK_DIV_6 | div6 |
Definition at line 525 of file driver_st7789.h.
| enum st7789_stp14ck_div_t |
st7789 stp14ck div enumeration definition
| Enumerator | |
|---|---|
| ST7789_STP14CK_DIV_2 | div2 |
| ST7789_STP14CK_DIV_3 | div3 |
| ST7789_STP14CK_DIV_4 | div4 |
| ST7789_STP14CK_DIV_6 | div6 |
Definition at line 536 of file driver_st7789.h.
| enum st7789_vds_t |
st7789 vds enumeration definition
| Enumerator | |
|---|---|
| ST7789_VDS_2P19_V | 2.19V |
| ST7789_VDS_2P3_V | 2.3V |
| ST7789_VDS_2P4_V | 2.4V |
| ST7789_VDS_2P51_V | 2.51V |
Definition at line 496 of file driver_st7789.h.
st7789 vdv vrh from enumeration definition
| Enumerator | |
|---|---|
| ST7789_VDV_VRH_FROM_NVM | from nvm |
| ST7789_VDV_VRH_FROM_CMD | from command write |
Definition at line 363 of file driver_st7789.h.
| enum st7789_vghs_t |
st7789 vghs enumeration definition
Definition at line 333 of file driver_st7789.h.
| enum st7789_vgls_t |
st7789 vgls enumeration definition
Definition at line 348 of file driver_st7789.h.
| uint8_t st7789_enable_vap_van_signal_output | ( | st7789_handle_t * | handle | ) |
enable vap van signal output
| [in] | *handle | pointer to an st7789 handle structure |
Definition at line 2527 of file driver_st7789.c.
| uint8_t st7789_gate_line_convert_to_data | ( | st7789_handle_t * | handle, |
| uint8_t | reg, | ||
| uint16_t * | l ) |
convert the register raw data to the gate line
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | reg | register raw data |
| [out] | *l | pointer to a gate line buffer |
Definition at line 2856 of file driver_st7789.c.
| uint8_t st7789_gate_line_convert_to_register | ( | st7789_handle_t * | handle, |
| uint16_t | l, | ||
| uint8_t * | reg ) |
convert the gate line to the register raw data
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | l | gate line |
| [out] | *reg | pointer to a register raw buffer |
Definition at line 2829 of file driver_st7789.c.
| uint8_t st7789_set_cabc_control | ( | st7789_handle_t * | handle, |
| st7789_bool_t | led_on, | ||
| st7789_bool_t | led_pwm_init, | ||
| st7789_bool_t | led_pwm_fix, | ||
| st7789_bool_t | led_pwm_polarity ) |
set cabc control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | led_on | bool value |
| [in] | led_pwm_init | bool value |
| [in] | led_pwm_fix | bool value |
| [in] | led_pwm_polarity | bool value |
Definition at line 2397 of file driver_st7789.c.
| uint8_t st7789_set_command_2_enable | ( | st7789_handle_t * | handle, |
| st7789_bool_t | enable ) |
enable or disable command 2
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | enable | bool value |
Definition at line 2568 of file driver_st7789.c.
| uint8_t st7789_set_digital_gamma | ( | st7789_handle_t * | handle, |
| st7789_bool_t | enable ) |
enable or disable digital gamma
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | enable | bool value |
Definition at line 1768 of file driver_st7789.c.
| uint8_t st7789_set_digital_gamma_look_up_table_blue | ( | st7789_handle_t * | handle, |
| uint8_t | param[64] ) |
set blue digital gamma look up table
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 2726 of file driver_st7789.c.
| uint8_t st7789_set_digital_gamma_look_up_table_red | ( | st7789_handle_t * | handle, |
| uint8_t | param[64] ) |
set red digital gamma look up table
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 2688 of file driver_st7789.c.
| uint8_t st7789_set_equalize_time_control | ( | st7789_handle_t * | handle, |
| uint8_t | source_equalize_time, | ||
| uint8_t | source_pre_drive_time, | ||
| uint8_t | gate_equalize_time ) |
set equalize time control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | source_equalize_time | source equalize time |
| [in] | source_pre_drive_time | source pre drive time |
| [in] | gate_equalize_time | gate equalize time |
Definition at line 2972 of file driver_st7789.c.
| uint8_t st7789_set_frame_rate | ( | st7789_handle_t * | handle, |
| st7789_inversion_selection_t | selection, | ||
| st7789_frame_rate_t | rate ) |
set frame rate
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | selection | inversion selection |
| [in] | rate | frame rate |
Definition at line 2353 of file driver_st7789.c.
| uint8_t st7789_set_frame_rate_control | ( | st7789_handle_t * | handle, |
| st7789_bool_t | separate_fr_control, | ||
| st7789_frame_rate_divided_control_t | div_control, | ||
| st7789_inversion_idle_mode_t | idle_mode, | ||
| uint8_t | idle_frame_rate, | ||
| st7789_inversion_partial_mode_t | partial_mode, | ||
| uint8_t | partial_frame_rate ) |
set frame rate control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | separate_fr_control | bool value |
| [in] | div_control | frame rate divided control |
| [in] | idle_mode | inversion idle mode |
| [in] | idle_frame_rate | idle frame rate |
| [in] | partial_mode | inversion partial mode |
| [in] | partial_frame_rate | partial frame rate |
Definition at line 1549 of file driver_st7789.c.
| uint8_t st7789_set_gate | ( | st7789_handle_t * | handle, |
| uint8_t | gate_line_number, | ||
| uint8_t | first_scan_line_number, | ||
| st7789_gate_scan_mode_t | mode, | ||
| st7789_gate_scan_direction_t | direction ) |
set gate
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | gate_line_number | gate line number |
| [in] | first_scan_line_number | first scan line number |
| [in] | mode | gate scan mode |
| [in] | direction | gate scan direction |
Definition at line 2770 of file driver_st7789.c.
| uint8_t st7789_set_gate_control | ( | st7789_handle_t * | handle, |
| st7789_vghs_t | vghs, | ||
| st7789_vgls_t | vgls ) |
set gate control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | vghs | vghs level |
| [in] | vgls | vgls level |
Definition at line 1657 of file driver_st7789.c.
| uint8_t st7789_set_gate_on_timing_adjustment | ( | st7789_handle_t * | handle, |
| uint8_t | gate_on_timing_adjustment, | ||
| uint8_t | gate_off_timing_adjustment_rgb, | ||
| uint8_t | gate_off_timing_adjustment ) |
set gate on timing adjustment
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | gate_on_timing_adjustment | gate on timing adjustment |
| [in] | gate_off_timing_adjustment_rgb | gate off timing adjustment in rgb interface |
| [in] | gate_off_timing_adjustment | gate off timing adjustment |
Definition at line 1702 of file driver_st7789.c.
| uint8_t st7789_set_id_code_setting | ( | st7789_handle_t * | handle, |
| uint8_t | id[3] ) |
set id code setting
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | *id | pointer to an id buffer |
Definition at line 1966 of file driver_st7789.c.
| uint8_t st7789_set_lcm_control | ( | st7789_handle_t * | handle, |
| st7789_bool_t | xmy, | ||
| st7789_bool_t | xbgr, | ||
| st7789_bool_t | xinv, | ||
| st7789_bool_t | xmx, | ||
| st7789_bool_t | xmh, | ||
| st7789_bool_t | xmv, | ||
| st7789_bool_t | xgs ) |
set lcm control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | xmy | bool value |
| [in] | xbgr | bool value |
| [in] | xinv | bool value |
| [in] | xmx | bool value |
| [in] | xmh | bool value |
| [in] | xmv | bool value |
| [in] | xgs | bool value |
Definition at line 1917 of file driver_st7789.c.
| uint8_t st7789_set_negative_voltage_gamma_control | ( | st7789_handle_t * | handle, |
| uint8_t | param[14] ) |
set negative voltage gamma control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 2650 of file driver_st7789.c.
| uint8_t st7789_set_nvm_setting | ( | st7789_handle_t * | handle, |
| uint8_t | addr, | ||
| uint8_t | data ) |
set nvm setting
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | addr | nvm address |
| [in] | data | nvm set data |
Definition at line 3121 of file driver_st7789.c.
| uint8_t st7789_set_partial_mode_control | ( | st7789_handle_t * | handle, |
| st7789_non_display_source_output_level_t | level, | ||
| st7789_non_display_area_scan_mode_t | mode, | ||
| st7789_non_display_frame_frequency_t | frequency ) |
set partial mode control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | level | non-display source output level |
| [in] | mode | non-display area scan mode |
| [in] | frequency | non-display frame frequency |
Definition at line 1612 of file driver_st7789.c.
| uint8_t st7789_set_porch | ( | st7789_handle_t * | handle, |
| uint8_t | back_porch_normal, | ||
| uint8_t | front_porch_normal, | ||
| st7789_bool_t | separate_porch_enable, | ||
| uint8_t | back_porch_idle, | ||
| uint8_t | front_porch_idle, | ||
| uint8_t | back_porch_partial, | ||
| uint8_t | front_porch_partial ) |
set porch
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | back_porch_normal | back porch setting in normal mode |
| [in] | front_porch_normal | front porch setting in normal mode |
| [in] | separate_porch_enable | bool value |
| [in] | back_porch_idle | back porch setting in idle mode |
| [in] | front_porch_idle | front porch setting in idle mode |
| [in] | back_porch_partial | back porch setting in partial mode |
| [in] | front_porch_partial | front porch setting in partial mode |
Definition at line 1453 of file driver_st7789.c.
| uint8_t st7789_set_positive_voltage_gamma_control | ( | st7789_handle_t * | handle, |
| uint8_t | param[14] ) |
set positive voltage gamma control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | *param | pointer to a param buffer |
Definition at line 2612 of file driver_st7789.c.
| uint8_t st7789_set_power_control_1 | ( | st7789_handle_t * | handle, |
| st7789_avdd_t | avdd, | ||
| st7789_avcl_t | avcl, | ||
| st7789_vds_t | vds ) |
set power control 1
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | avdd | avdd param |
| [in] | avcl | avcl param |
| [in] | vds | vds param |
Definition at line 2486 of file driver_st7789.c.
| uint8_t st7789_set_power_control_2 | ( | st7789_handle_t * | handle, |
| st7789_sbclk_div_t | sbclk, | ||
| st7789_stp14ck_div_t | stp14ck ) |
set power control 2
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | sbclk | sbclk div |
| [in] | stp14ck | stp14ck div |
Definition at line 2926 of file driver_st7789.c.
| uint8_t st7789_set_program_action | ( | st7789_handle_t * | handle | ) |
set program action
| [in] | *handle | pointer to an st7789 handle structure |
Definition at line 3162 of file driver_st7789.c.
| uint8_t st7789_set_program_mode_control | ( | st7789_handle_t * | handle | ) |
set program mode control
| [in] | *handle | pointer to an st7789 handle structure |
Definition at line 3035 of file driver_st7789.c.
| uint8_t st7789_set_program_mode_enable | ( | st7789_handle_t * | handle, |
| st7789_bool_t | enable ) |
enable or disable program mode
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | enable | bool value |
Definition at line 3076 of file driver_st7789.c.
| uint8_t st7789_set_pwm_frequency | ( | st7789_handle_t * | handle, |
| st7789_pwm_frequency_t | frequency ) |
set pwm frequency
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | frequency | pwm frequency |
Definition at line 2443 of file driver_st7789.c.
| uint8_t st7789_set_ram_control | ( | st7789_handle_t * | handle, |
| st7789_ram_access_t | ram_mode, | ||
| st7789_display_mode_t | display_mode, | ||
| st7789_frame_type_t | frame_type, | ||
| st7789_data_mode_t | data_mode, | ||
| st7789_rgb_bus_width_t | bus_width, | ||
| st7789_pixel_type_t | pixel_type ) |
set ram control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | ram_mode | ram mode |
| [in] | display_mode | display mode |
| [in] | frame_type | frame type |
| [in] | data_mode | data mode |
| [in] | bus_width | bus width |
| [in] | pixel_type | pixel type |
Definition at line 1313 of file driver_st7789.c.
| uint8_t st7789_set_rgb_interface_control | ( | st7789_handle_t * | handle, |
| st7789_direct_rgb_mode_t | rgb_mode, | ||
| st7789_rgb_if_enable_mode_t | rgb_if_mode, | ||
| st7789_pin_level_t | vspl, | ||
| st7789_pin_level_t | hspl, | ||
| st7789_pin_level_t | dpl, | ||
| st7789_pin_level_t | epl, | ||
| uint8_t | vbp, | ||
| uint8_t | hbp ) |
set rgb interface control
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | rgb_mode | rgb mode |
| [in] | rgb_if_mode | rgb if enable mode |
| [in] | vspl | vspl active level |
| [in] | hspl | hspl active level |
| [in] | dpl | dpl active level |
| [in] | epl | epl active level |
| [in] | vbp | rgb interface vsync back porch setting |
| [in] | hbp | rgb interface hsync back porch setting |
Definition at line 1372 of file driver_st7789.c.
| uint8_t st7789_set_spi2_enable | ( | st7789_handle_t * | handle, |
| st7789_bool_t | date_lane, | ||
| st7789_bool_t | command_table_2 ) |
set spi2 enable
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | date_lane | bool value |
| [in] | command_table_2 | bool value |
Definition at line 2884 of file driver_st7789.c.
| uint8_t st7789_set_vcoms | ( | st7789_handle_t * | handle, |
| uint8_t | vcoms ) |
set vcoms
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | vcoms | set vcoms |
Definition at line 1810 of file driver_st7789.c.
| uint8_t st7789_set_vcoms_offset | ( | st7789_handle_t * | handle, |
| uint8_t | offset ) |
set vcoms offset
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | offset | vcoms offset |
Definition at line 2251 of file driver_st7789.c.
| uint8_t st7789_set_vdv | ( | st7789_handle_t * | handle, |
| uint8_t | vdv ) |
set vdv
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | vdv | set vdv |
Definition at line 2149 of file driver_st7789.c.
| uint8_t st7789_set_vdv_vrh_from | ( | st7789_handle_t * | handle, |
| st7789_vdv_vrh_from_t | from ) |
set vdv vrh from
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | from | vdv and vrh from |
Definition at line 2004 of file driver_st7789.c.
| uint8_t st7789_set_vrhs | ( | st7789_handle_t * | handle, |
| uint8_t | vrhs ) |
set vrhs
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | vrhs | set vrhs |
Definition at line 2047 of file driver_st7789.c.
| uint8_t st7789_vcom_convert_to_data | ( | st7789_handle_t * | handle, |
| uint8_t | reg, | ||
| float * | v ) |
convert the register raw data to the vcom
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | reg | register raw data |
| [out] | *v | pointer to a vcom buffer |
Definition at line 1884 of file driver_st7789.c.
| uint8_t st7789_vcom_convert_to_register | ( | st7789_handle_t * | handle, |
| float | v, | ||
| uint8_t * | reg ) |
convert the vcom to the register raw data
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | v | vcom |
| [out] | *reg | pointer to a register raw buffer |
Definition at line 1857 of file driver_st7789.c.
| uint8_t st7789_vcoms_offset_convert_to_data | ( | st7789_handle_t * | handle, |
| uint8_t | reg, | ||
| float * | v ) |
convert the register raw data to the vcoms offset
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | reg | register raw data |
| [out] | *v | pointer to a vcoms offset buffer |
Definition at line 2325 of file driver_st7789.c.
| uint8_t st7789_vcoms_offset_convert_to_register | ( | st7789_handle_t * | handle, |
| float | v, | ||
| uint8_t * | reg ) |
convert the vcoms offset to the register raw data
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | v | vcoms offset |
| [out] | *reg | pointer to a register raw buffer |
Definition at line 2298 of file driver_st7789.c.
| uint8_t st7789_vdv_convert_to_data | ( | st7789_handle_t * | handle, |
| uint8_t | reg, | ||
| float * | v ) |
convert the register raw data to the vdv
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | reg | register raw data |
| [out] | *v | pointer to a vcom buffer |
Definition at line 2223 of file driver_st7789.c.
| uint8_t st7789_vdv_convert_to_register | ( | st7789_handle_t * | handle, |
| float | v, | ||
| uint8_t * | reg ) |
convert the vdv to the register raw data
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | v | vcom |
| [out] | *reg | pointer to a register raw buffer |
Definition at line 2196 of file driver_st7789.c.
| uint8_t st7789_vrhs_convert_to_data | ( | st7789_handle_t * | handle, |
| uint8_t | reg, | ||
| float * | v ) |
convert the register raw data to the vrhs
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | reg | register raw data |
| [out] | *v | pointer to a vcom buffer |
Definition at line 2121 of file driver_st7789.c.
| uint8_t st7789_vrhs_convert_to_register | ( | st7789_handle_t * | handle, |
| float | v, | ||
| uint8_t * | reg ) |
convert the vrhs to the register raw data
| [in] | *handle | pointer to an st7789 handle structure |
| [in] | v | vcom |
| [out] | *reg | pointer to a register raw buffer |
Definition at line 2094 of file driver_st7789.c.