AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
AG903_BMUMgrDisable 関数

BMUを無効にする

Syntax
C++
int32_t AG903_BMUMgrDisable(AG903_BMUMgrHandle * handle);
引数 
説明 
AG903_BMUMgrHandle * handle 
[in] BMUManagerのハンドル 

エラーコード

返値の詳細 
説明 
正常 
-AG903_EINVAL 
無効なハンドルが渡された 

ハンドラに割り当てられたチャンネルを無効にします.

1: int32_t AG903_BMUMgrDisable(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: handle->is_exec = false; 12: AG903_BMUPrmSetCTRL(unit, 0); 13: 14: return AG903_ENONE; 15: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.