AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_BMUMgrReleaseHandle(AG903_BMUMgrHandle *handle) 2: { 3: uint32_t unit = (handle - handle_list); 4: 5: 6: if(unit >= AG903_BMU_UNIT_NUM || &handle_list[unit] != handle) 7: { 8: return -AG903_EINVAL; 9: } 10: 11: 12: if(handle->is_exec) 13: { 14: return -AG903_EBUSY; 15: } 16: handle_used_flag[unit] = false; 17: 18: return AG903_ENONE; 19: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.