SparkFun BMI330 Arduino Library  v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
Loading...
Searching...
No Matches
sfe_bmi330_int_pin_config_t Struct Reference

Electrical configuration of an interrupt pin. More...

#include <sfDevBMI330.h>

Public Attributes

bool enabled = true
 Drive the pin at all. False leaves it high-impedance. More...
 
bool activeHigh = true
 true: idle low, assert high. false: idle high, assert low. More...
 
bool openDrain = false
 true: open-drain output (needs a pull-up). false: push-pull. More...
 

Detailed Description

Electrical configuration of an interrupt pin.

Defaults match the SparkFun Qwiic BMI330 breakout: push-pull, active high, pulsed. Use open-drain with activeHigh false when several devices share one interrupt line into the host - the board has no interrupt pull-up fitted, so supply one externally if you do.

Member Data Documentation

◆ activeHigh

bool sfe_bmi330_int_pin_config_t::activeHigh = true

true: idle low, assert high. false: idle high, assert low.

◆ enabled

bool sfe_bmi330_int_pin_config_t::enabled = true

Drive the pin at all. False leaves it high-impedance.

◆ openDrain

bool sfe_bmi330_int_pin_config_t::openDrain = false

true: open-drain output (needs a pull-up). false: push-pull.


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