AG903ライブラリリファレンス
Body Source
AG903_DSPPrmSetLUTB 関数
本文ソース
コピコード
1:
void
AG903_DSPPrmSetLUTB(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 = 0; 7: reg |= (lutb->b0 <<
AG903_DSPn_LUTB_B0_POS
) &
AG903_DSPn_LUTB_B0_MSK
; 8: reg |= (lutb->b1 <<
AG903_DSPn_LUTB_B1_POS
) &
AG903_DSPn_LUTB_B1_MSK
; 9: reg |= (lutb->b2 <<
AG903_DSPn_LUTB_B2_POS
) &
AG903_DSPn_LUTB_B2_MSK
; 10: reg |= (lutb->b3 <<
AG903_DSPn_LUTB_B3_POS
) &
AG903_DSPn_LUTB_B3_MSK
; 11:
AG903_DSPn
(ch)->LUTB[table_no] = reg; 12: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム