求助,C6722整个中断过程,中断向量的书写和如何引用,有例程的最好
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.
恩,中断这一块不知为什么没有提供中断寄存器结构体,但是你可以通过CSL提供的中断API来操作。
其他模块,如SPI:
typedef struct {
volatile Uint32 SPIGCR0;
volatile Uint32 SPIGCR1;
volatile Uint32 SPIINT0;
volatile Uint32 SPILVL;
volatile Uint32 SPIFLG;
volatile Uint32 SPIPC0;
volatile Uint32 SPIPC1;
volatile Uint32 SPIPC2;
volatile Uint32 SPIPC3;
volatile Uint32 SPIPC4;
volatile Uint32 SPIPC5;
volatile Uint32 SPIDAT0;
volatile Uint32 SPIDAT1;
volatile Uint32 SPIBUF;
volatile Uint32 SPIEMU;
volatile Uint32 SPIDELAY;
volatile Uint32 SPIDEF;
volatile Uint32 SPIFMT[4];
volatile Uint32 TGINTVEC[2];
} CSL_SpiConfig;
都提供的有模块的寄存结构体,可以直观的配置的。
你好,建议你看一下http://blog.csdn.net/anxuegang/article/details/7866920这个博客
讲的比较详细。。。