fix tab
This commit is contained in:
parent
f19fdc37be
commit
20ab2176fb
3 changed files with 65 additions and 65 deletions
|
@ -335,7 +335,7 @@ static inline void spi_set_address(uint8_t bus,uint8_t bits, uint32_t data)
|
||||||
*
|
*
|
||||||
* \param bus Bus ID: 0 - system, 1 - user
|
* \param bus Bus ID: 0 - system, 1 - user
|
||||||
* \param bits Number of bits
|
* \param bits Number of bits
|
||||||
* \param pos Address to send for each transfert.
|
* \param pos Position of dummy bit, between Dout and Din if true.
|
||||||
*/
|
*/
|
||||||
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)
|
||||||
{
|
{
|
||||||
|
@ -370,7 +370,7 @@ static inline void spi_clear_command(uint8_t bus)
|
||||||
*/
|
*/
|
||||||
static inline void spi_clear_dummy(uint8_t bus)
|
static inline void spi_clear_dummy(uint8_t bus)
|
||||||
{
|
{
|
||||||
SPI(bus).USER0 &= ~(SPI_USER0_DUMMY | SPI_USER0_MISO ) ;
|
SPI(bus).USER0 &= ~(SPI_USER0_DUMMY | SPI_USER0_MISO);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue