c7x10g 2.0.0.0
Public function

Functions

void c7x10g_cfg_setup (c7x10g_cfg_t *cfg)
 Config Object Initialization function.
 
c7x10g_return_value_t c7x10g_init (c7x10g_t *ctx, c7x10g_cfg_t *cfg)
 Initialization function.
 
void c7x10g_display_process (c7x10g_t *ctx, uint8_t *frame, uint16_t disp_delay)
 Display process (function).
 
void c7x10g_draw_pixel (c7x10g_t *ctx, c7x10g_pixel_t *pixel, uint8_t mode, uint8_t px_delay)
 Draw pixel (function).
 
void c7x10g_draw_char (c7x10g_t *ctx, char ch, uint8_t pos, uint8_t ch_delay)
 Draw char (function).
 
void c7x10g_draw_number (c7x10g_t *ctx, uint8_t num, uint16_t num_delay)
 Draw number (function).
 

Detailed Description

Function Documentation

◆ c7x10g_cfg_setup()

void c7x10g_cfg_setup ( c7x10g_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.

◆ c7x10g_display_process()

void c7x10g_display_process ( c7x10g_t * ctx,
uint8_t * frame,
uint16_t disp_delay )

Display process (function).

Parameters
ctxClick object.
frameFrame buffer (14 bytes).
disp_delayDelay in ms per one display.

@description Drawing the frame on the display.

◆ c7x10g_draw_char()

void c7x10g_draw_char ( c7x10g_t * ctx,
char ch,
uint8_t pos,
uint8_t ch_delay )

Draw char (function).

Parameters
ctxClick object.
chCharacter from the font that is drawn on the screen.
posCharacter position (Left or Right) with refresh mode selection
ch_delayDelay in ms per one display.

@description Drawing the character on the display.

◆ c7x10g_draw_number()

void c7x10g_draw_number ( c7x10g_t * ctx,
uint8_t num,
uint16_t num_delay )

Draw number (function).

Parameters
ctxClick object.
numNumber from the font that is drawn on the screen.(Number is from 0 to 99)
num_delayDelay in ms per one display.

@description Drawing the number on the display.

◆ c7x10g_draw_pixel()

void c7x10g_draw_pixel ( c7x10g_t * ctx,
c7x10g_pixel_t * pixel,
uint8_t mode,
uint8_t px_delay )

Draw pixel (function).

Parameters
ctxClick object.
pixelPixel structure (pixel coordinate forwarding).
px_delayDelay in ms per one display.

@description Drawing the pixel on the display.

◆ c7x10g_init()

c7x10g_return_value_t c7x10g_init ( c7x10g_t * ctx,
c7x10g_cfg_t * cfg )

Initialization function.

Parameters
ctxClick object.
cfgClick configuration structure.

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