c9dof3 2.0.0.0
c9dof3_s Struct Reference

Click ctx object definition. More...

#include <c9dof3.h>

Data Fields

digital_out_t cs1
 
digital_out_t cs2
 
digital_out_t cs3
 
digital_in_t int_pin
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
c9dof3_drv_t drv_sel
 
c9dof3_master_io_t write_f
 
c9dof3_master_io_t read_f
 
uint8_t sel_mode
 

Detailed Description

Click ctx object definition.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ cs1

digital_out_t cs1

◆ cs2

digital_out_t cs2

◆ cs3

digital_out_t cs3

◆ drv_sel

c9dof3_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

◆ read_f

Master read function.

◆ sel_mode

uint8_t sel_mode

◆ 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: