source file that creates all the threads More...
#include "AppGlobal.h"
Functions | |
void * | data_processing_func (void *arg) |
Function that processes all the IO-modules and valves real-time data. | |
void * | monitorLedTask (void *arg) |
void | lvgl_gui (void) |
function that waits for key press events & calls handle_display function | |
void | read_dv_fault_csv () |
Function that reads the fault data from CSV file & stores the same in the structure. | |
void | read_dv_warning_csv () |
Function that reads the warning data from CSV file & stores the same in the structure. | |
void | read_isem_warning_csv () |
Function that reads the isem_diag_warning data from CSV file & stores the same in the structure. | |
void | read_isem_fault_csv () |
Function that reads the ISEM diag fault data from CSV file & stores the same in the structure. | |
int | getModuleNumber (int index) |
int | getindexvalue (int index) |
void | disp_mod_status_screen (int status_value, int indx) |
function to create the status screen | |
void | my_perror (const char *__s) |
function that displays the initializations error | |
void | delay_ms (int ms) |
function that calls delay in milliseconds | |
void * | lvgl_state_machine (void *arg) |
function that calls lvgl state machine | |
void * | lvgl_run (void *arg) |
function that calls the LVGL GUI screens (entry point to display screens) | |
void * | screen_pop_up_func (void *arg) |
function that calls the screen pop up | |
void | default_main (void) |
default function to create threads and events | |
Variables | |
pthread_mutex_t | mutex |
int | G_KEY_PRESSED_EVENT |
int | G_POP_EVENT |
pthread_t | data_processing_thread |
pthread_t | screen_pop_up_thread |
pthread_t | thread_acquire |
pthread_t | lvgl_state_thread |
pthread_t | lvgl_run_thread |
pthread_t | thread_led |
int | g_status_value |
uint8_t | cur_disp_scr_index |
int | gg |
int | kk |
source file that creates all the threads
|
extern |
Function that processes all the IO-modules and valves real-time data.
void default_main | ( | void | ) |
default function to create threads and events
none |
void delay_ms | ( | int | ms | ) |
function that calls delay in milliseconds
ms | - millisecond value |
|
extern |
function to create the status screen
status_value | - (0 - normal, 1 - warning, 2 - fault) |
|
extern |
|
extern |
|
extern |
function that waits for key press events & calls handle_display function
None |
void * lvgl_run | ( | void * | arg | ) |
function that calls the LVGL GUI screens (entry point to display screens)
none |
void * lvgl_state_machine | ( | void * | arg | ) |
function that calls lvgl state machine
none |
|
extern |
void my_perror | ( | const char * | __s | ) |
function that displays the initializations error
s | - string message |
|
extern |
Function that reads the fault data from CSV file & stores the same in the structure.
None |
|
extern |
Function that reads the warning data from CSV file & stores the same in the structure.
None |
|
extern |
Function that reads the ISEM diag fault data from CSV file & stores the same in the structure.
None |
|
extern |
Function that reads the isem_diag_warning data from CSV file & stores the same in the structure.
None |
void * screen_pop_up_func | ( | void * | arg | ) |
function that calls the screen pop up
none |
|
extern |
pthread_t data_processing_thread |
int G_KEY_PRESSED_EVENT |
int G_POP_EVENT |
|
extern |
int gg |
int kk |
pthread_t lvgl_run_thread |
pthread_t lvgl_state_thread |
pthread_mutex_t mutex |
pthread_t screen_pop_up_thread |
pthread_t thread_acquire |
pthread_t thread_led |