Merge branch 'feature/spi_bringup_esp32s3' into 'master'

spi: bringup on esp32s3

See merge request espressif/esp-idf!10107
This commit is contained in:
Michael (XIAO Xufeng)
2020-10-27 00:51:42 +08:00
26 changed files with 675 additions and 343 deletions

View File

@@ -166,11 +166,21 @@ static inline bool spi_ll_usr_is_done(spi_dev_t *hw)
}
/**
* Trigger start of user-defined transaction.
* Trigger start of user-defined transaction for master.
*
* @param hw Beginning address of the peripheral registers.
*/
static inline void spi_ll_user_start(spi_dev_t *hw)
static inline void spi_ll_master_user_start(spi_dev_t *hw)
{
hw->cmd.usr = 1;
}
/**
* Trigger start of user-defined transaction for slave.
*
* @param hw Beginning address of the peripheral registers.
*/
static inline void spi_ll_slave_user_start(spi_dev_t *hw)
{
hw->cmd.usr = 1;
}