Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/pca9420/
Dfsl_pca9420.c201 uint8_t modeCfg[16]; in PCA9420_WriteModeConfigs() local
228modeCfg[i * 4U] = (uint8_t)(((uint32_t)(configs[i].shipModeEnable)) | ((uint32_t)(configs[i].… in PCA9420_WriteModeConfigs()
230modeCfg[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()
236modeCfg[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() local
277 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 …]