![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
bmp3 device structure More...
#include <bmp3_defs.h>

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 |
bmp3 device structure
Definition at line 894 of file bmp3_defs.h.
| 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().
| uint8_t bmp3_dev::chip_id |
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().