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

PGPnLBLSTATレジスタ取得

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