全てを折りたたみ
AG903ライブラリリファレンス
AG903_DSPPrmSetFRMSIZE 関数
dspprm.c
DSP Primitive
Body Source
FRMSIZEレジスタへの書き込み.
Syntax
C++
void
AG903_DSPPrmSetFRMSIZE
(uint8_t
ch
, uint32_t
vfs
, uint32_t
hfs
);
ファイル
dspprm.c
引数
引数
説明
uint8_t ch
[in] DSPチャンネル (0-1)
uint32_t vfs
[in] 垂直表示幅
uint32_t hfs
[in] 水平表示幅
返値
void
説明
AG903_DSP->FRMSIZE にライトします.
本文ソース
コピコード
1:
void
AG903_DSPPrmSetFRMSIZE(uint8_t ch, uint32_t vfs, uint32_t hfs) 2: { 3:
ASSERT
(ch <
AG903_DSP_CH_NUM
); 4: 5: uint32_t reg = 0; 6: reg |= (vfs <<
AG903_DSPn_FRMSIZE_VFS_POS
) &
AG903_DSPn_FRMSIZE_VFS_MSK
; 7: reg |= (hfs <<
AG903_DSPn_FRMSIZE_HFS_POS
) &
AG903_DSPn_FRMSIZE_HFS_MSK
; 8:
AG903_DSPn
(ch)->FRMSIZE = reg; 9: }
グループ
DSP Primitive
リンク
dspprm.c
,
DSP Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム