Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
bmp3_dev Struct Reference

bmp3 device structure More...

#include <bmp3_defs.h>

Collaboration diagram for bmp3_dev:

Data Fields

uint8_t chip_id
 
void * intf_ptr
 
enum bmp3_intf intf
 
BMP3_INTF_RET_TYPE intf_rslt
 
uint8_t dummy_byte
 
bmp3_read_fptr_t read
 
bmp3_write_fptr_t write
 
bmp3_delay_us_fptr_t delay_us
 
struct bmp3_calib_data calib_data
 

Detailed Description

bmp3 device structure

Definition at line 894 of file bmp3_defs.h.

Field Documentation

◆ calib_data

struct bmp3_calib_data bmp3_dev::calib_data

Trim data

Definition at line 929 of file bmp3_defs.h.

Referenced by bmp3_get_sensor_data(), and parse_calib_data().

◆ chip_id

uint8_t bmp3_dev::chip_id

Chip Id

Definition at line 897 of file bmp3_defs.h.

Referenced by bmp3_init().

◆ delay_us

bmp3_delay_us_fptr_t bmp3_dev::delay_us

Delay function pointer

Definition at line 926 of file bmp3_defs.h.

Referenced by bmp3_fifo_flush(), bmp3_set_op_mode(), bmp3_soft_reset(), and null_ptr_check().

◆ dummy_byte

uint8_t bmp3_dev::dummy_byte

Decide SPI or I2C read mechanism

Definition at line 917 of file bmp3_defs.h.

Referenced by bmp3_get_regs(), and bmp3_init().

◆ intf

enum bmp3_intf bmp3_dev::intf

Interface Selection For SPI, interface = BMP3_SPI_INTF For I2C, interface = BMP3_I2C_INTF

Definition at line 911 of file bmp3_defs.h.

Referenced by bmp3_get_regs(), bmp3_init(), and bmp3_set_regs().

◆ intf_ptr

void* bmp3_dev::intf_ptr

The interface pointer is used to enable the user to link their interface descriptors for reference during the implementation of the read and write interfaces to the hardware.

Definition at line 905 of file bmp3_defs.h.

Referenced by bmp3_fifo_flush(), bmp3_get_regs(), bmp3_set_op_mode(), bmp3_set_regs(), bmp3_soft_reset(), and null_ptr_check().

◆ intf_rslt

BMP3_INTF_RET_TYPE bmp3_dev::intf_rslt

To store interface pointer error

Definition at line 914 of file bmp3_defs.h.

Referenced by bmp3_get_regs(), and bmp3_set_regs().

◆ read

bmp3_read_fptr_t bmp3_dev::read

Read function pointer

Definition at line 920 of file bmp3_defs.h.

Referenced by bmp3_get_regs(), and null_ptr_check().

◆ write

bmp3_write_fptr_t bmp3_dev::write

Write function pointer

Definition at line 923 of file bmp3_defs.h.

Referenced by bmp3_set_regs(), and null_ptr_check().


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