AG903ライブラリリファレンス
Body Source
AG903_DSPPrmGetLUTB 関数
本文ソース
コピコード
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: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム