Searched refs:temp_reg (Results 1 – 2 of 2) sorted by relevance
38 uint16_t temp_reg; in spi_init() local46 temp_reg = regs->CR2; in spi_init()47 temp_reg &= ~(SPI_CR2_DS | SPI_CR2_FRXTH); in spi_init()48 temp_reg |= data_size; in spi_init()51 temp_reg |= SPI_CR2_FRXTH; in spi_init()56 regs->CR2 = temp_reg; in spi_init()58 temp_reg = regs->CR1; in spi_init()59 temp_reg |= SPI_CR1_MSTR | SPI_CR1_SSI; in spi_init()60 regs->CR1 = temp_reg; in spi_init()
123 uint32_t temp_reg = 0U; in HAL_RCCEx_PeriphCLKConfig() local163 temp_reg = (RCC->BDCR & RCC_BDCR_RTCSEL); in HAL_RCCEx_PeriphCLKConfig()164 …if((temp_reg != 0x00000000U) && (temp_reg != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL))) in HAL_RCCEx_PeriphCLKConfig()167 temp_reg = (RCC->BDCR & ~(RCC_BDCR_RTCSEL)); in HAL_RCCEx_PeriphCLKConfig()172 RCC->BDCR = temp_reg; in HAL_RCCEx_PeriphCLKConfig()175 if (HAL_IS_BIT_SET(temp_reg, RCC_BDCR_LSEON)) in HAL_RCCEx_PeriphCLKConfig()
Completed in 9 milliseconds