Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dpwr.c57 #define RCC ((struct StmRcc*)RCC_BASE) macro
132 uint32_t cfg = RCC->CFGR; in pwrGetBusSpeed()
185 RCC->APB1ENR |= PERIPH_APB1_PWR; in pwrEnableAndClockRtc()
197 mResetReason = pwrParseCsr(RCC->CSR); in pwrEnableAndClockRtc()
198 RCC->CSR |= RCC_CSR_RMVF; in pwrEnableAndClockRtc()
201 RCC->BDCR |= RCC_BDCR_BDRST; in pwrEnableAndClockRtc()
203 RCC->BDCR &= ~RCC_BDCR_BDRST; in pwrEnableAndClockRtc()
211 RCC->CSR &= ~RCC_CSR_LSION; in pwrEnableAndClockRtc()
214 RCC->BDCR |= RCC_BDCR_LSEON; in pwrEnableAndClockRtc()
217 RCC->BDCR |= RCC_BDCR_LSEON | RCC_BDCR_LSEBYP; in pwrEnableAndClockRtc()
[all …]
Dcrt_stm32f4xx.c46 VECI(RCC);