![]() |
TT-System-Firmware APIs 19.13.99
Tenstorrent Firmware
|
#include <zephyr/device.h>#include <zephyr/drivers/sensor.h>#include <zephyr/drivers/sensor/tenstorrent/pvt_tt_bh.h>#include <zephyr/logging/log.h>#include <zephyr/rtio/rtio.h>
Data Structures | |
| struct | pvt_tt_bh_emul_config |
| struct | pvt_tt_bh_emul_data |
Macros | |
| #define | DT_DRV_COMPAT tenstorrent_bh_pvt_emul |
| #define | DEFINE_PVT_TT_BH_EMUL(id) |
Functions | |
| LOG_MODULE_REGISTER (pvt_tt_bh_emul, LOG_LEVEL_DBG) | |
| static int | pvt_tt_bh_emul_attr_get (const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr, struct sensor_value *val) |
| static void | pvt_tt_bh_emul_submit (const struct device *sensor, struct rtio_iodev_sqe *sqe) |
| static int | pvt_tt_bh_emul_init (const struct device *dev) |
| int | pvt_tt_bh_emul_set_ts_raw (uint16_t raw) |
| __weak void | pvt_tt_bh_delay_chain_set (uint32_t new_delay_chain_) |
| static | DEVICE_API (sensor, pvt_tt_bh_emul_driver_api) |
| #define DEFINE_PVT_TT_BH_EMUL | ( | id | ) |
| #define DT_DRV_COMPAT tenstorrent_bh_pvt_emul |
|
static |
| LOG_MODULE_REGISTER | ( | pvt_tt_bh_emul | , |
| LOG_LEVEL_DBG | ) |
| __weak void pvt_tt_bh_delay_chain_set | ( | uint32_t | new_delay_chain_ | ) |
|
static |
|
static |
| int pvt_tt_bh_emul_set_ts_raw | ( | uint16_t | raw | ) |
|
static |