haptic4 2.1.0.0
haptic4_cfg_t Struct Reference

Haptic 4 Click configuration object. More...

#include <haptic4.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t gp1
 
pin_name_t gp2
 
pin_name_t gp0
 
pin_name_t irq
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

Haptic 4 Click configuration object.

Configuration object definition of Haptic 4 Click driver.

Field Documentation

◆ gp0

pin_name_t gp0

GPI sequence trigger 0.

◆ gp1

pin_name_t gp1

GPI sequence trigger 1.

◆ gp2

pin_name_t gp2

GPI sequence trigger 2.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ irq

pin_name_t irq

Interrupt pin.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.


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