|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
CS40L5x configuration structure for a device instance. More...
#include <zephyr/drivers/haptics/cs40l5x.h>
Public Member Functions | |
| LOG_INSTANCE_PTR_DECLARE (log) | |
| Control port devices. | |
Data Fields | |
| const struct device *const | dev |
| < Pointer to CS40L5x device instance | |
| struct cs40l5x_data *const | data |
| Logger configuration for instance-based logging. | |
| const struct cs40l5x_bus | bus |
| Control port I/O functions. | |
| const struct cs40l5x_bus_io *const | bus_io |
| Required GPIO for hardware resets. | |
| struct gpio_dt_spec | reset_gpio |
| Optional GPIO for hardware and DSP interrupts. | |
| struct gpio_dt_spec | interrupt_gpio |
| Optional GPIOs for edge-triggered haptic effects. | |
| struct cs40l5x_trigger_gpios | trigger_gpios |
| Optional flash storage, configurable via devicetree property 'flash-storage'. | |
| const struct device * | flash |
| Optional flash register offset, configurable via devicetree property 'flash-offset'. | |
| const off_t | flash_offset |
| Boost setting, configurable via devicetree property 'external-boost'. | |
| const struct device *const | external_boost |
CS40L5x configuration structure for a device instance.
| cs40l5x_config::LOG_INSTANCE_PTR_DECLARE | ( | log | ) |
Control port devices.
| const struct cs40l5x_bus cs40l5x_config::bus |
Control port I/O functions.
| const struct cs40l5x_bus_io* const cs40l5x_config::bus_io |
Required GPIO for hardware resets.
| struct cs40l5x_data* const cs40l5x_config::data |
Logger configuration for instance-based logging.
| const struct device* const cs40l5x_config::dev |
< Pointer to CS40L5x device instance
Pointer to data structure for CS40L5x device instance
| const struct device* const cs40l5x_config::external_boost |
| const struct device* cs40l5x_config::flash |
Optional flash register offset, configurable via devicetree property 'flash-offset'.
| const off_t cs40l5x_config::flash_offset |
Boost setting, configurable via devicetree property 'external-boost'.
| struct gpio_dt_spec cs40l5x_config::interrupt_gpio |
Optional GPIOs for edge-triggered haptic effects.
| struct gpio_dt_spec cs40l5x_config::reset_gpio |
Optional GPIO for hardware and DSP interrupts.
| struct cs40l5x_trigger_gpios cs40l5x_config::trigger_gpios |
Optional flash storage, configurable via devicetree property 'flash-storage'.