AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
AG903_ViaPrmSetVIACHDSETUP2 関数

VIA.CHD_SETUP2 レジスタ設定

Syntax
C++
void AG903_ViaPrmSetVIACHDSETUP2(uint32_t id, uint16_t bpf, uint16_t hue);
引数 
説明 
uint32_t id 
[in] チャンネル番号 
uint16_t bpf 
[in] BPFフィールド設定値 
uint16_t hue 
[in] HUEフィールド設定値 

void

VIA.CHD_SETUP2 を設定します。

1: void AG903_ViaPrmSetVIACHDSETUP2(uint32_t id, uint16_t bpf, uint16_t hue) 2: { 3: uint16_t val; 4: 5: ASSERT(id < AG903_VIA_PRM_MAX_PORTS); 6: ASSERT(!(bpf & ~(0x1))); 7: ASSERT(!(hue & ~(0xFF))); 8: 9: val = (bpf << AG903_VIA_CHD_SETUP2_BPF_POS) 10: | (hue << AG903_VIA_CHD_SETUP2_HUE_POS); 11: 12: AG903_SSCPrmWriteCmpstVideoDec(id, AG903_VIA_CHD_SETUP2, val); 13: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.