Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Configuration data union. More...
#include <drv2605.h>
Data Fields | |
struct drv2605_rom_data * | rom_data |
Pointer to ROM configuration data. | |
struct drv2605_rtp_data * | rtp_data |
Pointer to RTP configuration data. | |
Configuration data union.
This union holds a pointer to the specific configuration data struct required for the selected haptic source. The correct member must be populated before calling drv2605_haptic_config().
struct drv2605_rom_data* drv2605_config_data::rom_data |
Pointer to ROM configuration data.
Use when source is DRV2605_HAPTICS_SOURCE_ROM
struct drv2605_rtp_data* drv2605_config_data::rtp_data |
Pointer to RTP configuration data.
Use when source is DRV2605_HAPTICS_SOURCE_RTP