AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: void AG903_DSPPrmSetLSTCTRL(uint8_t ch, uint32_t pal, uint32_t wat) 2: { 3: ASSERT(ch < AG903_DSP_CH_NUM); 4: 5: uint32_t reg = 0; 6: reg |= (pal << AG903_DSPn_LSTCTRL_PAL_POS) & AG903_DSPn_LSTCTRL_PAL_MSK; 7: reg |= (wat << AG903_DSPn_LSTCTRL_WAT_POS) & AG903_DSPn_LSTCTRL_WAT_MSK; 8: AG903_DSPn(ch)->LSTCTRL = reg; 9: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.