AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
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.