全てを折りたたみ
AG903ライブラリリファレンス
AG903_BMUMgrReleaseHandle 関数
bmumgr.c
BMU Manager
Body Source
BMUManagerのハンドルを解放する
Syntax
C++
int32_t
AG903_BMUMgrReleaseHandle
(
AG903_BMUMgrHandle
*
handle
);
ファイル
bmumgr.c
引数
引数
説明
AG903_BMUMgrHandle * handle
[in] BMUManagerのハンドル
返値
エラーコード
返値の詳細
返値の詳細
説明
AG903_ENONE
正常
-AG903_EINVAL
無効なハンドルが渡された
-AG903_EBUSY
BMU有効中
説明
ハンドルを解放します.
本文ソース
コピコード
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: }
グループ
BMU Manager
リンク
bmumgr.c
,
BMU Manager
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム