AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: void AG903_ViaPrmSetVIACHDSETUP3(uint32_t id, VIAPrmParamVIACHDSETUP3 *setup) 2: { 3: uint16_t val; 4: 5: ASSERT(id < AG903_VIA_PRM_MAX_PORTS); 6: ASSERT(setup != NULL); 7: ASSERT(!(setup->agcen & ~(0x1))); 8: ASSERT(!(setup->accov & ~(0x3F))); 9: ASSERT(!(setup->acctc & ~(0x3))); 10: ASSERT(!(setup->accmark & ~(0x3F))); 11: 12: val = (setup->agcen << AG903_VIA_CHD_SETUP3_AGCEN_POS) 13: | (setup->accov << AG903_VIA_CHD_SETUP3_ACCOV_POS) 14: | (setup->acctc << AG903_VIA_CHD_SETUP3_ACCTC_POS) 15: | (setup->accmark << AG903_VIA_CHD_SETUP3_ACCMARK_POS); 16: 17: AG903_SSCPrmWriteCmpstVideoDec(id, AG903_VIA_CHD_SETUP3, val); 18: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.