hpw422移植新的sdk
This commit is contained in:
@@ -0,0 +1,142 @@
|
||||
#ifndef _XC_DRV_CONFIG_H_
|
||||
#define _XC_DRV_CONFIG_H_
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#ifndef ADC_OFF
|
||||
#define ADC_ON 1
|
||||
#else
|
||||
#define ADC_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef AOTIMER_OFF
|
||||
#define AOTIMER_ON 1
|
||||
#else
|
||||
#define AOTIMER_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef CALIB_OFF
|
||||
#define CALIB_ON 1
|
||||
#else
|
||||
#define CALIB_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef DMA_OFF
|
||||
#define DMA_ON 1
|
||||
#else
|
||||
#define DMA_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef FMC_SPI_OFF
|
||||
#define FMC_SPI_ON 1
|
||||
#else
|
||||
#define FMC_SPI_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef FMC_SPI_DMA_OFF
|
||||
#define FMC_SPI_DMA_ON 1
|
||||
#else
|
||||
#define FMC_SPI_DMA_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef GPIO_OFF
|
||||
#define GPIO_ON 1
|
||||
#else
|
||||
#define GPIO_ON 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef I2C_OFF
|
||||
#define I2C_ON 1
|
||||
#else
|
||||
#define I2C_ON 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef PGA_OFF
|
||||
#define PGA_ON 1
|
||||
#else
|
||||
#define PGA_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef PWM_OFF
|
||||
#define PWM_ON 1
|
||||
#else
|
||||
#define PWM_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef PWR_OFF
|
||||
#define PWR_ON 1
|
||||
#else
|
||||
#define PWR_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef QDEC_OFF
|
||||
#define QDEC_ON 1
|
||||
#else
|
||||
#define QDEC_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef RTC_OFF
|
||||
#define RTC_ON 1
|
||||
#else
|
||||
#define RTC_ON 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SPI_OFF
|
||||
#define SPI_ON 1
|
||||
#else
|
||||
#define SPI_ON 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SPI_DMA_OFF
|
||||
#define SPI_DMA_ON 1
|
||||
#else
|
||||
#define SPI_DMA_ON 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SW_I2C_OFF
|
||||
#define SW_I2C_ON 1
|
||||
#else
|
||||
#define SW_I2C_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef TIMER_OFF
|
||||
#define TIMER_ON 1
|
||||
#else
|
||||
#define TIMER_ON 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef UART_OFF
|
||||
#define UART_ON 1
|
||||
#else
|
||||
#define UART_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef UART_DMA_OFF
|
||||
#define UART_DMA_ON 1
|
||||
#else
|
||||
#define UART_DMA_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef WDT_OFF
|
||||
#define WDT_ON 1
|
||||
#else
|
||||
#define WDT_ON 0
|
||||
#endif
|
||||
|
||||
#ifndef BOR_OFF
|
||||
#define BOR_ON 1
|
||||
#else
|
||||
#define BOR_ON 0
|
||||
#endif
|
||||
|
||||
#endif // _XC_DRV_CONFIG_H_
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user