lcdmini 2.0.0.0
|
This file contains API for LCD mini Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
#include "drv_pwm.h"
Go to the source code of this file.
Data Structures | |
struct | lcdmini_t |
LCD mini Click context object. More... | |
struct | lcdmini_cfg_t |
LCD mini Click configuration object. More... | |
Enumerations | |
enum | lcdmini_return_value_t { LCDMINI_OK = 0 , LCDMINI_ERROR = -1 } |
LCD mini Click return value data. More... | |
Functions | |
void | lcdmini_cfg_setup (lcdmini_cfg_t *cfg) |
LCD mini configuration object setup function. | |
err_t | lcdmini_init (lcdmini_t *ctx, lcdmini_cfg_t *cfg) |
LCD mini initialization function. | |
err_t | lcdmini_default_cfg (lcdmini_t *ctx) |
LCD mini default configuration function. | |
err_t | lcdmini_generic_write (lcdmini_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
LCD mini data writing function. | |
err_t | lcdmini_generic_read (lcdmini_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
LCD mini data reading function. | |
err_t | lcdmini_set_duty_cycle (lcdmini_t *ctx, float duty_cycle) |
LCD mini sets PWM duty cycle. | |
err_t | lcdmini_pwm_stop (lcdmini_t *ctx) |
LCD mini stop PWM module. | |
err_t | lcdmini_pwm_start (lcdmini_t *ctx) |
LCD mini start PWM module. | |
void | lcdmini_set_backlight (lcdmini_t *ctx, float backlight_value) |
Set backlight function. | |
void | lcdmini_set_contrast (lcdmini_t *ctx, uint8_t contrast_value) |
Set contrast function. | |
uint8_t | lcdmini_get_interrupt (lcdmini_t *ctx) |
Get interrupt. | |
void | lcdmini_hw_reset (lcdmini_t *ctx) |
Hardware reset function. | |
err_t | lcdmini_read_register (lcdmini_t *ctx, uint8_t reg, uint8_t *data_out) |
LCD mini register data reading function. | |
err_t | lcdmini_write_register (lcdmini_t *ctx, uint8_t reg, uint8_t data_in) |
LCD mini register data writing function. | |
void | lcdmini_send_cmd (lcdmini_t *ctx, uint8_t command) |
LCD mini send command. | |
void | lcdmini_send_char (lcdmini_t *ctx, uint8_t character) |
LCD mini send character. | |
void | lcdmini_display_char (lcdmini_t *ctx, uint8_t row, uint8_t column, char character) |
LCD mini display character. | |
void | lcdmini_display_text (lcdmini_t *ctx, uint8_t row, uint8_t column, char *data_in) |
LCD mini display text. | |
This file contains API for LCD mini Click Driver.