precision-converters-firmware
board_info.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef BOARD_INFO_H_
40 #define BOARD_INFO_H_
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 
46 #include <stdint.h>
47 #include "no_os_eeprom.h"
48 
49 /******************************************************************************/
50 /********************** Macros and Constants Definition ***********************/
51 /******************************************************************************/
52 
53 #define BOARD_ID_MAX_LEN 50
54 #define BOARD_NAME_MAX_LEN 100
55 
56 /******************************************************************************/
57 /************************ Public Declarations *********************************/
58 /******************************************************************************/
59 
60 /* Board info */
61 struct board_info {
64 };
65 
66 int32_t read_board_info(struct no_os_eeprom_desc *desc,
67  struct board_info *board_info);
68 
69 #endif /* end of BOARD_INFO_H_ */
int32_t read_board_info(struct no_os_eeprom_desc *desc, struct board_info *board_info)
Read board information from EEPROM.
Definition: board_info.c:83
#define BOARD_NAME_MAX_LEN
Definition: board_info.h:54
#define BOARD_ID_MAX_LEN
Definition: board_info.h:53
Definition: board_info.h:61
char board_name[BOARD_NAME_MAX_LEN]
Definition: board_info.h:63
char board_id[BOARD_ID_MAX_LEN]
Definition: board_info.h:62