Searched refs:nvm_status (Results 1 – 1 of 1) sorted by relevance
27 static int get_nvm_status(uint8_t *nvm_status, const struct device *dev);167 uint8_t nvm_status = 0; in power_up_check() local173 rslt = get_nvm_status(&nvm_status, dev); in power_up_check()177 if ((nvm_status & BMP5_INT_NVM_RDY) && (!(nvm_status & BMP5_INT_NVM_ERR))) { in power_up_check()198 static int get_nvm_status(uint8_t *nvm_status, const struct device *dev) in get_nvm_status() argument202 CHECKIF(nvm_status == NULL || dev == NULL) { in get_nvm_status()206 return i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_STATUS, nvm_status); in get_nvm_status()