全てを折りたたみ
AG903ライブラリリファレンス
AG903_PgpPrmSetPGPnIFCCTRL 関数
pgpprm.c
PGP Primitive
Body Source
PGPnIFCCTRLレジスタ設定
Syntax
C++
void
AG903_PgpPrmSetPGPnIFCCTRL
(uint32_t
id
,
PGPPrmParamPGPnIFCCTRL
*
ifcctrl
);
ファイル
pgpprm.c
引数
引数
説明
uint32_t id
[in] パイプライン番号
PGPPrmParamPGPnIFCCTRL * ifcctrl
[in] PGPnIFCCTRLレジスタ設定値格納先
返値
void
説明
PGPnIFCCTRLレジスタ設定
本文ソース
コピコード
1:
void
AG903_PgpPrmSetPGPnIFCCTRL(uint32_t id,
PGPPrmParamPGPnIFCCTRL
*ifcctrl) 2: { 3: uint32_t val; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(ifcctrl != NULL); 7:
ASSERT
(!(ifcctrl->scan & ~(0x1))); 8:
ASSERT
(!(ifcctrl->limit & ~(0x3))); 9:
ASSERT
(!(ifcctrl->src & ~(0x3))); 10:
ASSERT
(!(ifcctrl->op & ~(0x7))); 11:
ASSERT
(!(ifcctrl->sft1 & ~(0x7))); 12:
ASSERT
(!(ifcctrl->sft0 & ~(0x7))); 13: 14: val = (ifcctrl->scan <<
AG903_PGPn_IFCCTRL_SCAN_POS
) 15: | (ifcctrl->limit <<
AG903_PGPn_IFCCTRL_LIMIT_POS
) 16: | (ifcctrl->src <<
AG903_PGPn_IFCCTRL_SRC_POS
) 17: | (ifcctrl->op <<
AG903_PGPn_IFCCTRL_OP_POS
) 18: | (ifcctrl->sft1 <<
AG903_PGPn_IFCCTRL_SFT1_POS
) 19: | (ifcctrl->sft0 <<
AG903_PGPn_IFCCTRL_SFT0_POS
); 20: 21:
AG903_PGPn
(id)->IFCCTRL = val; 22: }
グループ
PGP Primitive
リンク
pgpprm.c
,
PGP Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム