RTC configuration The Pmic_RtcRstStatus_s structure contains status of RTC Reset and power-up status. Note: validParams is input param for all Set and Get APIs. other params except validParams is input param for Set APIs and output param for Get APIs.
- Parameters
-
validParams | Validate params Bits. Depending on the parameters want to get, corresponding bits should be set in validParam For Valid values Pmic_RtcConfigValidParamCfg |
crystalOScEn | Enable/Disable Crystal Oscillator Valid only when PMIC_RTC_CFG_CRYSTAL_OSC_EN_VALID bit of validParams is set. For valid values Pmic_RtcCrystalOscCfg |
set32KCounterCompVal | Set 32K counter with compensation values. Application can configure this only when RTC is frozen Valid only when PMIC_RTC_CFG_32K_COUNTER_COMP_VAL_SET_VALID bit of validParams is set. For valid values Pmic_Rtc32KCounterCfg |
setRtcTimeRound30s | Set RTC time config to Round the time to closest minute Valid only when PMIC_RTC_CFG_RTC_TIME_ROUND_30S_SET_VALID bit of validParams is set. For valid values Pmic_RtcRoundTime |
timeDateRegSel | Select RTC Time and Date Register read from Dynamic or Static Shadowed Registers. Valid only when PMIC_RTC_CFG_TIME_DATE_REG_SEL_VALID bit of validParams is set. For valid values Pmic_RtcTimeDateRegSel |
crystalOScType | Select Crystal Oscillator Type Valid only when PMIC_RTC_CFG_CRYSTAL_OSC_TYPE_VALID bit of validParams is set. For valid values Pmic_RtcCrystalOscType |