全てを折りたたみ
AG903ライブラリリファレンス
AG903_PgpPrmSetPGPnINTCLR 関数
pgpprm.c
PGP Primitive
Body Source
PGPnINTCLRレジスタ設定
Syntax
C++
void
AG903_PgpPrmSetPGPnINTCLR
(uint32_t
id
,
PGPPrmParamPGPnINTCLR
*
intclr
);
ファイル
pgpprm.c
引数
引数
説明
uint32_t id
[in] パイプライン番号
PGPPrmParamPGPnINTCLR * intclr
[in] PGPnINTCLRレジスタ設定値格納先
返値
void
説明
PGPnINTCLRレジスタ設定
本文ソース
コピコード
1:
void
AG903_PgpPrmSetPGPnINTCLR(uint32_t id,
PGPPrmParamPGPnINTCLR
*intclr) 2: { 3: uint32_t val; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(intclr != NULL); 7:
ASSERT
(!(intclr->nd & ~(0x1))); 8:
ASSERT
(!(intclr->voicpl & ~(0x1))); 9:
ASSERT
(!(intclr->vooflw & ~(0x1))); 10:
ASSERT
(!(intclr->ifcofs & ~(0x1))); 11:
ASSERT
(!(intclr->ifcofm & ~(0x1))); 12:
ASSERT
(!(intclr->lblcrpt & ~(0x1))); 13:
ASSERT
(!(intclr->lblcpl & ~(0x1))); 14:
ASSERT
(!(intclr->hgmicpl & ~(0x1))); 15:
ASSERT
(!(intclr->hgmcpl & ~(0x1))); 16:
ASSERT
(!(intclr->vsynco & ~(0x1))); 17:
ASSERT
(!(intclr->vlineo & ~(0x1))); 18:
ASSERT
(!(intclr->vsynci & ~(0x1))); 19:
ASSERT
(!(intclr->vlinei & ~(0x1))); 20: 21: val = (intclr->nd <<
AG903_PGPn_INTCLR_ND_POS
) 22: | (intclr->voicpl <<
AG903_PGPn_INTCLR_VOICPL_POS
) 23: | (intclr->vooflw <<
AG903_PGPn_INTCLR_VOOFLW_POS
) 24: | (intclr->ifcofs <<
AG903_PGPn_INTCLR_IFCOFS_POS
) 25: | (intclr->ifcofm <<
AG903_PGPn_INTCLR_IFCOFM_POS
) 26: | (intclr->lblcrpt <<
AG903_PGPn_INTCLR_LBLCRPT_POS
) 27: | (intclr->lblcpl <<
AG903_PGPn_INTCLR_LBLCPL_POS
) 28: | (intclr->hgmicpl <<
AG903_PGPn_INTCLR_HGMICPL_POS
) 29: | (intclr->hgmcpl <<
AG903_PGPn_INTCLR_HGMCPL_POS
) 30: | (intclr->vsynco <<
AG903_PGPn_INTCLR_VSYNCO_POS
) 31: | (intclr->vlineo <<
AG903_PGPn_INTCLR_VLINEO_POS
) 32: | (intclr->vsynci <<
AG903_PGPn_INTCLR_VSYNCI_POS
) 33: | (intclr->vlinei <<
AG903_PGPn_INTCLR_VLINEI_POS
); 34: 35:
AG903_PGPn
(id)->INTCLR = val; 36: }
グループ
PGP Primitive
リンク
pgpprm.c
,
PGP Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム