1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00

SPRACING32/NAZE32 - Add support for MPU6050 data ready interrupt.

Currently the interrupt handler is unused.  Later it can be used as a
potential source for watchdog checking or to syncronize the system
around new acc/gyro data availability.

Verified on Naze32 rev 3/4/5 and SPRacingF3 targets.
This commit is contained in:
Dominic Clifton 2015-04-11 19:18:11 +01:00
parent d3d9721e91
commit c11c25514b
10 changed files with 157 additions and 20 deletions

View file

@ -35,3 +35,7 @@ bool isMPUSoftReset(void);
void enableGPIOPowerUsageAndNoiseReductions(void);
// current crystal frequency - 8 or 12MHz
extern uint32_t hse_value;
typedef void extiCallbackHandler(void);
void registerExti15_10_CallbackHandler(extiCallbackHandler *fn);