AG903ライブラリリファレンス
Body Source
AG903_DMACPrmGetERR_ABORT_INT 関数
本文ソース
コピコード
1:
void
AG903_DMACPrmGetERR_ABORT_INT(uint32_t *err, uint32_t *wdt, uint32_t *abt) 2: { 3:
ASSERT
(err != NULL); 4:
ASSERT
(wdt != NULL); 5:
ASSERT
(abt != NULL); 6: 7: uint32_t reg =
AG903_DMAC
->ERR_ABORT_INT; 8: *err = (reg &
AG903_DMAC_ERR_ABORT_INT_ErrIntr_MSK
) >>
AG903_DMAC_ERR_ABORT_INT_ErrIntr_POS
; 9: *wdt = (reg &
AG903_DMAC_ERR_ABORT_INT_WdtIntr_MSK
) >>
AG903_DMAC_ERR_ABORT_INT_WdtIntr_POS
; 10: *abt = (reg &
AG903_DMAC_ERR_ABORT_INT_AbtIntr_MSK
) >>
AG903_DMAC_ERR_ABORT_INT_AbtIntr_POS
; 11: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム