RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches
EMC1413.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2025 Efinix Inc. All rights reserved.
3// Full license header bsp/efinix/EfxSapphireSocRV64/include/LICENSE.MD
5
6#ifndef TEMPERATURE_DRIVER_EMC1413_H_
7#define TEMPERATURE_DRIVER_EMC1413_H_
8
19
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
35
44
45/* ========================================================================== */
46/* SUB-GROUP : REGISTER DEFINITIONS */
47/* ========================================================================== */
48
59 #define MUX_ADDR 0x71<<1
63 #define TEMP_EMC1413_ADDR 0x4C<<1
64 // End of EMC1413_Macros group
66
67/* ========================================================================== */
68/* SUB-GROUP : Driver Definition */
69/* ========================================================================== */
70
95 // End of EMC1413_DRV group
97
98/* ========================================================================== */
99/* SUB-GROUP: FUNCTIONS */
100/* ========================================================================== */
101
158 // End of EMC1413_Funcs group
160#ifdef __cplusplus
161}
162#endif // C_plusplus
163 // End of MAIN EMC1413 Group
165 // End of MAIN Supported_TEMP_SENSOR Group
167#endif // EMC1413_H_
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
u8 EMC1413_checkTempRange(temp_sensor_instance_t *temp)
Check if temperature is within range for EMC1413 Temperature Sensor.
Definition EMC1413.c:236
temp_sensor_status_t EMC1413_checkTempAlert(temp_sensor_instance_t *temp)
Check for temperature alerts from EMC1413 Temperature Sensor.
Definition EMC1413.c:226
temp_sensor_status_t EMC1413_setTempLimit(temp_sensor_instance_t *temp)
Set temperature limits for EMC1413 Temperature Sensor.
Definition EMC1413.c:199
temp_sensor_status_t EMC1413_enableErrorInterrupt(temp_sensor_instance_t *temp)
Enable error interrupt for EMC1413 Temperature Sensor.
Definition EMC1413.c:124
temp_sensor_status_t EMC1413_setTempRange(temp_sensor_instance_t *temp, u8 enable_extended)
Set temperature range for EMC1413 Temperature Sensor.
Definition EMC1413.c:184
temp_sensor_status_t EMC1413_getTempLimit(temp_sensor_instance_t *temp)
Get temperature limits from EMC1413 Temperature Sensor.
Definition EMC1413.c:144
temp_sensor_status_t EMC1413_getTemp(temp_sensor_instance_t *temp)
Get temperature from EMC1413 Temperature Sensor.
Definition EMC1413.c:131
temp_sensor_status_t EMC1413_applyConfig(temp_sensor_instance_t *temp)
Apply I2C + Temp Sensor configuration.
Definition EMC1413.c:118
temp_sensor_status_t
Temperature Sensor Status List.
Definition temp_sensor.h:91
struct temp_sensor_instance temp_sensor_instance_t
Forward declaration of Temperature Sensor instance.
Temperature Sensor API structure.
Temperature Sensor driver API definitions.
uint8_t u8
Definition type.h:30