AG903ライブラリリファレンス
Body Source
AG903_DSPPrmSetLUTG 関数
本文ソース
コピコード
1:
void
AG903_DSPPrmSetLUTG(uint8_t ch, uint8_t table_no,
DSPPrmParamLUTG
*lutg) 2: { 3:
ASSERT
(ch <
AG903_DSP_CH_NUM
); 4:
ASSERT
(lutg != NULL); 5: 6: uint32_t reg = 0; 7: reg |= (lutg->g0 <<
AG903_DSPn_LUTG_G0_POS
) &
AG903_DSPn_LUTG_G0_MSK
; 8: reg |= (lutg->g1 <<
AG903_DSPn_LUTG_G1_POS
) &
AG903_DSPn_LUTG_G1_MSK
; 9: reg |= (lutg->g2 <<
AG903_DSPn_LUTG_G2_POS
) &
AG903_DSPn_LUTG_G2_MSK
; 10: reg |= (lutg->g3 <<
AG903_DSPn_LUTG_G3_POS
) &
AG903_DSPn_LUTG_G3_MSK
; 11:
AG903_DSPn
(ch)->LUTG[table_no] = reg; 12: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム