c7x10b 2.0.0.0
c7x10b.h File Reference
#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  c7x10b_t
 Click ctx object definition. More...
 
struct  c7x10b_cfg_t
 Click configuration structure definition. More...
 
struct  c7x10b_pixel_t
 pixel structure definition. More...
 

Macros

#define C7X10B_MAP_MIKROBUS(cfg, mikrobus)
 
#define C7X10B_DISPLAY_DELAY_5MS   5
 
#define C7X10B_DISPLAY_DELAY_10MS   10
 
#define C7X10B_DISPLAY_DELAY_20MS   20
 
#define C7X10B_DISPLAY_DELAY_35MS   35
 
#define C7X10B_DISPLAY_DELAY_50MS   50
 
#define C7X10B_DISPLAY_DELAY_100MS   100
 
#define C7X10B_DISPLAY_DELAY_150MS   150
 
#define C7X10B_DISPLAY_LEFT   0x00
 
#define C7X10B_DISPLAY_RIGHT   0x01
 
#define C7X10B_DISPLAY_REFRESH   0x10
 
#define C7X10B_DISPLAY_PIXEL_REFRESH   0x01
 
#define C7X10B_DISPLAY_PIXEL_STORAGE   0x00
 

Enumerations

enum  c7x10b_return_value_t { C7X10B_OK = 0 , C7X10B_ERROR = -1 }
 

Functions

void c7x10b_cfg_setup (c7x10b_cfg_t *cfg)
 Config Object Initialization function.
 
c7x10b_return_value_t c7x10b_init (c7x10b_t *ctx, c7x10b_cfg_t *cfg)
 Initialization function.
 
void c7x10b_display_process (c7x10b_t *ctx, uint8_t *frame, uint16_t disp_delay)
 Display process (function).
 
void c7x10b_draw_pixel (c7x10b_t *ctx, c7x10b_pixel_t *pixel, uint8_t mode, uint8_t px_delay)
 Draw pixel (function).
 
void c7x10b_draw_char (c7x10b_t *ctx, char ch, uint8_t pos, uint8_t ch_delay)
 Draw char (function).
 
void c7x10b_draw_number (c7x10b_t *ctx, uint8_t num, uint16_t num_delay)
 Draw number (function).