全てを折りたたみ
AG903ライブラリリファレンス
AG903_DSPMgrGetIntStat 関数
dspmgr.c
DSP Manager
Body Source
割込み状態取得
Syntax
C++
int32_t
AG903_DSPMgrGetIntStat
(
AG903_DSPMgrHandle
*
handle
,
AG903_DSPMgrIntStat
*
stat
);
ファイル
dspmgr.c
引数
引数
説明
AG903_DSPMgrHandle * handle
[in] DSPハンドル
AG903_DSPMgrIntStat * stat
[in] 割込み状態
返値
エラーコード
返値の詳細
返値の詳細
説明
AG903_ENONE
正常終了
-AG903_EINVAL
パラメータ異常
説明
表示割り込みの状態を取得します.
本文ソース
コピコード
1: int32_t AG903_DSPMgrGetIntStat(
AG903_DSPMgrHandle
*handle,
AG903_DSPMgrIntStat
*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:
DSPPrmParamINTSTAT
intstat; 13:
AG903_DSPPrmGetINTSTAT
(ch, &intstat); 14: stat->int_vt_blank = intstat.vblk; 15: stat->int_hrz_line = intstat.hline; 16: stat->int_dspoff = intstat.doff; 17: stat->dreq = intstat.dreq; 18: } 19: 20:
return
rc; 21: }
グループ
DSP Manager
リンク
dspmgr.c
,
DSP Manager
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム