spi_master: refactor and add HAL support

This commit is contained in:
Michael (XIAO Xufeng)
2019-01-23 17:07:03 +08:00
committed by michael
parent 76da10a665
commit af2fc96ee1
17 changed files with 1525 additions and 462 deletions

View File

@@ -281,6 +281,7 @@
#define TIMER_CLK_FREQ (80000000>>4) //80MHz divided by 16
#define SPI_CLK_DIV 4
#define TICKS_PER_US_ROM 26 // CPU is 80MHz
#define GPIO_MATRIX_DELAY_NS 25
//}}
/* Overall memory map */