/**
 ******************************************************************************
 * @file    app_tof_pin_conf.h
 * @author  IMG SW Application Team
 * @brief   This file contains definitions for TOF pins
 ******************************************************************************
 * @attention
 *
 * Copyright (c) 2022 STMicroelectronics.
 * All rights reserved.
 *
 * This software is licensed under terms that can be found in the LICENSE file
 * in the root directory of this software component.
 * If no LICENSE file comes with this software, it is provided AS-IS.
 *
 ******************************************************************************
 */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __APP_TOF_PIN_CONF_H__
#define __APP_TOF_PIN_CONF_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32wlxx_hal.h"

/* Exported symbols ----------------------------------------------------------*/
#ifdef	STS_L8
//#define TOF_INT_EXTI_PIN    (GPIO_PIN_3)			// (GPIO_PIN_4)
//#define TOF_INT_EXTI_PORT   (GPIOB)
#define TOF_INT_EXTI_PIN    	(GPIO_PIN_10)		//(GPIO_PIN_4)
#define TOF_INT_EXTI_PORT   	(GPIOA)				//(GPIOA)
#define TOF_INT_EXTI_IRQn		EXTI15_10_IRQn

#define VL53L8A1_PWR_EN_C_PIN   (GPIO_PIN_7)		//(GPIO_PIN_7)
#define VL53L8A1_PWR_EN_C_PORT  (GPIOA)				//(GPIOA)

#define VL53L8A1_LPn_C_PIN   	(GPIO_PIN_4)		//(GPIO_PIN_0)
#define VL53L8A1_LPn_C_PORT  	(GPIOB)				//(GPIOB)
#endif
#ifdef __cplusplus
}
#endif

#endif /* __APP_TOF_PIN_CONF_H__ */
