/*
 * AppExterns.h
 *
 *  Created on: Jun 7, 2025
 *      Author: tummalanr
 */

#ifndef SRC_APPEXTERNS_H_
#define SRC_APPEXTERNS_H_

#include "AppGlobal.h"

//BoardInit_Task.c
//Discovery GPIO Position trigger variables
extern uint32_t posin_pinNum, posout_pinNum;
//GPIO Position trigger variables from MCU_GPIO in Group-1 Boards
extern uint32_t mcugpioBaseAddr_posin, mcugpioBaseAddr_posout;
extern uint32_t mcuposin_pinNum, mcuposout_pinNum;

extern EventGroupHandle_t xAppStatusEventGroup;           //Event Group for App Sts used in  Tasks.


//AppUtils.c
extern void gpio_position_trigger(void);
extern uint8_t gpio_position_read(void);
extern AppRET_T AppSWTimer_Create(void);

extern uint8_t			emcy_msg_monitorindex;

//cpu_ti_am64x.c
extern void coredrvTimerISR( void);

//AppMCan.h
extern uint8_t  App_Line0_ConnSts;
extern uint8_t  App_Line1_ConnSts;
extern uint8_t ModuleOperationState;

//BoardInit.h
extern uint8_t      SystemOperationMode;
extern uint32_t     canmbnposterr;

#endif /* SRC_APPEXTERNS_H_ */
