AG903ライブラリリファレンス
Body Source
AG903_OSPMgrGetFIFOStat 関数
本文ソース
コピコード
1: int32_t AG903_OSPMgrGetFIFOStat(
AG903_OSPMgrHandle
*handle, uint8_t *ovf, uint8_t *siz) 2: { 3: int32_t rc =
AG903_ENONE
; 4: uint8_t ch; 5: 6:
if
(NULL == handle) { 7: rc = -
AG903_EINVAL
; 8: } 9: 10: rc = OSPMgrCheckHandle(handle, &ch); 11: 12:
if
(rc ==
AG903_ENONE
) { 13:
if
((ovf == NULL) 14: || (siz == NULL)) { 15: 16: rc = -
AG903_EINVAL
; 17: } 18: } 19: 20:
if
(rc ==
AG903_ENONE
) { 21:
AG903_OSPPrmFIFOSTAT
(ch, ovf, siz); 22: } 23: 24:
return
rc; 25: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム