全てを折りたたみ
AG903ライブラリリファレンス
AG903_DSPMgrClearStat 関数
dspmgr.c
DSP Manager
Body Source
回路エラー状態クリア
Syntax
C++
int32_t
AG903_DSPMgrClearStat
(
AG903_DSPMgrHandle
*
handle
,
AG903_DSPMgrStat
*
stat
);
ファイル
dspmgr.c
引数
引数
説明
AG903_DSPMgrHandle * handle
[in] DSPハンドル
AG903_DSPMgrStat * stat
[out] 回路状態
返値
エラーコード
返値の詳細
返値の詳細
説明
AG903_ENONE
正常終了
-AG903_EINVAL
パラメータ異常
説明
各エラー要因をクリアします.
statの次のメンバをすべて設定して下さい.
errclr_line
errclr_ue
errclr_le
errclr_pe
本文ソース
コピコード
1: int32_t AG903_DSPMgrClearStat(
AG903_DSPMgrHandle
*handle,
AG903_DSPMgrStat
*stat) 2: { 3: int32_t rc =
AG903_ENONE
; 4: uint8_t ch; 5: 6:
if
((handle == NULL) || (stat == NULL)) 7:
return
-
AG903_EINVAL
; 8: 9: rc = DSPMgrCheckHandle(handle, &ch); 10: 11:
if
(rc ==
AG903_ENONE
) { 12:
DSPPrmParamERRCLR
errclr; 13: errclr.line = stat->errclr_line; 14: errclr.ue = stat->errclr_ue; 15: errclr.le = stat->errclr_le; 16: errclr.pe = stat->errclr_pe; 17:
AG903_DSPPrmSetERRCLR
(ch, &errclr); 18: } 19: 20:
return
rc; 21: }
グループ
DSP Manager
リンク
dspmgr.c
,
DSP Manager
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム