Home
last modified time | relevance | path

Searched refs:SPI (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/platform/stm32/
Dbl.c96 static struct StmSpi *SPI; variable
384 (void)SPI->DR; in blResetRxData()
385 while (!(SPI->SR & 1)); in blResetRxData()
386 (void)SPI->DR; in blResetRxData()
391 while (!(SPI->SR & 2)); in blSpiTxRxByte()
392 SPI->DR = val; in blSpiTxRxByte()
393 while (!(SPI->SR & 1)); in blSpiTxRxByte()
394 return SPI->DR; in blSpiTxRxByte()
413 SPI = (struct StmSpi*)SPI1_BASE; in blSetup()
461 SPI->CR1 = 0x00000040; //spi is on, configured same as bootloader would in blConfigIo()
[all …]
Dspi.c533 void SPI##_n##_IRQHandler(); \
534 void SPI##_n##_IRQHandler() \
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
DREADME23 Those macros define specific configuration that is platform dependent (SPI bus,
24 SPI frequency, etc).
34 #define LSM6DSM_SPI_SLAVE_BUS_ID 1 /* SPI bus ID, on S…
35 #define LSM6DSM_SPI_SLAVE_FREQUENCY_HZ 8000000 /* SPI frequency in…
36 #define LSM6DSM_SPI_SLAVE_CS_GPIO GPIO_PB(12) /* SPI NSS pin, on …