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

VIA.CHD_SETUP2 レジスタ取得

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

void

VIA.CHD_SETUP2 を取得します。

1: void AG903_ViaPrmGetVIACHDSETUP2(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 != NULL); 7: ASSERT(hue != NULL); 8: 9: AG903_SSCPrmReadCmpstVideoDec(id, AG903_VIA_CHD_SETUP2, &val); 10: 11: *bpf = (val & AG903_VIA_CHD_SETUP2_BPF_MSK) >> AG903_VIA_CHD_SETUP2_BPF_POS; 12: *hue = (val & AG903_VIA_CHD_SETUP2_HUE_MSK) >> AG903_VIA_CHD_SETUP2_HUE_POS; 13: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.