/* Get fuses from user row. 
Read out the fuse settings from the user row. */
enum status_code nvm_get_fuses(struct nvm_fusebits *fusebits)
/* Get fuses from user row. 
Read out the fuse settings from the user row. */
enum status_code nvm_get_fuses(struct nvm_fusebits *fusebits)
{
	enum status_code error_code = STATUS_OK;
	uint32_t raw_fusebits[2];
	while (!nvm_is_ready()) {
	}
	((uint16_t*)&raw_fusebits)[0] = (uint16_t)NVM_MEMORY[NVMCTRL_USER / 2];
	((uint16_t*)&raw_fusebits)[1] = (uint16_t)NVM_MEMORY[(NVMCTRL_USER / 2) + 1];
	((uint16_t*)&raw_fusebits)[2] = (uint16_t)NVM_MEMORY[(NVMCTRL_USER / 2) + 2];
	((uint16_t*)&raw_fusebits)[3] = (uint16_t)NVM_MEMORY[(NVMCTRL_USER / 2) + 3];
	_nvm_translate_raw_fusebits_to_struct(raw_fusebits, fusebits);
	return error_code;
}