全てを折りたたみ
AG903ライブラリリファレンス
AG903_PgpPrmSetPGPnPOS 関数
pgpprm.c
PGP Primitive
Body Source
PGPnPOSレジスタ設定
Syntax
C++
void
AG903_PgpPrmSetPGPnPOS
(uint32_t
id
,
PGPPrmParamPGPnPOS
*
pos
);
ファイル
pgpprm.c
引数
引数
説明
uint32_t id
[in] パイプライン番号
PGPPrmParamPGPnPOS * pos
[in] PGPnPOSレジスタ設定値格納先
返値
void
説明
PGPnPOSレジスタ設定
本文ソース
コピコード
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: }
グループ
PGP Primitive
リンク
pgpprm.c
,
PGP Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム