Home
last modified time | relevance | path

Searched refs:rom_data (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/drivers/haptics/drv2605/src/
Dmain.c22 static struct drv2605_rom_data rom_data = { variable
55 config_data.rom_data = &rom_data; in main()
/Zephyr-latest/drivers/haptics/
Ddrv2605.c239 const struct drv2605_rom_data *rom_data) in drv2605_haptic_config_rom() argument
246 switch (rom_data->trigger) { in drv2605_haptic_config_rom()
251 (uint8_t)rom_data->trigger); in drv2605_haptic_config_rom()
256 data->mode = rom_data->trigger; in drv2605_haptic_config_rom()
263 (uint8_t)rom_data->library); in drv2605_haptic_config_rom()
269 ret = i2c_reg_write_byte_dt(&config->i2c, reg_addr, rom_data->seq_regs[i]); in drv2605_haptic_config_rom()
276 if (rom_data->seq_regs[i] == 0U) { in drv2605_haptic_config_rom()
282 rom_data->overdrive_time); in drv2605_haptic_config_rom()
288 rom_data->sustain_pos_time); in drv2605_haptic_config_rom()
294 rom_data->sustain_neg_time); in drv2605_haptic_config_rom()
[all …]
/Zephyr-latest/include/zephyr/drivers/haptics/
Ddrv2605.h68 struct drv2605_rom_data *rom_data; member