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

Overview

This is the EMC1413 driver structure.

Variables

const temp_sensor_api_t emc1413_driver
 EMC1413 Driver Instance. Point your generic Temperature Sensor pointer to this structure to use the EMC1413.

Variable Documentation

◆ emc1413_driver

const temp_sensor_api_t emc1413_driver
extern

#include <EMC1413.h>

EMC1413 Driver Instance. Point your generic Temperature Sensor pointer to this structure to use the EMC1413.

Note
Implements the following hooks from temp_sensor_api_t:
  • getTemp: Reads temperature value from sensor, implemented by emc1413_getTemp.
  • getTempLimit: Reads temperature limit values from sensor, implemented by emc1413_getTempLimit.
  • setTempRange: Sets the temperature range mode, implemented by emc1413_setTempRange.
  • setTempLimit: Sets the temperature limit values, implemented by emc1413_setTempLimit.
  • checkTempRange: Checks if temperature is within range, implemented by emc1413_checkTempRange.
  • checkTempAlert: Checks for temperature alerts, implemented by emc1413_checkTempAlert.
See also
temp_sensor_api_t
// Example Usage:
my_temp->getTemp(&t);
const temp_sensor_api_t emc1413_driver
EMC1413 Driver Instance. Point your generic Temperature Sensor pointer to this structure to use the E...
Definition EMC1413.c:89
Temperature Sensor API structure.
temp_sensor_status_t(* getTemp)(temp_sensor_instance_t *temp)

Definition at line 89 of file EMC1413.c.