Software APIs
sensor_ctrl_testutils.h
1// Copyright lowRISC contributors (OpenTitan project).
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5#ifndef OPENTITAN_SW_DEVICE_LIB_TESTING_SENSOR_CTRL_TESTUTILS_H_
6#define OPENTITAN_SW_DEVICE_LIB_TESTING_SENSOR_CTRL_TESTUTILS_H_
7
8#include <assert.h>
9#include <stdint.h>
10
12
13/**
14 * Returns true if ast_init is done.
15 *
16 * @param sensor_ctrl A sensor_ctrl handle.
17 * @return True is ast_init is done.
18 */
19bool sensor_ctrl_ast_init_done(const dif_sensor_ctrl_t *sensor_ctrl);
20
21#endif // OPENTITAN_SW_DEVICE_LIB_TESTING_SENSOR_CTRL_TESTUTILS_H_