Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/pca9420/
Dfsl_pca9420.c120 config->sw2OutVolt = kPCA9420_Sw2OutVolt1V800; in PCA9420_GetDefaultModeConfig()
151 if (config->sw2OutVolt <= kPCA9420_Sw2OutVolt2V100) in PCA9420_GetRegulatorVolt()
153 volt->mVoltSw2 = 1500U + (uint32_t)config->sw2OutVolt * 25U; in PCA9420_GetRegulatorVolt()
155 else if (config->sw2OutVolt < kPCA9420_Sw2OutVolt2V700) in PCA9420_GetRegulatorVolt()
159 else if (config->sw2OutVolt <= kPCA9420_Sw2OutVolt3V300) in PCA9420_GetRegulatorVolt()
161 …volt->mVoltSw2 = 2700U + ((uint32_t)config->sw2OutVolt - (uint32_t)kPCA9420_Sw2OutVolt2V700) * 25U; in PCA9420_GetRegulatorVolt()
230 …Cfg[i * 4U + 1U] = (uint8_t)(((uint32_t)(configs[i].onCfg)) | ((uint32_t)(configs[i].sw2OutVolt))); in PCA9420_WriteModeConfigs()
290 …configs[i].sw2OutVolt = (pca9420_sw2_out_t)(uint8_t)(modeCfg[i * 4U + 1U] & PCA9420_MODECFG_1_SW2_… in PCA9420_ReadModeConfigs()
Dfsl_pca9420.h498 pca9420_sw2_out_t sw2OutVolt; member