#ifndef __COMMUNICATION_H__ #define __COMMUNICATION_H__ #include "at32f403a_407.h" #if 0 #define ADI_PAR_CS_PIN (1 << 1) #define ADI_PART_CS_PIN_OUT PM7 &= ~(ADI_PAR_CS_PIN); #define ADI_PART_CS_LOW P7 &= ~ADI_PAR_CS_PIN; #define ADI_PART_CS_HIGH P7 |= ADI_PAR_CS_PIN; #define GPIO1_PIN (1 << 3) #define GPIO1_STATE (P0 & GPIO1_PIN) #endif /******************************************************************************/ /* Functions Prototypes */ /******************************************************************************/ #endif // __COMMUNICATION_H__