全てを折りたたみ
AG903ライブラリリファレンス
AG903_ViaPrmGetVIACHDSETUP2 関数
viaprm.c
VIA Primitive
Body Source
VIA.CHD_SETUP2 レジスタ取得
Syntax
C++
void
AG903_ViaPrmGetVIACHDSETUP2
(uint32_t
id
, uint16_t *
bpf
, uint16_t *
hue
);
ファイル
viaprm.c
引数
引数
説明
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: }
グループ
VIA Primitive
リンク
viaprm.c
,
VIA Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム