mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 15:23:34 +08:00
new Bosch BMI055 IMU driver using FIFOs and DRDY
- accel & gyro FIFOs enabled - FIFO watermark on data ready interrupt - sensor side filtering completely disabled - gyro now respects `IMU_GYRO_RATEMAX` (up to 2 kHz) - saves a few % cpu (at default rate)
This commit is contained in:
@@ -103,7 +103,7 @@ __BEGIN_DECLS
|
||||
|
||||
/* imxrt_gpiosetevent is not implemented and will need to be added */
|
||||
|
||||
#define px4_arch_gpiosetevent(pinset,r,f,e,fp,a) imxrt_gpiosetevent(pinset,r,f,e,fp,a)
|
||||
#define px4_arch_gpiosetevent(pinset,r,f,e,fp,a) (-1)
|
||||
|
||||
#define PX4_MAKE_GPIO_INPUT(gpio) (((gpio) & (GPIO_PORT_MASK | GPIO_PIN_MASK)) | (GPIO_INPUT | IOMUX_SCHMITT_TRIGGER | IOMUX_PULL_UP_47K | IOMUX_DRIVE_HIZ))
|
||||
#define PX4_MAKE_GPIO_OUTPUT(gpio) (((gpio) & (GPIO_PORT_MASK | GPIO_PIN_MASK)) | (GPIO_OUTPUT | GPIO_OUTPUT_ZERO | IOMUX_CMOS_OUTPUT | IOMUX_PULL_KEEP | IOMUX_DRIVE_33OHM | IOMUX_SPEED_MEDIUM | IOMUX_SLEW_FAST))
|
||||
|
||||
Reference in New Issue
Block a user