全てを折りたたみ
AG903ライブラリリファレンス
AG903_TIMRMgrGetChannel 関数
timrmgr.c
TIMR Manager
Body Source
チャネル番号取得
Syntax
C++
int32_t
AG903_TIMRMgrGetChannel
(
AG903_TIMRMgrHandle
*
handle
, uint8_t*
ch
);
ファイル
timrmgr.c
引数
引数
説明
AG903_TIMRMgrHandle* handle
[in] TIMRハンドル
uint8_t* ch
[out] チャネル番号
返値
チャネル番号取得結果
返値の詳細
返値の詳細
説明
AG903_ENONE
正常終了
-AG903_EINVAL
引数異常
説明
チャネル番号を取得します。
本文ソース
コピコード
1: int32_t AG903_TIMRMgrGetChannel(
AG903_TIMRMgrHandle
* handle, uint8_t* ch) 2: { 3: int32_t retval =
AG903_ENONE
; 4: int32_t result; 5: 6:
if
(NULL == ch) { 7:
return
-
AG903_EINVAL
; 8: } 9: 10: result = TIMRMgr_CheckHandle(handle, ch); 11:
if
(
AG903_ENONE
!= result) { 12:
return
-
AG903_EINVAL
; 13: } 14: 15:
return
retval; 16: }
グループ
TIMR Manager
リンク
timrmgr.c
,
TIMR Manager
,
Body Source
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム