|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Header file providing the API for the CS40L26/27 haptic driver. More...
#include <zephyr/kernel.h>Go to the source code of this file.
Enumerations | |
| enum | cs40l26_bank { CS40L26_ROM_BANK , CS40L26_BUZ_BANK , CS40L26_NO_BANK } |
| Wavetable sources for effects. More... | |
Functions | |
| int | cs40l26_calibrate (const struct device *const dev) |
| Run calibration to derive ReDC and F0 values and apply results for click compensation. | |
| int | cs40l26_configure_buzz (const struct device *const dev, const uint32_t frequency, const uint8_t level, const uint32_t duration) |
| Configure ROM buzz for haptic playback. | |
| int | cs40l26_select_output (const struct device *const dev, const enum cs40l26_bank bank, const uint16_t index) |
| Select haptic effect triggered via haptics_start_output(). | |
| int | cs40l26_set_gain (const struct device *const dev, const uint8_t gain) |
| Configure gain for haptic effects triggered via haptics_start_output(). | |
Header file providing the API for the CS40L26/27 haptic driver.