big7seg 2.0.0.0
Public function

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

Function Documentation

◆ big7seg_cfg_setup()

void big7seg_cfg_setup ( big7seg_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ big7seg_display_off()

void big7seg_display_off ( big7seg_t * ctx)

@breif Turn OFF BIG 7-SEG display

Parameters
ctxClick object.

@description Function disable BIG 7-SEG display

◆ big7seg_display_on()

void big7seg_display_on ( big7seg_t * ctx)

@breif Turn ON BIG 7-SEG display

Parameters
ctxClick object.

@description Function enable BIG 7-SEG display

◆ big7seg_generic_transfer()

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.

Parameters
ctxClick object.
wr_bufWrite data buffer
wr_lenNumber of byte in write data buffer
rd_bufRead data buffer
rd_lenNumber of byte in read data buffer

@description Generic SPI transfer, for sending and receiving packages

◆ big7seg_init()

BIG7SEG_RETVAL big7seg_init ( big7seg_t * ctx,
big7seg_cfg_t * cfg )

Initialization function.

Parameters
big7segClick object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ big7seg_reset7seg()

void big7seg_reset7seg ( big7seg_t * ctx)

@breif Function reset BIG 7-SEG

Parameters
ctxClick object.

@description Function reset BIG 7-SEG display

◆ big7seg_set7seg()

void big7seg_set7seg ( big7seg_t * ctx)

@breif Function set BIG 7-SEG

Parameters
ctxClick object.

@description Function set BIG 7-SEG display

◆ big7seg_write_data()

void big7seg_write_data ( big7seg_t * ctx,
uint8_t write_data )

@breif Generic write data function

Parameters
ctxClick object.
write_dataData to write

@description Function will write number on BIG 7-SEG display

◆ big7seg_write_data_character()

void big7seg_write_data_character ( big7seg_t * ctx,
char display_char )

@breif Function write character

Parameters
ctxClick object.
display_char

@description Function write character on BIG 7-SEG display

◆ big7seg_write_data_number()

void big7seg_write_data_number ( big7seg_t * ctx,
uint8_t display_number )

@breif Function write number

Parameters
ctxClick object.
display_number

@description Function write number on BIG 7-SEG display