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G_EINT
|
|
MD1_SIM4_HOT_PLUG_EINT
|
|
|
|
[MD2_EINT_variables]
|
|
AST_DATA_INTR
|
|
MD2_SIM1_HOT_PLUG_EINT
|
|
MD2_SIM2_HOT_PLUG_EINT
|
|
|
|
[SRC_PIN]
|
|
PAD_INT_SIM1
|
|
PAD_INT_SIM2
|
|
PAD_SPI_MO
|
|
PAD_SPI_CS
|
|
PAD_URXD0
|
|
PAD_URTS0
|
|
PAD_URXD3
|
|
PAD_DPI_D0
|
|
PAD_DPI_D2
|
|
|
|
|
|
[cust_eint.h_HEADER]
|
|
#ifndef __CUST_EINTH
|
|
#define __CUST_EINTH
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define CUST_EINT_POLARITY_LOW 0
|
|
#define CUST_EINT_POLARITY_HIGH 1
|
|
#define CUST_EINT_DEBOUNCE_DISABLE 0
|
|
#define CUST_EINT_DEBOUNCE_ENABLE 1
|
|
#define CUST_EINT_EDGE_SENSITIVE 0
|
|
#define CUST_EINT_LEVEL_SENSITIVE 1
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
[cust_eint2.h_HEADER]
|
|
#ifndef __CUST_EINTH
|
|
#define __CUST_EINTH
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define CUST_EINTF_TRIGGER_RISING 1 //High Polarity and Edge Sensitive
|
|
#define CUST_EINTF_TRIGGER_FALLING 2 //Low Polarity and Edge Sensitive
|
|
#define CUST_EINTF_TRIGGER_HIGH 4 //High Polarity and Level Sensitive
|
|
#define CUST_EINTF_TRIGGER_LOW 8 //Low Polarity and Level Sensitive
|
|
|
|
#define CUST_EINT_DEBOUNCE_DISABLE 0
|
|
#define CUST_EINT_DEBOUNCE_ENABLE 1
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
[cust_eint_ext.h_HEADER]
|
|
#ifndef __CUST_EINT_EXTH
|
|
#define __CUST_EINT_EXTH
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define CUST_EINT_POLARITY_LOW 0
|
|
#define CUST_EINT_POLARITY_HIGH 1
|
|
#define CUST_EINT_DEBOUNCE_DISABLE 0
|
|
#define CUST_EINT_DEBOUNCE_ENABLE 1
|
|
#define CUST_EINT_EDGE_SENSITIVE 0
|
|
#define CUST_EINT_LEVEL_SENSITIVE 1
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
[cust_eint_ext2.h_HEADER]
|
|
#ifndef __CUST_EINTH
|
|
#define __CUST_EINTH
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define CUST_EINTF_TRIGGER_RISING 1 //High Polarity and Edge Sensitive
|
|
#define CUST_EINTF_TRIGGER_FALLING 2 //Low Polarity and Edge Sensitive
|
|
#define CUST_EINTF_TRIGGER_HIGH 4 //High Polarity and Level Sensitive
|
|
#define CUST_EINTF_TRIGGER_LOW 8 //Low Polarity and Level Sensitive
|
|
|
|
#define CUST_EINT_DEBOUNCE_DISABLE 0
|
|
#define CUST_EINT_DEBOUNCE_ENABLE 1
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
[cust_eint.h_TAILER]
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
#ifdef __cplusplus
|
|
}
|
|
|
|
#endif
|
|
#endif //_CUST_EINT_H
|
|
|
|
[cust_eint_ext.h_TAILER]
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
#ifdef __cplusplus
|
|
}
|
|
|
|
#endif
|
|
#endif //_CUST_EINT__EXT_H
|