AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: void AG903_DMACPrmSetGLOBAL_EVENT(uint32_t set, uint32_t clear) 2: { 3: uint32_t reg = 0; 4: reg |= (set << AG903_DMAC_GLOBAL_EVENT_GlbEventSet_POS) & AG903_DMAC_GLOBAL_EVENT_GlbEventSet_MSK; 5: reg |= (clear << AG903_DMAC_GLOBAL_EVENT_GlbEventClr_POS) & AG903_DMAC_GLOBAL_EVENT_GlbEventClr_MSK; 6: AG903_DMAC->GLOBAL_EVENT = reg; 7: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.