Files
player/Project/Src/MY/stm32f4xx_it.c
andy 045cff4cc6 整理代码
1.解决一些编译警告
2.发现png因为文件api不支持而不能使用
2025-10-18 13:58:40 +08:00

51 lines
1.1 KiB
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "stm32f4xx_it.h"
#include "sdio_sd.h"
#include "stdbool.h"
#include "tusb.h"
void NMI_Handler(void) {}
void MemManage_Handler(void) {
/* Go to infinite loop when Memory Manage exception occurs */
while (1) {
}
}
void BusFault_Handler(void) {
/* Go to infinite loop when Bus Fault exception occurs */
while (1) {
}
}
void UsageFault_Handler(void) {
/* Go to infinite loop when Usage Fault exception occurs */
while (1) {
}
}
void SVC_Handler(void) {}
void DebugMon_Handler(void) {}
extern void LTDC_ISR_Handler(void);
// 函数:LTDC中断服务函数
void LTDC_IRQHandler(void) { LTDC_ISR_Handler(); }
// 函数SD卡全局中断
void SDIO_IRQHandler(void) {
/* Process All SDIO Interrupt Sources */
SD_ProcessIRQSrc();
}
// 函数SD卡DMA中断
void SD_SDIO_DMA_IRQHANDLER(void) {
/* Process DMA2 Stream3 or DMA2 Stream6 Interrupt Sources */
SD_ProcessDMAIRQ();
}
/************************USB中断******************************************/
void OTG_FS_IRQHandler(void) { tusb_int_handler(0, true); }
void OTG_HS_IRQHandler(void) { tusb_int_handler(1, true); }