ipsdisplay2 2.1.0.0
|
This file contains API for IPS Display 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | ipsdisplay2_t |
IPS Display 2 Click context object. More... | |
struct | ipsdisplay2_cfg_t |
IPS Display 2 Click configuration object. More... | |
struct | ipsdisplay2_point_t |
IPS Display 2 Click point coordinates object. More... | |
Enumerations | |
enum | ipsdisplay2_return_value_t { IPSDISPLAY2_OK = 0 , IPSDISPLAY2_ERROR = -1 } |
IPS Display 2 Click return value data. More... | |
Functions | |
void | ipsdisplay2_cfg_setup (ipsdisplay2_cfg_t *cfg) |
IPS Display 2 configuration object setup function. | |
err_t | ipsdisplay2_init (ipsdisplay2_t *ctx, ipsdisplay2_cfg_t *cfg) |
IPS Display 2 initialization function. | |
err_t | ipsdisplay2_default_cfg (ipsdisplay2_t *ctx) |
IPS Display 2 default configuration function. | |
err_t | ipsdisplay2_write_cmd (ipsdisplay2_t *ctx, uint8_t cmd) |
IPS Display 2 write cmd function. | |
err_t | ipsdisplay2_write_cmd_par (ipsdisplay2_t *ctx, uint8_t cmd, uint8_t *data_in, uint8_t len) |
IPS Display 2 write cmd par function. | |
err_t | ipsdisplay2_write_data (ipsdisplay2_t *ctx, uint16_t *data_in, uint16_t len) |
IPS Display 2 write data function. | |
void | ipsdisplay2_disable_device (ipsdisplay2_t *ctx) |
IPS Display 2 disable device function. | |
void | ipsdisplay2_enable_device (ipsdisplay2_t *ctx) |
IPS Display 2 enable device function. | |
void | ipsdisplay2_reset_device (ipsdisplay2_t *ctx) |
IPS Display 2 reset device function. | |
void | ipsdisplay2_disable_backlight (ipsdisplay2_t *ctx) |
IPS Display 2 disable backlight function. | |
void | ipsdisplay2_enable_backlight (ipsdisplay2_t *ctx) |
IPS Display 2 enable backlight function. | |
void | ipsdisplay2_enter_cmd_mode (ipsdisplay2_t *ctx) |
IPS Display 2 enter cmd mode function. | |
void | ipsdisplay2_enter_data_mode (ipsdisplay2_t *ctx) |
IPS Display 2 enter data mode function. | |
err_t | ipsdisplay2_set_rotation (ipsdisplay2_t *ctx, uint8_t rotation) |
IPS Display 2 set rotation function. | |
err_t | ipsdisplay2_set_pos (ipsdisplay2_t *ctx, ipsdisplay2_point_t start_pt, ipsdisplay2_point_t end_pt) |
IPS Display 2 set pos function. | |
err_t | ipsdisplay2_fill_screen (ipsdisplay2_t *ctx, uint16_t color) |
IPS Display 2 fill screen function. | |
err_t | ipsdisplay2_write_char (ipsdisplay2_t *ctx, ipsdisplay2_point_t start_pt, uint8_t data_in, uint16_t color) |
IPS Display 2 write char function. | |
err_t | ipsdisplay2_write_string (ipsdisplay2_t *ctx, ipsdisplay2_point_t start_pt, uint8_t *data_in, uint16_t color) |
IPS Display 2 write string function. | |
err_t | ipsdisplay2_draw_pixel (ipsdisplay2_t *ctx, ipsdisplay2_point_t start_pt, uint16_t color) |
IPS Display 2 draw pixel function. | |
err_t | ipsdisplay2_draw_line (ipsdisplay2_t *ctx, ipsdisplay2_point_t start_pt, ipsdisplay2_point_t end_pt, uint16_t color) |
IPS Display 2 draw line function. | |
err_t | ipsdisplay2_draw_rectangle (ipsdisplay2_t *ctx, ipsdisplay2_point_t start_pt, ipsdisplay2_point_t end_pt, uint16_t color) |
IPS Display 2 draw rectangle function. | |
err_t | ipsdisplay2_draw_circle (ipsdisplay2_t *ctx, ipsdisplay2_point_t center_pt, uint8_t radius, uint16_t color) |
IPS Display 2 draw circle function. | |
err_t | ipsdisplay2_draw_picture (ipsdisplay2_t *ctx, uint8_t rotation, const uint16_t *image) |
IPS Display 2 draw picture function. | |
This file contains API for IPS Display 2 Click Driver.