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