全てを折りたたみ
AG903ライブラリリファレンス
AG903_DSPPrmGetLUTB 関数
dspprm.c
DSP Primitive
Body Source
See Also
LUTBレジスタからの読み込み.
Syntax
C++
void
AG903_DSPPrmGetLUTB
(uint8_t
ch
, uint8_t
table_no
,
DSPPrmParamLUTB
*
lutb
);
ファイル
dspprm.c
引数
引数
説明
uint8_t ch
[in] DSPチャンネル (0-1)
uint8_t table_no
[in] テーブル番号 (0-63)
返値
void
説明
AG903_DSP->LUTB からリードします.
関連リンク
設定値については
DSPPrmParamLUTB
を参照.
本文ソース
コピコード
1:
void
AG903_DSPPrmGetLUTB(uint8_t ch, uint8_t table_no,
DSPPrmParamLUTB
*lutb) 2: { 3:
ASSERT
(ch <
AG903_DSP_CH_NUM
); 4:
ASSERT
(lutb != NULL); 5: 6: uint32_t reg =
AG903_DSPn
(ch)->LUTB[table_no]; 7: lutb->b0 = (reg &
AG903_DSPn_LUTB_B0_MSK
) >>
AG903_DSPn_LUTB_B0_POS
; 8: lutb->b1 = (reg &
AG903_DSPn_LUTB_B1_MSK
) >>
AG903_DSPn_LUTB_B1_POS
; 9: lutb->b2 = (reg &
AG903_DSPn_LUTB_B2_MSK
) >>
AG903_DSPn_LUTB_B2_POS
; 10: lutb->b3 = (reg &
AG903_DSPn_LUTB_B3_MSK
) >>
AG903_DSPn_LUTB_B3_POS
; 11: }
グループ
DSP Primitive
リンク
dspprm.c
,
DSP Primitive
,
Body Source
,
See Also
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム