Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
temp_sensor_instance Struct Reference

#include <temp_sensor.h>

Data Fields

i2c_instance_tinst
 Pointer to I2C instance *‍/.
const temp_sensor_api_tdrv
 Pointer to Temperature Sensor API structure *‍/.
temp_sensor_data_t temp_value
 Temperature Sensor data *‍/.

Detailed Description

Temperature Sensor instance structure.

Note
This structure holds the instance data, driver and i2c setting for an Temperature Sensor peripheral.
  • inst: Pointer to I2C instance used for Temperature Sensor communication.
  • drv: Pointer to Temperature Sensor API structure. Uses function pointers for Temperature Sensor operations.
  • temp_value: Temperature Sensor data structure holding temperature readings.

Definition at line 157 of file temp_sensor.h.

Field Documentation

◆ drv

const temp_sensor_api_t* temp_sensor_instance::drv

Pointer to Temperature Sensor API structure *‍/.

Definition at line 159 of file temp_sensor.h.

◆ inst

i2c_instance_t* temp_sensor_instance::inst

Pointer to I2C instance *‍/.

Definition at line 158 of file temp_sensor.h.

◆ temp_value

temp_sensor_data_t temp_sensor_instance::temp_value

Temperature Sensor data *‍/.

Definition at line 160 of file temp_sensor.h.


The documentation for this struct was generated from the following file:
  • C:/Users/JasonLau/Downloads/workspace_local/GitLab/efx_IP/efx_soc_rv64/embedded_sw/software/standalone/driver/sensor/temp_sensor/temp_sensor.h