---
title: hi_isp_cmos_sensor_mode
description: "定义Sensor模式寄存器。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/dvpp/aclcppdevg_03_0851.html
sourcePath: /source/zh/canncommercial/900/API/dvpp/aclcppdevg_03_0851.html
indexId: dc25ae2597daa9aab028d57021f31ccd594d80bf7a0effac7db891d4f0bf598c62
---
# hi_isp_cmos_sensor_mode

#### 说明

定义Sensor模式寄存器。


#### 定义

```
typedef struct {
hi_u32
sensor_id;
hi_u8
sensor_mode;
} hi_isp_cmos_sensor_mode;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| sensor\_id | Sensor ID。 |
| sensor\_mode | Sensor自定义工作模式，不同分辨率与帧率对应不同的工作模式。 |
