Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/pca9422/
Dfsl_pca9422.c306 uint8_t currStep; in PCA9422_SetFastChargeCurrent() local
335 currStep = (regVal == (uint8_t)kPCA9422_ChgIStep5p0mA) ? 50U : 25U; in PCA9422_SetFastChargeCurrent()
336 regVal = (uint8_t)((iFast - currStep) / currStep); in PCA9422_SetFastChargeCurrent()
355 uint8_t currStep; in PCA9422_GetFastChargeCurrent() local
375 currStep = ((regVal & PCA9422_CHARGER_CNTL_1_CHG_CURRENT_STEP) != 0U) ? 50U : 25U; in PCA9422_GetFastChargeCurrent()
383 iFastReg = (uint16_t)regVal * currStep + (uint16_t)currStep; in PCA9422_GetFastChargeCurrent()