OpenBIC
OpenSource Bridge-IC
nvme.h File Reference
#include <stdint.h>
Include dependency graph for nvme.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NVME_TEMP_OFFSET   0x00
 
#define NVME_CORE_VOLTAGE_1_OFFSET   0x71
 
#define NVME_CORE_VOLTAGE_2_OFFSET   0x73
 
#define NVME_VOLTAGE_RAIL_1_OFFSET   0x75
 
#define NVME_VOLTAGE_RAIL_2_OFFSET   0x77
 

Functions

int read_nvme_info (uint8_t bus, uint8_t addr, uint8_t offset, uint8_t read_len, uint8_t *data)
 
uint8_t nvme_init (sensor_cfg *cfg)
 

Macro Definition Documentation

◆ NVME_CORE_VOLTAGE_1_OFFSET

#define NVME_CORE_VOLTAGE_1_OFFSET   0x71

◆ NVME_CORE_VOLTAGE_2_OFFSET

#define NVME_CORE_VOLTAGE_2_OFFSET   0x73

◆ NVME_TEMP_OFFSET

#define NVME_TEMP_OFFSET   0x00

◆ NVME_VOLTAGE_RAIL_1_OFFSET

#define NVME_VOLTAGE_RAIL_1_OFFSET   0x75

◆ NVME_VOLTAGE_RAIL_2_OFFSET

#define NVME_VOLTAGE_RAIL_2_OFFSET   0x77

Function Documentation

◆ nvme_init()

uint8_t nvme_init ( sensor_cfg cfg)
Here is the call graph for this function:

◆ read_nvme_info()

int read_nvme_info ( uint8_t  bus,
uint8_t  addr,
uint8_t  offset,
uint8_t  read_len,
uint8_t *  data 
)
Here is the call graph for this function: