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