big7seg 2.0.0.0
big7seg.h File Reference

This file contains API for BIG 7-SEG 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  big7seg_t
 Click ctx object definition. More...
 
struct  big7seg_cfg_t
 Click configuration structure definition. More...
 

Macros

#define BIG7SEG_MAP_MIKROBUS(cfg, mikrobus)
 
#define BIG7SEG_RETVAL   uint8_t
 
#define BIG7SEG_OK   0x00
 
#define BIG7SEG_INIT_ERROR   0xFF
 

Functions

void big7seg_cfg_setup (big7seg_cfg_t *cfg)
 Config Object Initialization function.
 
BIG7SEG_RETVAL big7seg_init (big7seg_t *ctx, big7seg_cfg_t *cfg)
 Initialization function.
 
void big7seg_generic_transfer (big7seg_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len)
 Generic transfer function.
 
void big7seg_write_data (big7seg_t *ctx, uint8_t write_data)
 
void big7seg_set7seg (big7seg_t *ctx)
 
void big7seg_reset7seg (big7seg_t *ctx)
 
void big7seg_display_on (big7seg_t *ctx)
 
void big7seg_display_off (big7seg_t *ctx)
 
void big7seg_write_data_number (big7seg_t *ctx, uint8_t display_number)
 
void big7seg_write_data_character (big7seg_t *ctx, char display_char)
 

Detailed Description

This file contains API for BIG 7-SEG Click driver.