gyro9 2.1.0.0
gyro9_s Struct Reference

Gyro 9 Click context object. More...

#include <gyro9.h>

Data Fields

digital_in_t dr
 
digital_in_t int_pin
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
gyro9_drv_t drv_sel
 
gyro9_master_io_t write_f
 
gyro9_master_io_t read_f
 

Detailed Description

Gyro 9 Click context object.

Context object definition of Gyro 9 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ dr

digital_in_t dr

Data ready pin.

◆ drv_sel

gyro9_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ read_f

Master read function.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ write_f

Master write function.


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