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
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
30
39
40/* ========================================================================== */
41/* SUB-GROUP : REGISTER DEFINITIONS */
42/* ========================================================================== */
43
54 #define MUX_ADDR 0x71<<1
58 #define TEMP_EMC1413_ADDR 0x4C<<1
59 // End of EMC1413_Macros group
61
62/* ========================================================================== */
63/* SUB-GROUP : Driver Definition */
64/* ========================================================================== */
65
90 // End of EMC1413_DRV group
92
93/* ========================================================================== */
94/* SUB-GROUP: FUNCTIONS */
95/* ========================================================================== */
96
141 // End of EMC1413_Funcs group
143#ifdef __cplusplus
144}
145#endif // C_plusplus
146 // End of MAIN EMC1413 Group
148 // End of MAIN Supported_TEMP_SENSOR Group
150#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
temp_sensor_status_t emc1413_getTemp(temp_sensor_instance_t *temp)
Get temperature from EMC1413 Temperature Sensor.
Definition EMC1413.c:123
temp_sensor_status_t emc1413_checkTempAlert(temp_sensor_instance_t *temp)
Check for temperature alerts from EMC1413 Temperature Sensor.
Definition EMC1413.c:254
temp_sensor_status_t emc1413_setTempRange(temp_sensor_instance_t *temp, u8 enable_extended)
Set temperature range for EMC1413 Temperature Sensor.
Definition EMC1413.c:194
temp_sensor_status_t emc1413_getTempLimit(temp_sensor_instance_t *temp)
Get temperature limits from EMC1413 Temperature Sensor.
Definition EMC1413.c:144
u8 emc1413_checkTempRange(temp_sensor_instance_t *temp)
Check if temperature is within range for EMC1413 Temperature Sensor.
Definition EMC1413.c:272
temp_sensor_status_t emc1413_setTempLimit(temp_sensor_instance_t *temp)
Set temperature limits for EMC1413 Temperature Sensor.
Definition EMC1413.c:217
temp_sensor_status_t
Temperature Sensor Status List.
Definition temp_sensor.h:59
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:26