LibDriver BMP390
Loading...
Searching...
No Matches
bmp390 extern driver function

bmp390 extern driver modules More...

Collaboration diagram for bmp390 extern driver function:

Functions

uint8_t bmp390_set_reg (bmp390_handle_t *handle, uint8_t reg, uint8_t value)
 set the chip register
uint8_t bmp390_get_reg (bmp390_handle_t *handle, uint8_t reg, uint8_t *value)
 get the chip register

Detailed Description

bmp390 extern driver modules

Function Documentation

◆ bmp390_get_reg()

uint8_t bmp390_get_reg ( bmp390_handle_t * handle,
uint8_t reg,
uint8_t * value )

get the chip register

Parameters
[in]*handlepointer to a bmp390 handle structure
[in]regiic register address
[out]*valuepointer to a read data buffer
Returns
status code
  • 0 success
  • 1 read failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 3881 of file driver_bmp390.c.

◆ bmp390_set_reg()

uint8_t bmp390_set_reg ( bmp390_handle_t * handle,
uint8_t reg,
uint8_t value )

set the chip register

Parameters
[in]*handlepointer to a bmp390 handle structure
[in]regiic register address
[in]valuedata written to the register
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 3855 of file driver_bmp390.c.