AG903ライブラリリファレンス
Body Source
AG903_ViaPrmSetVIACHDSETUP5 関数
本文ソース
コピコード
1:
void
AG903_ViaPrmSetVIACHDSETUP5(uint32_t id,
VIAPrmParamVIACHDSETUP5
*setup) 2: { 3: uint16_t val; 4: 5:
ASSERT
(id <
AG903_VIA_PRM_MAX_PORTS
); 6:
ASSERT
(setup != NULL); 7:
ASSERT
(!(setup->cbpllulth & ~(0x3F))); 8:
ASSERT
(!(setup->cbpllulsv & ~(0x3))); 9:
ASSERT
(!(setup->agcgainspd & ~(0x3))); 10:
ASSERT
(!(setup->agcofstspd & ~(0x3))); 11:
ASSERT
(!(setup->agcpos & ~(0x1))); 12:
ASSERT
(!(setup->agcpal & ~(0x1))); 13:
ASSERT
(!(setup->agcgainen & ~(0x1))); 14:
ASSERT
(!(setup->agcofsten & ~(0x1))); 15: 16: val = (setup->cbpllulth <<
AG903_VIA_CHD_SETUP5_CBPLLULTH_POS
) 17: | (setup->cbpllulsv <<
AG903_VIA_CHD_SETUP5_CBPLLULSV_POS
) 18: | (setup->agcgainspd <<
AG903_VIA_CHD_SETUP5_AGCGAINSPD_POS
) 19: | (setup->agcofstspd <<
AG903_VIA_CHD_SETUP5_AGCOFSTSPD_POS
) 20: | (setup->agcpos <<
AG903_VIA_CHD_SETUP5_AGCPOS_POS
) 21: | (setup->agcpal <<
AG903_VIA_CHD_SETUP5_AGCPAL_POS
) 22: | (setup->agcgainen <<
AG903_VIA_CHD_SETUP5_AGCGAINEN_POS
) 23: | (setup->agcofsten <<
AG903_VIA_CHD_SETUP5_AGCOFSTEN_POS
); 24: 25:
AG903_SSCPrmWriteCmpstVideoDec
(id,
AG903_VIA_CHD_SETUP5
, val); 26: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム