Searched refs:modeCfg (Results 1 – 1 of 1) sorted by relevance
201 uint8_t modeCfg[16]; in PCA9420_WriteModeConfigs() local228 …modeCfg[i * 4U] = (uint8_t)(((uint32_t)(configs[i].shipModeEnable)) | ((uint32_t)(configs[i].… in PCA9420_WriteModeConfigs()230 …modeCfg[i * 4U + 1U] = (uint8_t)(((uint32_t)(configs[i].onCfg)) | ((uint32_t)(configs[i].sw2OutVol… in PCA9420_WriteModeConfigs()231 modeCfg[i * 4U + 2U] = (uint8_t)(((uint32_t)(configs[i].ldo1OutVolt)) | in PCA9420_WriteModeConfigs()236 …modeCfg[i * 4U + 3U] = (uint8_t)(((uint32_t)(configs[i].wdogTimerCfg)) | ((uint32_t)(configs[i].ld… in PCA9420_WriteModeConfigs()239 result = PCA9420_WriteRegs(handle, modeCfgRegBase, modeCfg, 4U * num); in PCA9420_WriteModeConfigs()252 uint8_t modeCfg[16] = {0U}; in PCA9420_ReadModeConfigs() local277 result = PCA9420_ReadRegs(handle, modeCfgRegBase, modeCfg, 4U * num); in PCA9420_ReadModeConfigs()285 …configs[i].shipModeEnable = (pca9420_ship_en_t)(uint8_t)(modeCfg[i * 4U] & PCA9420_MODECFG_0_SHIP_… in PCA9420_ReadModeConfigs()286 …configs[i].modeSel = (pca9420_mode_sel_t)(uint8_t)(modeCfg[i * 4U] & PCA9420_MODECFG_0_MODE_CTR… in PCA9420_ReadModeConfigs()[all …]