AG903ライブラリリファレンス
Body Source
AG903_PgpPrmGetPGPnHGMMOD2 関数
本文ソース
コピコード
1:
void
AG903_PgpPrmGetPGPnHGMMOD2(uint32_t id, uint32_t *bw, uint32_t *val, uint32_t *cnt) 2: { 3: uint32_t dat; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(bw != NULL); 7:
ASSERT
(val != NULL); 8:
ASSERT
(cnt != NULL); 9: 10: dat =
AG903_PGPn
(id)->HGMMOD2; 11: 12: *bw = (dat &
AG903_PGPn_HGMMOD2_BW_MSK
) >>
AG903_PGPn_HGMMOD2_BW_POS
; 13: *val = (dat &
AG903_PGPn_HGMMOD2_VAL_MSK
) >>
AG903_PGPn_HGMMOD2_VAL_POS
; 14: *cnt = (dat &
AG903_PGPn_HGMMOD2_CNT_MSK
) >>
AG903_PGPn_HGMMOD2_CNT_POS
; 15: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム