Searched refs:cr1 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_ll_stm32_v1.c | 36 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() 80 uint16_t cr1, cr2, oar1, oar2, trise, ccr; in stm32_i2c_reset() local 92 cr1 = LL_I2C_ReadReg(i2c, CR1); in stm32_i2c_reset() 107 LL_I2C_WriteReg(i2c, CR1, cr1); in stm32_i2c_reset()
|
/Zephyr-Core-3.7.0/drivers/spi/ |
D | spi_pl022.c | 350 uint32_t cr1; in spi_pl022_configure() local 404 cr1 = 0; in spi_pl022_configure() 405 cr1 |= SSP_CR1_MASK_SSE; /* Always enable SPI */ in spi_pl022_configure() 406 cr1 |= (op & SPI_MODE_LOOP) ? SSP_CR1_MASK_LBM : 0; in spi_pl022_configure() 410 SSP_WRITE_REG(SSP_CR1(cfg->reg), cr1); in spi_pl022_configure()
|