dotmatrixr 2.0.0.0
|
This file contains API for Dot-Matrix R 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 | dotmatrixr_t |
Click ctx object definition. More... | |
struct | dotmatrixr_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | dotmatrixr_cfg_setup (dotmatrixr_cfg_t *cfg) |
Config Object Initialization function. | |
DOTMATRIXR_RETVAL | dotmatrixr_init (dotmatrixr_t *ctx, dotmatrixr_cfg_t *cfg) |
Initialization function. | |
void | dotmatrixr_generic_transfer (dotmatrixr_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | dotmatrixr_set_bl_pin_state (dotmatrixr_t *ctx, uint8_t state) |
Sets BL pin to high or low state. | |
void | dotmatrixr_set_rs_pin_state (dotmatrixr_t *ctx, uint8_t state) |
Sets RS pin to high or low state. | |
void | dotmatrixr_set_rst_pin_state (dotmatrixr_t *ctx, uint8_t state) |
Sets RST pin to high or low state. | |
void | dotmatrixr_restart (dotmatrixr_t *ctx) |
Restart device. | |
void | dotmatrixr_ctrl_0 (dotmatrixr_t *ctx, uint8_t ctrl_byte) |
Function for writing control word 0. | |
void | dotmatrixr_ctrl_1 (dotmatrixr_t *ctx, uint8_t ctrl_byte) |
Function for writing control word 1. | |
void | dotmatrixr_write_ascii (dotmatrixr_t *ctx, char *ascii_data) |
Sets display to written value. | |
This file contains API for Dot-Matrix R Click driver.