/**
  *****************************************************************************
  * @file    ufcs_main.h
  * @author  Solution Team
  * @version V1.00
  * @date    28-February-2023
  * @brief   UFCS main entry header file
  *****************************************************************************
  * @attention 
  *  Copyright (c) 2017 - 2023 Unicmicro Co., Ltd. 
  *  All Rights Reserved. 
  *****************************************************************************
  */
 
#ifndef __UFCS_MAIN_H_
#define __UFCS_MAIN_H_

#include "ufcs.h"

extern volatile u32_t gp_ufcs_dev_items[UFCS_DEV_ID_MAX];

#define UFCS_USBC_DEV       ((UFCS_DEV_t *)(gp_ufcs_dev_items[UFCS_DEV_ID_0]))
#define UFCS_USBA_DEV       ((UFCS_DEV_t *)(gp_ufcs_dev_items[UFCS_DEV_ID_1]))

/**
 * @description: UFCS模块初始化函数
 * @return void
 */
void ufcs_init(void);

/**
 * @description: UFCS模块入口函数，用户APP端需要循环调用
 * @return void
 */
void ufcs_main(void);


#endif /* #ifndef __UFCS_MAIN_H_ */

