Arrow3-MBN-APP
 
Loading...
Searching...
No Matches
pin_screen.c File Reference

Source that displays pin screen. More...

#include <AppGlobal.h>
Include dependency graph for pin_screen.c:

Functions

void disp_mod_pin_screen (int pin_buf[], int index)
 Function to display pin screen.
 
void pin_style ()
 Function to initialize pin screen styles.
 
void disp_pin_correct_details ()
 Function to print "PIN MATCHED".
 
void Incrementpin1 (int pin_buf[], int index)
 Function to display pin screen in caret mode.
 
void disp_mod_pin_screen_wrap (int pin_buf[], int index)
 Function to display pin screen to wrap.
 
void common_label_creation (lv_obj_t *screen_name, const char *text, lv_coord_t x, lv_coord_t y, const lv_font_t *font_name, uint32_t font_colour)
 function to create the pin labels
 
void stop_flashing_timer ()
 function to stop the flashing timer
 

Variables

int flash_on
 
lv_obj_t * pin_label
 
lv_obj_t * label_pin
 
lv_obj_t * label1_pin
 
lv_obj_t * pin0_label
 
lv_obj_t * pin1_label
 
lv_obj_t * pin2_label
 
lv_obj_t * pin3_label
 
lv_obj_t * pin_corr_label
 

Detailed Description

Source that displays pin screen.

Function Documentation

◆ common_label_creation()

void common_label_creation ( lv_obj_t * screen_name,
const char * text,
lv_coord_t x,
lv_coord_t y,
const lv_font_t * font_name,
uint32_t font_colour )
extern

function to create the pin labels

Parameters
screen_name- screen name
text- text to be displayed on the screen
x- x axis alignment of the label
y- y axis alignment of the label
w- width of the label
h- height of the label
font_name- font name (Monospace821 BT)
font_color- font color (white or black)
Here is the caller graph for this function:

◆ disp_mod_pin_screen()

void disp_mod_pin_screen ( int pin_buf[],
int index )

Function to display pin screen.

Parameters
pin_buf[]: default pin values, index : pin_index value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_pin_screen_wrap()

void disp_mod_pin_screen_wrap ( int pin_buf[],
int index )

Function to display pin screen to wrap.

Parameters
pin_buf[]: default pin values, index : pin_index value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_pin_correct_details()

void disp_pin_correct_details ( )

Function to print "PIN MATCHED".

Parameters
None
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Incrementpin1()

void Incrementpin1 ( int pin_buf[],
int index )

Function to display pin screen in caret mode.

Parameters
pin_buf[]: default pin values, index : pin_index value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pin_style()

void pin_style ( )

Function to initialize pin screen styles.

Parameters
None
Here is the caller graph for this function:

◆ stop_flashing_timer()

void stop_flashing_timer ( )
extern

function to stop the flashing timer

Parameters
none
Here is the caller graph for this function:

Variable Documentation

◆ flash_on

int flash_on
extern

◆ label1_pin

lv_obj_t* label1_pin

◆ label_pin

lv_obj_t* label_pin

◆ pin0_label

lv_obj_t* pin0_label

◆ pin1_label

lv_obj_t* pin1_label

◆ pin2_label

lv_obj_t* pin2_label

◆ pin3_label

lv_obj_t* pin3_label

◆ pin_corr_label

lv_obj_t* pin_corr_label

◆ pin_label

lv_obj_t* pin_label