oledw 2.0.0.0
|
This file contains API for OLED W Click Driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | oledw_s |
Click context object definition. More... | |
struct | oledw_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | oledw_drv_select_t |
typedef uint8_t | oledw_data_t |
typedef uint8_t | oledw_data_mode_t |
typedef const uint8_t | oledw_resources_t |
typedef err_t(* | oledw_master_write_t) (struct oledw_s *, oledw_data_t, oledw_data_mode_t) |
typedef uint8_t | oledw_select_t |
Communication type. | |
typedef struct oledw_s | oledw_t |
Click context object definition. | |
Functions | |
void | oledw_cfg_setup (oledw_cfg_t *cfg) |
Configuration Object Setup function. | |
err_t | oledw_init (oledw_t *ctx, oledw_cfg_t *cfg) |
Click Initialization function. | |
err_t | oledw_send (oledw_t *ctx, oledw_data_t tx_data, oledw_data_mode_t data_mode) |
Send function. | |
void | oledw_default_cfg (oledw_t *ctx) |
Click Default Configuration function. | |
void | oledw_set_page (oledw_t *ctx, oledw_data_t page_addr) |
Page Setting function. | |
void | oledw_set_column (oledw_t *ctx, oledw_data_t col_addr) |
Column Setting function. | |
void | oledw_display_picture (oledw_t *ctx, oledw_resources_t *pic) |
Display Picture function. | |
void | oledw_set_contrast (oledw_t *ctx, oledw_data_t value) |
Contrast Setting function. | |
void | oledw_scroll_right (oledw_t *ctx, oledw_data_t start_page_addr, oledw_data_t end_page_addr) |
Scroll Right function. | |
void | oledw_scroll_left (oledw_t *ctx, oledw_data_t start_page_addr, oledw_data_t end_page_addr) |
Scroll Left function. | |
void | oledw_scroll_diag_right (oledw_t *ctx, oledw_data_t start_page_addr, oledw_data_t end_page_addr) |
Scroll Diagonally Right function. | |
void | oledw_scroll_diag_left (oledw_t *ctx, oledw_data_t start_page_addr, oledw_data_t end_page_addr) |
Scroll Diagonally Left function. | |
void | oledw_stop_scroll (oledw_t *ctx) |
Stop Scrolling function. | |
This file contains API for OLED W Click Driver.