Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Configuration data union. More...

#include <drv2605.h>

Data Fields

struct drv2605_rom_datarom_data
 Pointer to ROM configuration data.
 
struct drv2605_rtp_datartp_data
 Pointer to RTP configuration data.
 

Detailed Description

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().

Field Documentation

◆ rom_data

struct drv2605_rom_data* drv2605_config_data::rom_data

Pointer to ROM configuration data.

Use when source is DRV2605_HAPTICS_SOURCE_ROM

◆ rtp_data

struct drv2605_rtp_data* drv2605_config_data::rtp_data

Pointer to RTP configuration data.

Use when source is DRV2605_HAPTICS_SOURCE_RTP


The documentation for this union was generated from the following file: