pwm默认触发中断,暂时删除pwm例化,软件中断号用宏定义
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
#define CDR_ReadTxCrc 0x24
|
||||
#define CDR_ReadRxCrc 0x28
|
||||
|
||||
#define CDR_INT_TXEND 14
|
||||
#define CDR_INT_RXERROR 15
|
||||
#define CDR_INT_RXSTART 16
|
||||
#define CDR_INT_RXEND 17
|
||||
|
||||
|
||||
extern volatile uint32_t *cdr_status = (uint32_t*)( TL2CDR_BASE + CDR_ReadStatus ); //read
|
||||
extern volatile uint32_t *cdr_txLen = (uint32_t*)( TL2CDR_BASE + CDR_WriteTxLen ); //write
|
||||
extern volatile uint32_t *cdr_txFifo = (uint32_t*)( TL2CDR_BASE + CDR_WriteTxFifo ); //write
|
||||
|
||||
Reference in New Issue
Block a user