OpenBIC
OpenSource Bridge-IC
guid.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <zephyr.h>
#include "guid.h"
#include <logging/log.h>
Include dependency graph for guid.c:

Functions

 LOG_MODULE_REGISTER (dev_guid)
 
uint8_t GUID_read (EEPROM_ENTRY *entry)
 
uint8_t GUID_write (EEPROM_ENTRY *entry)
 
__weak uint8_t get_system_guid (uint16_t *data_len, uint8_t *data)
 
__weak uint8_t set_system_guid (const uint16_t *data_len, uint8_t *data)
 

Variables

__weak const EEPROM_CFG guid_config [1] = {}
 

Function Documentation

◆ get_system_guid()

__weak uint8_t get_system_guid ( uint16_t *  data_len,
uint8_t *  data 
)

◆ GUID_read()

uint8_t GUID_read ( EEPROM_ENTRY entry)
Here is the call graph for this function:

◆ GUID_write()

uint8_t GUID_write ( EEPROM_ENTRY entry)
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( dev_guid  )

◆ set_system_guid()

__weak uint8_t set_system_guid ( const uint16_t *  data_len,
uint8_t *  data 
)

Variable Documentation

◆ guid_config

__weak const EEPROM_CFG guid_config[1] = {}