AG903ライブラリリファレンス
Body Source
AG903_GPIOMgrGetPositiveDetect 関数
本文ソース
コピコード
1: int32_t AG903_GPIOMgrGetPositiveDetect(uint8_t portch, uint32_t* enable) 2: { 3: int32_t retval =
AG903_ENONE
; 4: 5:
if
( (
AG903_GPIO_CH_NUM
<= portch) || 6: (NULL == enable) ){ 7:
return
-
AG903_EINVAL
; 8: } 9:
AG903_GPIOPrmGetPosEdgeDetect
(portch, enable); 10: 11:
return
retval; 12: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム