/*
 * global.h
 *
 *  Created on: 2024Äê5ÔÂ28ÈÕ
 *      Author:
 */

#ifndef APP_GLOBAL_H_
#define APP_GLOBAL_H_

// **************************************************************************************
// Includes
// ***************************************************************************************
#include"isr.h"
#include"F28x_Project.h"
#include"sogi.h"
#include"CLA1_Config.h"
#include "CLAmath.h"
 #include"F2837xD_Cla_defines.h"

// **************************************************************************************
// Global variables extern
// **************************************************************************************
extern uint32_t count;
extern uint32_t index;
extern uint16_t sinetable[125];
extern uint16_t adc1;
extern uint16_t adc2;

extern uint16_t plot[400];
extern uint16_t *adc;

extern SPLL_SOGI v_pll;



extern SPLL_SOGI cla1_pll;

extern float vrede;
extern float vrede_CLA;
extern float phase;
extern float ampl;
extern float vrede;
extern float vsync;
extern float phase_CLA;
extern float ampl_CLA;
extern float plot1[400], plot2[400];
extern float*padc1;
extern float*padc2;

extern uint16_t tripevent;
extern uint32_t count_general;
extern uint32_t CMD_RESET_PWM;
#endif /* APP_GLOBAL_H_ */
