Home
last modified time | relevance | path

Searched refs:cr1 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_ll_stm32_v1.c36 uint16_t cr1 = LL_I2C_ReadReg(i2c, CR1); in stm32_i2c_generate_start_condition() local
38 if (cr1 & I2C_CR1_STOP) { in stm32_i2c_generate_start_condition()
40 LL_I2C_WriteReg(i2c, CR1, cr1 & ~I2C_CR1_STOP); in stm32_i2c_generate_start_condition()
76 uint16_t cr1, cr2, oar1, oar2, trise, ccr; in stm32_i2c_reset() local
88 cr1 = LL_I2C_ReadReg(i2c, CR1); in stm32_i2c_reset()
103 LL_I2C_WriteReg(i2c, CR1, cr1); in stm32_i2c_reset()
/Zephyr-Core-3.4.0/drivers/spi/
Dspi_pl022.c340 uint32_t cr1; in spi_pl022_configure() local
385 cr1 = 0; in spi_pl022_configure()
386 cr1 |= SSP_CR1_MASK_SSE; /* Always enable SPI */ in spi_pl022_configure()
387 cr1 |= (op & SPI_MODE_LOOP) ? SSP_CR1_MASK_LBM : 0; in spi_pl022_configure()
391 SSP_WRITE_REG(SSP_CR1(cfg->reg), cr1); in spi_pl022_configure()