yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /**
|
| 2 | * @file upi_sync_system.h
|
| 3 | * @brief AB-AAϵͳͬ²½
|
| 4 | *
|
| 5 | * Copyright (C) 2017 Sanechips Technology Co., Ltd.
|
| 6 | * @author
|
| 7 | *
|
| 8 | */
|
| 9 |
|
| 10 |
|
| 11 | #ifndef _UPI_SYNC_SYSTEM_H
|
| 12 | #define _UPI_SYNC_SYSTEM_H
|
| 13 |
|
| 14 |
|
| 15 | /*******************************************************************************
|
| 16 | * Include header files *
|
| 17 | ******************************************************************************/
|
| 18 |
|
| 19 |
|
| 20 | /*******************************************************************************
|
| 21 | * Macro definitions *
|
| 22 | ******************************************************************************/
|
| 23 |
|
| 24 |
|
| 25 | /*******************************************************************************
|
| 26 | * Type definitions *
|
| 27 | ******************************************************************************/
|
| 28 | typedef enum {
|
| 29 | SYNC_STATUS_FAIL = -1,
|
| 30 | SYNC_STATUS_SUCCESS = 0,
|
| 31 | SYNC_STATUS_SYNCING
|
| 32 | } sync_status_t;
|
| 33 |
|
| 34 |
|
| 35 | /*******************************************************************************
|
| 36 | * Global variable declarations *
|
| 37 | ******************************************************************************/
|
| 38 |
|
| 39 |
|
| 40 | /*******************************************************************************
|
| 41 | * Global function declarations *
|
| 42 | ******************************************************************************/
|
| 43 | int upi_sync_system();
|
| 44 |
|
| 45 | int upi_get_upgrade_type();
|
| 46 |
|
| 47 |
|
| 48 | #endif // _UPI_SYNC_SYSTEM_H
|