adjustements
This commit is contained in:
parent
71bce674a0
commit
f19fdc37be
1 changed files with 3 additions and 3 deletions
|
@ -337,7 +337,7 @@ static inline void spi_set_address(uint8_t bus,uint8_t bits, uint32_t data)
|
||||||
* \param bits Number of bits
|
* \param bits Number of bits
|
||||||
* \param pos Address to send for each transfert.
|
* \param pos Address to send for each transfert.
|
||||||
*/
|
*/
|
||||||
static inline void spi_set_dummy_bits(uint8_t bus, uint8_t bits,bool pos)
|
static inline void spi_set_dummy_bits(uint8_t bus, uint8_t bits, bool pos)
|
||||||
{
|
{
|
||||||
if(!bits) return ;
|
if(!bits) return ;
|
||||||
if(pos) { SPI(bus).USER0 |= SPI_USER0_MISO; } // Dummy bit will be between Dout and Din data if set
|
if(pos) { SPI(bus).USER0 |= SPI_USER0_MISO; } // Dummy bit will be between Dout and Din data if set
|
||||||
|
|
Loading…
Reference in a new issue