Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
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.c111 volatile uint32_t CR2; member
263 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; in stmI2cDmaEnable()
268 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; in stmI2cDmaDisable()
292 pdev->cfg->regs->CR2 |= mask; in stmI2cIrqEnable()
298 pdev->cfg->regs->CR2 &= ~mask; in stmI2cIrqDisable()
320 regs->CR2 = (regs->CR2 & ~I2C_CR2_FREQ_MASK) | in stmI2cSpeedSet()
Dbl.c21 volatile uint32_t CR2; member
462 SPI->CR2 = 0x00000000; //spi is on, configured same as bootloader would in blConfigIo()
Dplatform.c59 volatile uint16_t CR2; member