The structure of the Interrupt Status register (register map §4.16).
More...
#include <fastarduino/devices/mpu6050.h>
The structure of the Interrupt Status register (register map §4.16).
Note that this structure is also used as INTEnable
type in order to enable or disable interrupts.
- See also
- MPU6050::interrupt_status()
-
INTEnable
Definition at line 207 of file mpu6050.h.
◆ INTStatus()
constexpr devices::magneto::INTStatus::INTStatus |
( |
bool |
data_ready = false , |
|
|
bool |
overflow = false |
|
) |
| |
|
inlineconstexpr |
Create a new INTStatus configuration value.
- Parameters
-
data_ready | true to enable Data Ready interrupt |
overflow | true to enable FIFO buffer overflow interrupt |
Definition at line 215 of file mpu6050.h.
◆ data_ready()
bool devices::magneto::INTStatus::data_ready |
( |
| ) |
const |
|
inline |
If true
, the Data Ready interrupt is enabled.
Definition at line 219 of file mpu6050.h.
◆ overflow()
bool devices::magneto::INTStatus::overflow |
( |
| ) |
const |
|
inline |
If true
, a FIFO buffer overflow will generate an interrupt.
Definition at line 225 of file mpu6050.h.
The documentation for this class was generated from the following file: