This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于IntRegister()函数的疑问



使用void IntRegister (uint32_t ui32Interrupt, void (pfnHandler)(void)) 函数对中断函数进行注册,例如:IntRegister(INT_UART0, UART0Handler);

和使用 UART0Handler()函数代替startup_ccs.c中 红色部分缺省函数

   IntDefaultHandler,                      // GPIO Port D
    IntDefaultHandler,                      // GPIO Port E
    IntDefaultHandler,                      // UART0 Rx and Tx
    IntDefaultHandler,                      // UART1 Rx and Tx
    IntDefaultHandler,                      // SSI0 Rx and Tx
    IntDefaultHandler,                      // I2C0 Master and Slave
    IntDefaultHandler,                      // PWM Fault

二者的功能一样吗?