全てを折りたたみ
AG903ライブラリリファレンス
AG903_PgpPrmGetPGPnHGMSTAT 関数
pgpprm.c
PGP Primitive
Body Source
PGPnHGMSTATレジスタ取得
Syntax
C++
void
AG903_PgpPrmGetPGPnHGMSTAT
(uint32_t
id
,
PGPPrmParamPGPnHGMSTAT
*
stat
);
ファイル
pgpprm.c
引数
引数
説明
uint32_t id
[in] パイプライン番号
PGPPrmParamPGPnHGMSTAT * stat
[out] PGPnHGMSTATレジスタ取得値格納先
返値
void
説明
PGPnHGMSTATレジスタ取得
本文ソース
コピコード
1:
void
AG903_PgpPrmGetPGPnHGMSTAT(uint32_t id,
PGPPrmParamPGPnHGMSTAT
*stat) 2: { 3: uint32_t val; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(stat != NULL); 7: 8: val =
AG903_PGPn
(id)->HGMSTAT; 9: 10: stat->init = (val &
AG903_PGPn_HGMSTAT_INIT_MSK
) >>
AG903_PGPn_HGMSTAT_INIT_POS
; 11: stat->vrmacc = (val &
AG903_PGPn_HGMSTAT_VRMACC_MSK
) >>
AG903_PGPn_HGMSTAT_VRMACC_POS
; 12: stat->act = (val &
AG903_PGPn_HGMSTAT_ACT_MSK
) >>
AG903_PGPn_HGMSTAT_ACT_POS
; 13: stat->queue = (val &
AG903_PGPn_HGMSTAT_QUEUE_MSK
) >>
AG903_PGPn_HGMSTAT_QUEUE_POS
; 14: stat->cmd = (val &
AG903_PGPn_HGMSTAT_CMD_MSK
) >>
AG903_PGPn_HGMSTAT_CMD_POS
; 15: }
グループ
PGP Primitive
リンク
pgpprm.c
,
PGP Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム