oledswitch 2.0.0.0
|
This file contains API for OLED Switch Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | oledswitch_scroll_t |
Scroll structure. More... | |
struct | oledswitch_coordinate_t |
Coordinate structure. More... | |
struct | oledswitch_color_t |
Color structure. More... | |
struct | oledswitch_contrast_t |
Contrast structure. More... | |
struct | oledswitch_t |
Click ctx object definition. More... | |
struct | oledswitch_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | oledswitch_cfg_setup (oledswitch_cfg_t *cfg) |
Config Object Initialization function. | |
OLEDSWITCH_RETVAL | oledswitch_init (oledswitch_t *ctx, oledswitch_cfg_t *cfg) |
Initialization function. | |
void | oledswitch_default_cfg (oledswitch_t *ctx, uint8_t buffer_size) |
Click Default Configuration function. | |
void | oledswitch_reg_write (oledswitch_t *ctx, uint8_t *write_buf, uint8_t len) |
Register write function. | |
void | oledswitch_draw_image (oledswitch_t *ctx, const uint8_t *image_buf, uint16_t image_size) |
Register write function. | |
void | oledswitch_set_contrast (oledswitch_t *ctx) |
Set contrast function. | |
void | oledswitch_set_master_current (oledswitch_t *ctx) |
Set master current function. | |
void | oledswitch_set_remap_color_depth (oledswitch_t *ctx) |
Set remap color depth function. | |
void | oledswitch_set_display_start_line (oledswitch_t *ctx) |
Set display start line function. | |
void | oledswitch_set_display_offset (oledswitch_t *ctx) |
Set display offset function. | |
void | oledswitch_set_normal_display (oledswitch_t *ctx) |
Set normal display function. | |
void | oledswitch_set_multiplex_ratio (oledswitch_t *ctx) |
Set multiplex ratio function. | |
void | oledswitch_set_dim_mode (oledswitch_t *ctx) |
Set dim mode function. | |
void | oledswitch_set_master_config (oledswitch_t *ctx) |
Set master config function. | |
void | oledswitch_set_power_save_mode (oledswitch_t *ctx) |
Set power save mode function. | |
void | oledswitch_set_phase_period_adjustment (oledswitch_t *ctx) |
Set phase period adjustment function. | |
void | oledswitch_display_clock_divider_oscillator_frequency (oledswitch_t *ctx) |
Display clock divider oscillator frequency function. | |
void | oledswitch_enable_linear_gray_scale (oledswitch_t *ctx) |
Enable linear gray scale function. | |
void | oledswitch_pre_charge_level (oledswitch_t *ctx) |
Set pre-charge level function. | |
void | oledswitch_set_vcomh (oledswitch_t *ctx) |
Set vcomh function. | |
void | oledswitch_display_normal_mode (oledswitch_t *ctx) |
Display normal mode function. | |
void | oledswitch_set_row_range (oledswitch_t *ctx, uint8_t start, uint8_t end) |
Set row range function. | |
void | oledswitch_set_column_range (oledswitch_t *ctx, uint8_t start, uint8_t end) |
Set column range function. | |
void | oledswitch_clear_window (oledswitch_t *ctx) |
Clear window function. | |
void | oledswitch_deactivate_scrolling (oledswitch_t *ctx) |
Deactivate scrolling function. | |
void | oledswitch_activate_scrolling (oledswitch_t *ctx) |
Activate scrolling function. | |
void | oledswitch_demo_scrolling_setup (oledswitch_t *ctx) |
Demo scroling setup function. | |
void | oledswitch_software_reset (oledswitch_t *ctx) |
Software reset function. | |
void | oledswitch_digital_write_pwm (oledswitch_t *ctx, uint8_t signal) |
Digital write pwm function. | |
void | oledswitch_digital_write_rst (oledswitch_t *ctx, uint8_t signal) |
Digital write reset function. | |
This file contains API for OLED Switch Click driver.