mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
boards: Add fixed sensor polarity configs.
This commit is contained in:
parent
ae517d8436
commit
fc921285c3
@ -165,6 +165,8 @@
|
|||||||
#define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO)
|
#define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO)
|
||||||
#define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO)
|
#define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO)
|
||||||
|
|
||||||
|
#define OMV_CSI_POLARITY_CONFIG { OMV_CSI_ACTIVE_HIGH, OMV_CSI_ACTIVE_LOW }
|
||||||
|
|
||||||
// Physical I2C buses.
|
// Physical I2C buses.
|
||||||
|
|
||||||
// I2C bus 1
|
// I2C bus 1
|
||||||
|
|||||||
@ -165,6 +165,8 @@
|
|||||||
#define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO)
|
#define OMV_CSI_RESET_PIN (&omv_pin_A10_GPIO)
|
||||||
#define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO)
|
#define OMV_CSI_POWER_PIN (&omv_pin_B5_GPIO)
|
||||||
|
|
||||||
|
#define OMV_CSI_POLARITY_CONFIG { OMV_CSI_ACTIVE_HIGH, OMV_CSI_ACTIVE_LOW }
|
||||||
|
|
||||||
// Physical I2C buses.
|
// Physical I2C buses.
|
||||||
|
|
||||||
// I2C bus 1
|
// I2C bus 1
|
||||||
|
|||||||
@ -290,6 +290,8 @@ extern unsigned char OMV_BOARD_UID_ADDR[12]; // Unique address.
|
|||||||
#define OMV_CSI_RESET_PIN (&omv_pin_CSI_RESET)
|
#define OMV_CSI_RESET_PIN (&omv_pin_CSI_RESET)
|
||||||
#define OMV_CSI_POWER_PIN (&omv_pin_CSI_POWER)
|
#define OMV_CSI_POWER_PIN (&omv_pin_CSI_POWER)
|
||||||
|
|
||||||
|
#define OMV_CSI_POLARITY_CONFIG { OMV_CSI_ACTIVE_LOW, OMV_CSI_ACTIVE_LOW }
|
||||||
|
|
||||||
#define OMV_WL_POWER_PIN (&omv_pin_WL_REG_ON)
|
#define OMV_WL_POWER_PIN (&omv_pin_WL_REG_ON)
|
||||||
#define OMV_BT_POWER_PIN (&omv_pin_BT_REG_ON)
|
#define OMV_BT_POWER_PIN (&omv_pin_BT_REG_ON)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user