解决了base.tc27的中断清除问题
This commit is contained in:
@@ -1375,6 +1375,8 @@ def tc7():
|
||||
+ '''txBuf[8] = 8'h00;\n'''
|
||||
+ '''txBuf[9] = 8'h0a;\n'''
|
||||
+ '''txBuf[10] = 8'h00;\n'''
|
||||
+ '''txBuf[11] = 8'h01;\n'''
|
||||
+ '''txBuf[12] = 8'h00;\n'''
|
||||
+ '''txBuf[19] = (_temp_time & 8'hff);\n'''
|
||||
+ '''txBuf[20] = ( (_temp_time >> 8) & 8'hff);\n'''
|
||||
+ '''txBuf[21] = ((_temp_time >> 16) & 8'hff);\n'''
|
||||
@@ -1396,6 +1398,10 @@ def tc7():
|
||||
+ '''txBuf[37] = 8'h00;\n'''
|
||||
+ '''txBuf[38] = 8'h00;\n'''
|
||||
+ '''txBuf[39] = 8'h00;\n'''
|
||||
+ '''txBuf[40] = 8'h00;\n'''
|
||||
+ '''txBuf[41] = 8'h00;\n'''
|
||||
+ '''txBuf[42] = 8'h00;\n'''
|
||||
+ '''txBuf[43] = 8'h00;\n'''
|
||||
+ '''spi_trans( (16'h0120), (`SPI_WRITE), (40), (`IF_IDX(0)));\n'''
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user