全てを折りたたみ
AG903ライブラリリファレンス
AG903_PgpPrmGetPGPnLBLSTAT 関数
pgpprm.c
PGP Primitive
Body Source
PGPnLBLSTATレジスタ取得
Syntax
C++
void
AG903_PgpPrmGetPGPnLBLSTAT
(uint32_t
id
,
PGPPrmParamPGPnLBLSTAT
*
lblstat
);
ファイル
pgpprm.c
引数
引数
説明
uint32_t id
[in] パイプライン番号
PGPPrmParamPGPnLBLSTAT * lblstat
[out] PGPnLBLSTATレジスタ取得値格納先
返値
void
説明
PGPnLBLSTATレジスタ取得
本文ソース
コピコード
1:
void
AG903_PgpPrmGetPGPnLBLSTAT(uint32_t id,
PGPPrmParamPGPnLBLSTAT
*lblstat) 2: { 3: uint32_t val; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(lblstat != NULL); 7: 8: val =
AG903_PGPn
(id)->LBLSTAT; 9: 10: lblstat->l_id = (val &
AG903_PGPn_LBLSTAT_ID_MSK
) >>
AG903_PGPn_LBLSTAT_ID_POS
; 11: lblstat->vrmacc = (val &
AG903_PGPn_LBLSTAT_VRMACC_MSK
) >>
AG903_PGPn_LBLSTAT_VRMACC_POS
; 12: lblstat->act = (val &
AG903_PGPn_LBLSTAT_ACT_MSK
) >>
AG903_PGPn_LBLSTAT_ACT_POS
; 13: lblstat->queue = (val &
AG903_PGPn_LBLSTAT_QUEUE_MSK
) >>
AG903_PGPn_LBLSTAT_QUEUE_POS
; 14: lblstat->cmd = (val &
AG903_PGPn_LBLSTAT_CMD_MSK
) >>
AG903_PGPn_LBLSTAT_CMD_POS
; 15: }
グループ
PGP Primitive
リンク
pgpprm.c
,
PGP Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム