oledb 2.0.0.0
|
This file contains API for OLED B Click Driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
#include "oledb_resources.h"
Go to the source code of this file.
Data Structures | |
struct | oledb_s |
Click context object definition. More... | |
struct | oledb_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | oledb_drv_select_t |
typedef uint8_t | oledb_data_t |
typedef const uint8_t | oledb_resources_t |
typedef void(* | oledb_master_write_t) (struct oledb_s *, oledb_data_t *, uint8_t) |
typedef uint8_t | oledb_select_t |
Communication type. | |
typedef struct oledb_s | oledb_t |
Click context object definition. | |
Functions | |
void | oledb_cfg_setup (oledb_cfg_t *cfg) |
Configuration Object Setup function. | |
err_t | oledb_init (oledb_t *ctx, oledb_cfg_t *cfg) |
Click Initialization function. | |
void | oledb_send_cmd (oledb_t *ctx, oledb_data_t tx_cmd) |
Send cmd function. | |
void | oledb_send_data (oledb_t *ctx, oledb_data_t *tx_data, uint8_t data_len) |
Send data function. | |
void | oledb_default_cfg (oledb_t *ctx) |
Click Default Configuration function. | |
void | oledb_set_page (oledb_t *ctx, oledb_data_t page_addr) |
Page Setting function. | |
void | oledb_set_column (oledb_t *ctx, oledb_data_t col_addr) |
Column Setting function. | |
void | oledb_display_picture (oledb_t *ctx, oledb_resources_t *pic) |
Display Picture function. | |
void | oledb_clear_display (oledb_t *ctx) |
Clear Display function. | |
void | oledb_write_char (oledb_t *ctx, uint8_t font, uint8_t row, uint8_t position, uint8_t data_in) |
Write Char function. | |
void | oledb_write_string (oledb_t *ctx, uint8_t font, uint8_t row, uint8_t position, uint8_t *data_in) |
Write String function. | |
void | oledb_set_contrast (oledb_t *ctx, oledb_data_t value) |
Contrast Setting function. | |
void | oledb_scroll_right (oledb_t *ctx, oledb_data_t start_page_addr, oledb_data_t end_page_addr) |
Scroll Right function. | |
void | oledb_scroll_left (oledb_t *ctx, oledb_data_t start_page_addr, oledb_data_t end_page_addr) |
Scroll Left function. | |
void | oledb_scroll_diag_right (oledb_t *ctx, oledb_data_t start_page_addr, oledb_data_t end_page_addr) |
Scroll Diagonally Right function. | |
void | oledb_scroll_diag_left (oledb_t *ctx, oledb_data_t start_page_addr, oledb_data_t end_page_addr) |
Scroll Diagonally Left function. | |
void | oledb_stop_scroll (oledb_t *ctx) |
Stop Scrolling function. | |
This file contains API for OLED B Click Driver.