AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
gpiomgr.h

GPIO Manager Header

GPIO Manager提供ヘッダ。 

GPIO Manager使用時にincludeして下さい。 

none

AXELL CORPORATION

2017_02_22 初版 

2017_10_26 Ver2.0 

2021_01_29 [SDK3.2] GPIOポートの排他制御を有効にしたときのアセンブラルーチンを修正 (#2844)

1: 10: 11: 15: 16: #ifndef _GPIOMGR_H_ 17: #define _GPIOMGR_H_ 18: 19: 20: #include <stdint.h> 21: #include "lib_common/AG903_common.h" 22: 23: #ifdef __cplusplus 24: extern "C" { 25: #endif 26: 27:
名前 
説明 
chあたりのコールバック登録数。
割込み発生時に登録数分の検索処理が行われる為、割込み処理時間に影響します。
コールバックの登録は必要最低限にして下さい。 
GPIOポートを排他制御する場合は本マクロを"1"にする。 
名前 
説明 
コールバック関数の型。
portchはPortチャネル番号(0~3)、statusはエッジ検出ステータス(0:未検出、1:検出)。 
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.