LibDriver BMP384
Loading...
Searching...
No Matches
bmp384 interrupt driver function

bmp384 interrupt driver modules More...

Collaboration diagram for bmp384 interrupt driver function:

Functions

uint8_t bmp384_get_interrupt_status (bmp384_handle_t *handle, uint8_t *status)
 get the interrupt status
uint8_t bmp384_set_interrupt_pin_type (bmp384_handle_t *handle, bmp384_interrupt_pin_type_t pin_type)
 set the interrupt pin type
uint8_t bmp384_get_interrupt_pin_type (bmp384_handle_t *handle, bmp384_interrupt_pin_type_t *pin_type)
 get the interrupt pin type
uint8_t bmp384_set_interrupt_active_level (bmp384_handle_t *handle, bmp384_interrupt_active_level_t level)
 set the interrupt active level
uint8_t bmp384_get_interrupt_active_level (bmp384_handle_t *handle, bmp384_interrupt_active_level_t *level)
 get the interrupt active level
uint8_t bmp384_set_latch_interrupt_pin_and_interrupt_status (bmp384_handle_t *handle, bmp384_bool_t enable)
 enable or disable latching interrupt pin and interrupt status
uint8_t bmp384_get_latch_interrupt_pin_and_interrupt_status (bmp384_handle_t *handle, bmp384_bool_t *enable)
 get latching interrupt pin and interrupt status
uint8_t bmp384_set_interrupt_fifo_watermark (bmp384_handle_t *handle, bmp384_bool_t enable)
 enable or disable the fifo watermark interrupt
uint8_t bmp384_get_interrupt_fifo_watermark (bmp384_handle_t *handle, bmp384_bool_t *enable)
 get the interrupt fifo watermark
uint8_t bmp384_set_interrupt_fifo_full (bmp384_handle_t *handle, bmp384_bool_t enable)
 enable or disable the fifo full interrupt
uint8_t bmp384_get_interrupt_fifo_full (bmp384_handle_t *handle, bmp384_bool_t *enable)
 get the interrupt fifo full
uint8_t bmp384_set_interrupt_data_ready (bmp384_handle_t *handle, bmp384_bool_t enable)
 enable or disable the data ready interrupt
uint8_t bmp384_get_interrupt_data_ready (bmp384_handle_t *handle, bmp384_bool_t *enable)
 get the interrupt data ready status

Detailed Description

bmp384 interrupt driver modules

Function Documentation

◆ bmp384_get_interrupt_active_level()

uint8_t bmp384_get_interrupt_active_level ( bmp384_handle_t * handle,
bmp384_interrupt_active_level_t * level )

get the interrupt active level

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*levelpointer to an interrupt active level buffer
Returns
status code
  • 0 success
  • 1 get interrupt active level failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1421 of file driver_bmp384.c.

◆ bmp384_get_interrupt_data_ready()

uint8_t bmp384_get_interrupt_data_ready ( bmp384_handle_t * handle,
bmp384_bool_t * enable )

get the interrupt data ready status

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*enablepointer to a bool buffer
Returns
status code
  • 0 success
  • 1 get interrupt data ready failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1749 of file driver_bmp384.c.

◆ bmp384_get_interrupt_fifo_full()

uint8_t bmp384_get_interrupt_fifo_full ( bmp384_handle_t * handle,
bmp384_bool_t * enable )

get the interrupt fifo full

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*enablepointer to a bool buffer
Returns
status code
  • 0 success
  • 1 get interrupt fifo full failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1667 of file driver_bmp384.c.

◆ bmp384_get_interrupt_fifo_watermark()

uint8_t bmp384_get_interrupt_fifo_watermark ( bmp384_handle_t * handle,
bmp384_bool_t * enable )

get the interrupt fifo watermark

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*enablepointer to a bool buffer
Returns
status code
  • 0 success
  • 1 get interrupt fifo watermark failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1585 of file driver_bmp384.c.

◆ bmp384_get_interrupt_pin_type()

uint8_t bmp384_get_interrupt_pin_type ( bmp384_handle_t * handle,
bmp384_interrupt_pin_type_t * pin_type )

get the interrupt pin type

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*pin_typepointer to an interrupt pin type buffer
Returns
status code
  • 0 success
  • 1 get interrupt pin type failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1339 of file driver_bmp384.c.

◆ bmp384_get_interrupt_status()

uint8_t bmp384_get_interrupt_status ( bmp384_handle_t * handle,
uint8_t * status )

get the interrupt status

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*statuspointer to a status buffer
Returns
status code
  • 0 success
  • 1 get interrupt status failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 531 of file driver_bmp384.c.

◆ bmp384_get_latch_interrupt_pin_and_interrupt_status()

uint8_t bmp384_get_latch_interrupt_pin_and_interrupt_status ( bmp384_handle_t * handle,
bmp384_bool_t * enable )

get latching interrupt pin and interrupt status

Parameters
[in]*handlepointer to a bmp384 handle structure
[out]*enablepointer to a bool buffer
Returns
status code
  • 0 success
  • 1 get latch interrupt pin and interrupt status failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1503 of file driver_bmp384.c.

◆ bmp384_set_interrupt_active_level()

uint8_t bmp384_set_interrupt_active_level ( bmp384_handle_t * handle,
bmp384_interrupt_active_level_t level )

set the interrupt active level

Parameters
[in]*handlepointer to a bmp384 handle structure
[in]levelinterrupt active level
Returns
status code
  • 0 success
  • 1 set interrupt active level failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1376 of file driver_bmp384.c.

◆ bmp384_set_interrupt_data_ready()

uint8_t bmp384_set_interrupt_data_ready ( bmp384_handle_t * handle,
bmp384_bool_t enable )

enable or disable the data ready interrupt

Parameters
[in]*handlepointer to a bmp384 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set interrupt data ready failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1704 of file driver_bmp384.c.

◆ bmp384_set_interrupt_fifo_full()

uint8_t bmp384_set_interrupt_fifo_full ( bmp384_handle_t * handle,
bmp384_bool_t enable )

enable or disable the fifo full interrupt

Parameters
[in]*handlepointer to a bmp384 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set interrupt fifo full failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1622 of file driver_bmp384.c.

◆ bmp384_set_interrupt_fifo_watermark()

uint8_t bmp384_set_interrupt_fifo_watermark ( bmp384_handle_t * handle,
bmp384_bool_t enable )

enable or disable the fifo watermark interrupt

Parameters
[in]*handlepointer to a bmp384 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set interrupt fifo watermark failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1540 of file driver_bmp384.c.

◆ bmp384_set_interrupt_pin_type()

uint8_t bmp384_set_interrupt_pin_type ( bmp384_handle_t * handle,
bmp384_interrupt_pin_type_t pin_type )

set the interrupt pin type

Parameters
[in]*handlepointer to a bmp384 handle structure
[in]pin_typeinterrupt pin type
Returns
status code
  • 0 success
  • 1 set interrupt pin type failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1294 of file driver_bmp384.c.

◆ bmp384_set_latch_interrupt_pin_and_interrupt_status()

uint8_t bmp384_set_latch_interrupt_pin_and_interrupt_status ( bmp384_handle_t * handle,
bmp384_bool_t enable )

enable or disable latching interrupt pin and interrupt status

Parameters
[in]*handlepointer to a bmp384 handle structure
[in]enablebool value
Returns
status code
  • 0 success
  • 1 set latch interrupt pin and interrupt status failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1458 of file driver_bmp384.c.