|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Header file providing the API for the DRV2605 haptic driver. More...
Go to the source code of this file.
Data Structures | |
| struct | drv2605_rom_data |
| ROM data configuration. More... | |
| struct | drv2605_rtp_data |
| Real-Time Playback (RTP) data configuration. More... | |
| union | drv2605_config_data |
| Configuration data union. More... | |
Macros | |
Helpers | |
| #define | DRV2605_WAVEFORM_SEQUENCER_MAX 8 |
| Maximum number of waveforms that can be stored in the sequencer. | |
| #define | DRV2605_WAVEFORM_SEQUENCER_WAIT_MS(ms) |
| Creates a wait/delay value for the waveform sequencer. | |
Enumerations | |
| enum | drv2605_library { DRV2605_LIBRARY_EMPTY = 0 , DRV2605_LIBRARY_TS2200_A , DRV2605_LIBRARY_TS2200_B , DRV2605_LIBRARY_TS2200_C , DRV2605_LIBRARY_TS2200_D , DRV2605_LIBRARY_TS2200_E , DRV2605_LIBRARY_LRA } |
| Effect libraries. More... | |
| enum | drv2605_mode { DRV2605_MODE_INTERNAL_TRIGGER = 0 , DRV2605_MODE_EXTERNAL_EDGE_TRIGGER , DRV2605_MODE_EXTERNAL_LEVEL_TRIGGER , DRV2605_MODE_PWM_ANALOG_INPUT , DRV2605_MODE_AUDIO_TO_VIBE , DRV2605_MODE_RTP , DRV2605_MODE_DIAGNOSTICS , DRV2605_MODE_AUTO_CAL } |
| Modes of operation. More... | |
| enum | drv2605_haptics_source { DRV2605_HAPTICS_SOURCE_ROM , DRV2605_HAPTICS_SOURCE_RTP , DRV2605_HAPTICS_SOURCE_AUDIO , DRV2605_HAPTICS_SOURCE_PWM , DRV2605_HAPTICS_SOURCE_ANALOG } |
| Types of haptic signal sources. More... | |
Functions | |
| int | drv2605_haptic_config (const struct device *dev, enum drv2605_haptics_source source, const union drv2605_config_data *config_data) |
| Configure the DRV2605 device for a particular signal source. | |
Header file providing the API for the DRV2605 haptic driver.