AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
AG903_PgpPrmGetPGPnHGMSTAT 関数

PGPnHGMSTATレジスタ取得

Syntax
C++
void AG903_PgpPrmGetPGPnHGMSTAT(uint32_t id, PGPPrmParamPGPnHGMSTAT * stat);
引数 
説明 
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: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.