#include "hal/Types.h"
#include "hal/Value.h"
Go to the source code of this file.
|
| void | HALSIM_SetSimDeviceEnabled (const char *prefix, HAL_Bool enabled) |
| |
| HAL_Bool | HALSIM_IsSimDeviceEnabled (const char *name) |
| |
| int32_t | HALSIM_RegisterSimDeviceCreatedCallback (const char *prefix, void *param, HALSIM_SimDeviceCallback callback, HAL_Bool initialNotify) |
| |
| void | HALSIM_CancelSimDeviceCreatedCallback (int32_t uid) |
| |
| int32_t | HALSIM_RegisterSimDeviceFreedCallback (const char *prefix, void *param, HALSIM_SimDeviceCallback callback, HAL_Bool initialNotify) |
| |
| void | HALSIM_CancelSimDeviceFreedCallback (int32_t uid) |
| |
| HAL_SimDeviceHandle | HALSIM_GetSimDeviceHandle (const char *name) |
| |
| const char * | HALSIM_GetSimDeviceName (HAL_SimDeviceHandle handle) |
| |
| HAL_SimDeviceHandle | HALSIM_GetSimValueDeviceHandle (HAL_SimValueHandle handle) |
| |
| void | HALSIM_EnumerateSimDevices (const char *prefix, void *param, HALSIM_SimDeviceCallback callback) |
| |
| int32_t | HALSIM_RegisterSimValueCreatedCallback (HAL_SimDeviceHandle device, void *param, HALSIM_SimValueCallback callback, HAL_Bool initialNotify) |
| |
| void | HALSIM_CancelSimValueCreatedCallback (int32_t uid) |
| |
| int32_t | HALSIM_RegisterSimValueChangedCallback (HAL_SimValueHandle handle, void *param, HALSIM_SimValueCallback callback, HAL_Bool initialNotify) |
| |
| void | HALSIM_CancelSimValueChangedCallback (int32_t uid) |
| |
| int32_t | HALSIM_RegisterSimValueResetCallback (HAL_SimValueHandle handle, void *param, HALSIM_SimValueCallback callback, HAL_Bool initialNotify) |
| | Register a callback for HAL_SimValueReset().
|
| |
| void | HALSIM_CancelSimValueResetCallback (int32_t uid) |
| |
| HAL_SimValueHandle | HALSIM_GetSimValueHandle (HAL_SimDeviceHandle device, const char *name) |
| |
| void | HALSIM_EnumerateSimValues (HAL_SimDeviceHandle device, void *param, HALSIM_SimValueCallback callback) |
| |
| const char ** | HALSIM_GetSimValueEnumOptions (HAL_SimValueHandle handle, int32_t *numOptions) |
| |
| const double * | HALSIM_GetSimValueEnumDoubleValues (HAL_SimValueHandle handle, int32_t *numOptions) |
| |
| void | HALSIM_ResetSimDeviceData (void) |
| |
◆ HALSIM_SimDeviceCallback
| typedef void(* HALSIM_SimDeviceCallback) (const char *name, void *param, HAL_SimDeviceHandle handle) |
◆ HALSIM_SimValueCallback
| typedef void(* HALSIM_SimValueCallback) (const char *name, void *param, HAL_SimValueHandle handle, int32_t direction, const struct HAL_Value *value) |
◆ HALSIM_CancelSimDeviceCreatedCallback()
| void HALSIM_CancelSimDeviceCreatedCallback |
( |
int32_t | uid | ) |
|
◆ HALSIM_CancelSimDeviceFreedCallback()
| void HALSIM_CancelSimDeviceFreedCallback |
( |
int32_t | uid | ) |
|
◆ HALSIM_CancelSimValueChangedCallback()
| void HALSIM_CancelSimValueChangedCallback |
( |
int32_t | uid | ) |
|
◆ HALSIM_CancelSimValueCreatedCallback()
| void HALSIM_CancelSimValueCreatedCallback |
( |
int32_t | uid | ) |
|
◆ HALSIM_CancelSimValueResetCallback()
| void HALSIM_CancelSimValueResetCallback |
( |
int32_t | uid | ) |
|
◆ HALSIM_EnumerateSimDevices()
◆ HALSIM_EnumerateSimValues()
◆ HALSIM_GetSimDeviceHandle()
◆ HALSIM_GetSimDeviceName()
◆ HALSIM_GetSimValueDeviceHandle()
◆ HALSIM_GetSimValueEnumDoubleValues()
| const double * HALSIM_GetSimValueEnumDoubleValues |
( |
HAL_SimValueHandle | handle, |
|
|
int32_t * | numOptions ) |
◆ HALSIM_GetSimValueEnumOptions()
| const char ** HALSIM_GetSimValueEnumOptions |
( |
HAL_SimValueHandle | handle, |
|
|
int32_t * | numOptions ) |
◆ HALSIM_GetSimValueHandle()
◆ HALSIM_IsSimDeviceEnabled()
| HAL_Bool HALSIM_IsSimDeviceEnabled |
( |
const char * | name | ) |
|
◆ HALSIM_RegisterSimDeviceCreatedCallback()
◆ HALSIM_RegisterSimDeviceFreedCallback()
◆ HALSIM_RegisterSimValueChangedCallback()
◆ HALSIM_RegisterSimValueCreatedCallback()
◆ HALSIM_RegisterSimValueResetCallback()
Register a callback for HAL_SimValueReset().
The callback is called with the old value.
- Parameters
-
| handle | simulated value handle |
| param | parameter for callback |
| callback | callback |
| initialNotify | ignored (present for consistency) |
◆ HALSIM_ResetSimDeviceData()
| void HALSIM_ResetSimDeviceData |
( |
void | | ) |
|
◆ HALSIM_SetSimDeviceEnabled()
| void HALSIM_SetSimDeviceEnabled |
( |
const char * | prefix, |
|
|
HAL_Bool | enabled ) |