c7x10r 2.0.0.0
|
Functions | |
void | c7x10r_cfg_setup (c7x10r_cfg_t *cfg) |
Config Object Initialization function. | |
c7x10r_return_value_t | c7x10r_init (c7x10r_t *ctx, c7x10r_cfg_t *cfg) |
Initialization function. | |
void | c7x10r_display_process (c7x10r_t *ctx, uint8_t *frame, uint16_t disp_delay) |
Display process (function). | |
void | c7x10r_draw_pixel (c7x10r_t *ctx, c7x10r_pixel_t *pixel, uint8_t mode, uint8_t px_delay) |
Draw pixel (function). | |
void | c7x10r_draw_char (c7x10r_t *ctx, char ch, uint8_t pos, uint8_t ch_delay) |
Draw char (function). | |
void | c7x10r_draw_number (c7x10r_t *ctx, uint8_t num, uint16_t num_delay) |
Draw number (function). | |
void c7x10r_cfg_setup | ( | c7x10r_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
void c7x10r_display_process | ( | c7x10r_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. |
void c7x10r_draw_char | ( | c7x10r_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. |
void c7x10r_draw_number | ( | c7x10r_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. |
void c7x10r_draw_pixel | ( | c7x10r_t * | ctx, |
c7x10r_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. |
c7x10r_return_value_t c7x10r_init | ( | c7x10r_t * | ctx, |
c7x10r_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.