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

Function definitions for EMC1413 driver.

Note
This is the public API for the EMC1413 Temperature Sensor device.

Functions

temp_sensor_status_t emc1413_getTemp (temp_sensor_instance_t *temp)
 Get temperature from EMC1413 Temperature Sensor.
temp_sensor_status_t emc1413_getTempLimit (temp_sensor_instance_t *temp)
 Get temperature limits from EMC1413 Temperature Sensor.
u8 emc1413_checkTempRange (temp_sensor_instance_t *temp)
 Check if temperature is within range for EMC1413 Temperature Sensor.
temp_sensor_status_t emc1413_checkTempAlert (temp_sensor_instance_t *temp)
 Check for temperature alerts from EMC1413 Temperature Sensor.
temp_sensor_status_t emc1413_setTempRange (temp_sensor_instance_t *temp, u8 enable_extended)
 Set temperature range for EMC1413 Temperature Sensor.
temp_sensor_status_t emc1413_setTempLimit (temp_sensor_instance_t *temp)
 Set temperature limits for EMC1413 Temperature Sensor.

Function Documentation

◆ emc1413_checkTempAlert()

temp_sensor_status_t emc1413_checkTempAlert ( temp_sensor_instance_t * temp)

#include <EMC1413.h>

Check for temperature alerts from EMC1413 Temperature Sensor.

Parameters
tempPointer to Temperature Sensor instance.
Returns
Status code of the operation.

Definition at line 254 of file EMC1413.c.

◆ emc1413_checkTempRange()

u8 emc1413_checkTempRange ( temp_sensor_instance_t * temp)

#include <EMC1413.h>

Check if temperature is within range for EMC1413 Temperature Sensor.

Parameters
tempPointer to Temperature Sensor instance.
Returns
Status code of the operation.

Definition at line 272 of file EMC1413.c.

◆ emc1413_getTemp()

temp_sensor_status_t emc1413_getTemp ( temp_sensor_instance_t * temp)

#include <EMC1413.h>

Get temperature from EMC1413 Temperature Sensor.

Parameters
tempPointer to Temperature Sensor instance.
Returns
Status code of the operation.

Definition at line 123 of file EMC1413.c.

◆ emc1413_getTempLimit()

temp_sensor_status_t emc1413_getTempLimit ( temp_sensor_instance_t * temp)

#include <EMC1413.h>

Get temperature limits from EMC1413 Temperature Sensor.

Parameters
tempPointer to Temperature Sensor instance.
Returns
Status code of the operation.

Definition at line 144 of file EMC1413.c.

◆ emc1413_setTempLimit()

temp_sensor_status_t emc1413_setTempLimit ( temp_sensor_instance_t * temp)

#include <EMC1413.h>

Set temperature limits for EMC1413 Temperature Sensor.

Parameters
tempPointer to Temperature Sensor instance.
Returns
Status code of the operation.

Definition at line 217 of file EMC1413.c.

◆ emc1413_setTempRange()

temp_sensor_status_t emc1413_setTempRange ( temp_sensor_instance_t * temp,
u8 enable_extended )

#include <EMC1413.h>

Set temperature range for EMC1413 Temperature Sensor.

Parameters
tempPointer to Temperature Sensor instance.
enable_extendedFlag to enable extended temperature range.
Returns
Status code of the operation.

Definition at line 194 of file EMC1413.c.