Home
last modified time | relevance | path

Searched refs:CR2 (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dusart.c32 volatile uint16_t CR2; member
113 block->CR2 = (block->CR2 &~ 0x3000) | stopBitsVals[stop_bits]; in usartOpen()
Dspi.c70 volatile uint32_t CR2; member
288 regs->CR2 = SPI_CR2_TXEIE; in stmSpiDone()
299 regs->CR2 &= ~SPI_CR2_RXDMAEN; in stmSpiRxDone()
314 regs->CR2 &= ~SPI_CR2_TXDMAEN; in stmSpiTxDone()
379 regs->CR2 &= ~SPI_CR2_TXEIE; in stmSpiRxTx()
392 regs->CR2 = cr2; in stmSpiRxTx()
408 regs->CR2 = SPI_CR2_TXEIE; in stmSpiSlaveIdle()
427 regs->CR2 &= ~(SPI_CR2_RXDMAEN | SPI_CR2_TXDMAEN | SPI_CR2_TXEIE); in stmSpiDisable()
508 regs->CR2 &= ~SPI_CR2_TXEIE; in stmSpiTxe()
Di2c.c110 volatile uint32_t CR2; member
261 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; in stmI2cDmaEnable()
266 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; in stmI2cDmaDisable()
290 pdev->cfg->regs->CR2 |= mask; in stmI2cIrqEnable()
296 pdev->cfg->regs->CR2 &= ~mask; in stmI2cIrqDisable()
318 regs->CR2 = (regs->CR2 & ~I2C_CR2_FREQ_MASK) | in stmI2cSpeedSet()
Dbl.c94 volatile uint32_t CR2; member
913 spi->CR2 = 0x00000000; //spi is on, configured same as bootloader would in blSpiLoader()
Dplatform.c59 volatile uint16_t CR2; member