AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_DMACMgrGetStatus(AG903_DMACMgrHandle *handle, AG903_DMACMgrStatus *status) 2: { 3: uint32_t unit = ((AG903_DMACMgrHandleStat*)handle - handle_list); 4: 5: if(unit >= AG903_DMAC_UNIT_NUM || &handle_list[unit] != (AG903_DMACMgrHandleStat*)handle || NULL == status) 6: { 7: return -AG903_EINVAL; 8: } 9: 10: status->enable = DMACMgr_CheckEnable(unit); 11: 12: return AG903_ENONE; 13: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.