1 Star 1 Fork 0

网易独家音乐人Mike Zhou/ADuCM4050的函数打包

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Handle.c 1.15 KB
Copy Edit Raw Blame History
网易独家音乐人Mike Zhou authored 2024-10-12 06:30 . add Handle.c.
/* Amount of memory required by the driver for Rx and TX only. */
#define ADI_UART_MEMORY_SIZE (ADI_UART_BIDIR_MEMORY_SIZE)
#define UART_DEVICE_NUM 0
/* Handle for the UART device */
ADI_UART_HANDLE handle_UART0;
unsigned char GPIO_MemorySize[ADI_GPIO_MEMORY_SIZE]; //16b
unsigned char XINT_MemorySize[ADI_XINT_MEMORY_SIZE]; //48b
unsigned char I2C0_MemorySize[ADI_I2C_MEMORY_SIZE]; //48b
unsigned char SPI2_MemorySize[ADI_SPI_MEMORY_SIZE]; //48b
unsigned char SPI1_MemorySize[ADI_SPI_MEMORY_SIZE]; //48b
unsigned char SPI0_MemorySize[ADI_SPI_MEMORY_SIZE]; //48b
unsigned char ADC0_MemorySize[ADI_ADC_MEMORY_SIZE]; //48b
ADI_I2C_HANDLE handle_I2C0;
ADI_SPI_HANDLE handle_SPI2;
ADI_SPI_HANDLE handle_SPI1;
ADI_SPI_HANDLE handle_SPI0;
ADI_ADC_HANDLE handle_ADC0;
/* Memory for the driver */
uint8_t UartDeviceMem[ADI_UART_MEMORY_SIZE];
//外部中断回调函数
void callback_XINT0(void *pCBParam,uint32_t Event,void *pArg);
//定时中断回调函数
void callback_TIM0(void *pCBParam,uint32_t Event,void *pArg);
void callback_UART0(void *pCBParam,uint32_t Event,void *pArg);
void callback_ADC0(void *pCBParam,uint32_t Event,void *pArg);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/Mike_Zhou_Admin/ADuCM4050_Func.git
git@gitee.com:Mike_Zhou_Admin/ADuCM4050_Func.git
Mike_Zhou_Admin
ADuCM4050_Func
ADuCM4050的函数打包
master

Search