---
title: hi_mpi_isp_get_sns_slave_attr
description: "获取从模式sensor行场同步信号。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_0790.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_0790.html
indexId: c2a34e6e6e80e3a92552cc1d4c29a10719944536439efc8c05eccd54c59776ce105
---
# hi_mpi_isp_get_sns_slave_attr

#### 函数功能

获取从模式sensor行场同步信号。


#### 函数原型

hi_s32 hi_mpi_isp_get_sns_slave_attr(hi_slave_dev slave_dev, hi_isp_slave_sns_sync *sns_sync)


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| slave\_dev | 输入 | 从信号设备号。 |
| sns\_sync | 输出 | 同步信号配置。 |


#### 返回值说明

- 0：成功
- 非0：失败，参见  ISP返回码
。
