pressure23 2.1.0.0
pressure23_s Struct Reference

Pressure 23 Click context object. More...

#include <pressure23.h>

Data Fields

digital_in_t int_pin
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
pressure23_drv_t drv_sel
 
uint32_t prom_serial_num
 
uint8_t prom_product_id
 
uint8_t prom_crc
 
uint16_t prom_c1
 
uint16_t prom_c2
 
uint16_t prom_c3
 
uint16_t prom_c4
 
uint16_t prom_c5
 
uint16_t prom_c6
 
uint16_t prom_c7
 
uint16_t prom_c8
 
uint16_t prom_c9
 
uint16_t prom_c10
 
uint8_t osr_press
 
uint8_t osr_temp
 
pressure23_master_io_t write_f
 
pressure23_master_io_t read_f
 

Detailed Description

Pressure 23 Click context object.

Context object definition of Pressure 23 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ osr_press

uint8_t osr_press

Pressure conversion time.

◆ osr_temp

uint8_t osr_temp

Temperature conversion time.

◆ prom_c1

uint16_t prom_c1

First order of temperature sensitivity to D2.

◆ prom_c10

uint16_t prom_c10

Second order of pressure sensitivity.

◆ prom_c2

uint16_t prom_c2

Zero order of temperature sensitivity.

◆ prom_c3

uint16_t prom_c3

First order of temperature sensitivity to D1.

◆ prom_c4

uint16_t prom_c4

Second order of temperature sensitivity at low temperature.

◆ prom_c5

uint16_t prom_c5

Second order of temperature sensitivity at high temperature.

◆ prom_c6

uint16_t prom_c6

Zero order of pressure sensitivity to D1 and zero order to temp.

◆ prom_c7

uint16_t prom_c7

Zero order of pressure sensitivity to D1 and first order to temp.

◆ prom_c8

uint16_t prom_c8

First order of pressure sensitivity to D1 and zero order to temp.

◆ prom_c9

uint16_t prom_c9

First order of pressure sensitivity to D1 and first order to temp.

◆ prom_crc

uint8_t prom_crc

8-bit CRC.

◆ prom_product_id

uint8_t prom_product_id

Product ID.

◆ prom_serial_num

uint32_t prom_serial_num

Serial number.

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