|
7x10g 2.2.0
|
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). | |
| void c7x10g_cfg_setup | ( | c7x10g_cfg_t * | cfg | ) |
Config Object Initialization function.
| cfg | Click configuration structure. |
@description This function initializes Click configuration structure to init state.
| void c7x10g_display_process | ( | c7x10g_t * | ctx, |
| uint8_t * | frame, | ||
| uint16_t | disp_delay ) |
Display process (function).
| ctx | Click object. |
| frame | Frame buffer (14 bytes). |
| disp_delay | Delay in ms per one display. |
@description Drawing the frame on the display.
| void c7x10g_draw_char | ( | c7x10g_t * | ctx, |
| char | ch, | ||
| uint8_t | pos, | ||
| uint8_t | ch_delay ) |
Draw char (function).
| ctx | Click object. |
| ch | Character from the font that is drawn on the screen. |
| pos | Character position (Left or Right) with refresh mode selection |
| ch_delay | Delay in ms per one display. |
@description Drawing the character on the display.
| void c7x10g_draw_number | ( | c7x10g_t * | ctx, |
| uint8_t | num, | ||
| uint16_t | num_delay ) |
Draw number (function).
| ctx | Click object. |
| num | Number from the font that is drawn on the screen.(Number is from 0 to 99) |
| num_delay | Delay in ms per one display. |
@description Drawing the number on the display.
| void c7x10g_draw_pixel | ( | c7x10g_t * | ctx, |
| c7x10g_pixel_t * | pixel, | ||
| uint8_t | mode, | ||
| uint8_t | px_delay ) |
Draw pixel (function).
| ctx | Click object. |
| pixel | Pixel structure (pixel coordinate forwarding). |
| px_delay | Delay in ms per one display. |
@description Drawing the pixel on the display.
| c7x10g_return_value_t c7x10g_init | ( | c7x10g_t * | ctx, |
| c7x10g_cfg_t * | cfg ) |
Initialization function.
| ctx | Click object. |
| cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this Click.