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