pwm默认触发中断,暂时删除pwm例化,软件中断号用宏定义

This commit is contained in:
Ruige Lee
2025-01-27 22:25:39 +08:00
parent 0d20af8297
commit 28e1f20abb
4 changed files with 428 additions and 29 deletions

View File

@@ -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