---
title: hi_op_mode
description: "定义操作模式枚举。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0034.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0034.html
indexId: 2e9063e3392c4d965a296a646e8cb52a832fda479d36ce1c9b84fe994f236c4b65
---
# hi_op_mode

#### 说明

定义操作模式枚举。


#### 定义

```
typedef enum {
HI_OP_MODE_AUTO = 0,   // 自动模式，一般此模式使用程序内部的默认参数
HI_OP_MODE_MANUAL = 1    // 手动模式，一般此模式使用用户配置的参数
} hi_op_mode;
```
