AG903ライブラリリファレンス
Body Source
AG903_PgpPrmSetPGPnOUTCTRL0 関数
本文ソース
コピコード
1:
void
AG903_PgpPrmSetPGPnOUTCTRL0(uint32_t id,
PGPPrmParamPGPnOUTCTRL0
*outctrl0) 2: { 3: uint32_t val; 4: 5:
ASSERT
(id <
AG903_PGP_PRM_MAX_PIPELINE
); 6:
ASSERT
(outctrl0 != NULL); 7:
ASSERT
(!(outctrl0->pad & ~(0xFF))); 8:
ASSERT
(!(outctrl0->limit & ~(0x1))); 9:
ASSERT
(!(outctrl0->fai & ~(0x1))); 10:
ASSERT
(!(outctrl0->dth & ~(0x1))); 11:
ASSERT
(!(outctrl0->bmu & ~(0x3))); 12:
ASSERT
(!(outctrl0->scan & ~(0x1))); 13:
ASSERT
(!(outctrl0->dim & ~(0x1))); 14:
ASSERT
(!(outctrl0->swapw & ~(0x1))); 15:
ASSERT
(!(outctrl0->swaph & ~(0x1))); 16:
ASSERT
(!(outctrl0->swap4 & ~(0x1))); 17:
ASSERT
(!(outctrl0->swap1 & ~(0x1))); 18:
ASSERT
(!(outctrl0->md & ~(0x7))); 19:
ASSERT
(!(outctrl0->fmt & ~(0xF))); 20: 21: val = (outctrl0->pad <<
AG903_PGPn_OUTCTRL0_PAD_POS
) 22: | (outctrl0->limit <<
AG903_PGPn_OUTCTRL0_LIMIT_POS
) 23: | (outctrl0->fai <<
AG903_PGPn_OUTCTRL0_FAI_POS
) 24: | (outctrl0->dth <<
AG903_PGPn_OUTCTRL0_DTH_POS
) 25: | (outctrl0->bmu <<
AG903_PGPn_OUTCTRL0_BMU_POS
) 26: | (outctrl0->scan <<
AG903_PGPn_OUTCTRL0_SCAN_POS
) 27: | (outctrl0->dim <<
AG903_PGPn_OUTCTRL0_DIM_POS
) 28: | (outctrl0->swapw <<
AG903_PGPn_OUTCTRL0_SWAPW_POS
) 29: | (outctrl0->swaph <<
AG903_PGPn_OUTCTRL0_SWAPH_POS
) 30: | (outctrl0->swap4 <<
AG903_PGPn_OUTCTRL0_SWAP4_POS
) 31: | (outctrl0->swap1 <<
AG903_PGPn_OUTCTRL0_SWAP1_POS
) 32: | (outctrl0->md <<
AG903_PGPn_OUTCTRL0_MD_POS
) 33: | (outctrl0->fmt <<
AG903_PGPn_OUTCTRL0_FMT_POS
); 34: 35:
AG903_PGPn
(id)->OUTCTRL0 = val; 36: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム