proximity12 2.0.0.0
proximity12_cfg_t Struct Reference

Proximity 12 Click configuration object. More...

#include <proximity12.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t syn
 
pin_name_t gp1
 
pin_name_t gp2
 
pin_name_t int_pin
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

Proximity 12 Click configuration object.

Configuration object definition of Proximity 12 Click driver.

Field Documentation

◆ gp1

pin_name_t gp1

GPIO 1 pin.

◆ gp2

pin_name_t gp2

GPIO 2 pin.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ int_pin

pin_name_t int_pin

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.

◆ syn

pin_name_t syn

VSYNC pin.


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