AG903ライブラリリファレンス
Body Source
AG903_PgpPrmGetPGPnPOS 関数
本文ソース
コピコード
1:
void
AG903_PgpPrmGetPGPnPOS(uint32_t id,
PGPPrmParamPGPnPOS
*pos) 2: { 3: uint32_t val; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(pos != NULL); 7: 8: val =
AG903_PGPn
(id)->POS; 9: 10: pos->epos = (val &
AG903_PGPn_POS_EPOS_MSK
) >>
AG903_PGPn_POS_EPOS_POS
; 11: pos->opos = (val &
AG903_PGPn_POS_OPOS_MSK
) >>
AG903_PGPn_POS_OPOS_POS
; 12: pos->scan = (val &
AG903_PGPn_POS_SCAN_MSK
) >>
AG903_PGPn_POS_SCAN_POS
; 13: pos->vpos = (val &
AG903_PGPn_POS_VPOS_MSK
) >>
AG903_PGPn_POS_VPOS_POS
; 14: pos->hpos = (val &
AG903_PGPn_POS_HPOS_MSK
) >>
AG903_PGPn_POS_HPOS_POS
; 15: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム