65 lines
2.2 KiB
C
65 lines
2.2 KiB
C
/**
|
|
******************************************************************************
|
|
* @file task_manager.h
|
|
* @author AMG Energy Solution Team
|
|
* @version V1.0.0
|
|
* @date 07-Feb-2022
|
|
* @brief This file provides all the headers of AFE communication functions.
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
|
|
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
|
|
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
|
|
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
|
|
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
|
|
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
|
|
*
|
|
* <h2><center>© COPYRIGHT 2022 AMG</center></h2>
|
|
******************************************************************************
|
|
*/
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef _AFE_COMM_H_
|
|
#define _AFE_COMM_H_
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
#include "hc32_ddl.h"
|
|
|
|
/* Exported types ------------------------------------------------------------*/
|
|
/* Exported constants --------------------------------------------------------*/
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
/* Exported functions ------------------------------------------------------- */
|
|
|
|
void App_TaskAfeComm(void);
|
|
|
|
void ODisplayBalancingValue(uint8_t p);
|
|
void DDisplay_Pl455Comm(uint8_t p);
|
|
|
|
void dec_cb_tick(uint16_t tick);
|
|
|
|
void dec_cb_tick(uint16_t tick);
|
|
void clear_cb_value(void);
|
|
|
|
uint8_t GetCB_Rest(void);
|
|
|
|
uint16_t GetBalanceAvg(void);
|
|
uint16_t GetBalanceFlag(void);
|
|
|
|
void inc_afe_bufftime(uint32_t tick);
|
|
|
|
uint32_t GetOneBuffTime(void);
|
|
uint32_t GetAllBuffTime(void);
|
|
|
|
void SetManualBalancing(uint8_t mode, uint8_t flag, uint32_t cNo);
|
|
|
|
void SetPl455_ShutDownFlag(uint8_t flag);
|
|
|
|
void AfemodeScreen(void);
|
|
void AfeDisplayStatus(uint8_t p);
|
|
int8_t Process_DataAfeModeSet(uint8_t *text, uint16_t size);
|
|
|
|
#endif
|
|
|
|
/*******************(C)COPYRIGHT 2022 AMG ********************END OF FILE******/
|