AG903ライブラリリファレンス
Body Source
AG903_TIMRMgrGetMatchValue 関数
本文ソース
コピコード
1: int32_t AG903_TIMRMgrGetMatchValue(
AG903_TIMRMgrHandle
* handle, uint32_t* match) 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:
if
(NULL == match) { 12:
return
-
AG903_EINVAL
; 13: } 14: 15:
AG903_TIMRPrmGetMatch
(ch, match); 16: 17:
return
retval; 18: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム