AG903ライブラリリファレンス
Body Source
AG903_DMACPrmGetSTRIDE_SRC_DST_ADDR 関数
本文ソース
コピコード
1:
void
AG903_DMACPrmGetSTRIDE_SRC_DST_ADDR(uint8_t unit, uint32_t *src, uint32_t *dst) 2: { 3:
ASSERT
(src != NULL); 4:
ASSERT
(dst != NULL); 5:
ASSERT
(unit < DMAC_UNIT_MAX); 6: 7: uint32_t reg =
AG903_DMACn
(unit)->STRIDE_SRC_DST_ADDR; 8: *src = (reg &
AG903_DMACn_STRIDE_SRC_DST_ADDR_SrcStride_MSK
) >>
AG903_DMACn_STRIDE_SRC_DST_ADDR_SrcStride_POS
; 9: *dst = (reg &
AG903_DMACn_STRIDE_SRC_DST_ADDR_DstStride_MSK
) >>
AG903_DMACn_STRIDE_SRC_DST_ADDR_DstStride_POS
; 10: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム