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