全てを折りたたみ
AG903ライブラリリファレンス
AG903_DMACPrmSetGLOBAL_EVENT 関数
dmacprm.c
DMAC Primitive
Body Source
GLOBAL_EVENTレジスタへの書き込み.
Syntax
C++
void
AG903_DMACPrmSetGLOBAL_EVENT
(uint32_t
set
, uint32_t
clear
);
ファイル
dmacprm.c
引数
引数
説明
uint32_t set
[in] グローバルイベントセットビット
uint32_t clear
[in] グローバルイベントクリアビット
返値
none
説明
AG903_DMAC
->GLOBAL_EVENT にライトします.
注意
none
本文ソース
コピコード
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: }
グループ
DMAC Primitive
リンク
dmacprm.c
,
DMAC Primitive
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム