121 lines
4.7 KiB
C
121 lines
4.7 KiB
C
/**
|
|
******************************************************************************
|
|
* File Name : mxconstants.h
|
|
* Description : This file contains the common defines of the application
|
|
******************************************************************************
|
|
*
|
|
* COPYRIGHT(c) 2016 STMicroelectronics
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without modification,
|
|
* are permitted provided that the following conditions are met:
|
|
* 1. Redistributions of source code must retain the above copyright notice,
|
|
* this list of conditions and the following disclaimer.
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
* and/or other materials provided with the distribution.
|
|
* 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
* may be used to endorse or promote products derived from this software
|
|
* without specific prior written permission.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
/* Includes ------------------------------------------------------------------*/
|
|
|
|
/* USER CODE BEGIN Includes */
|
|
|
|
/* USER CODE END Includes */
|
|
|
|
/* Private define ------------------------------------------------------------*/
|
|
|
|
#define REG_5V_ENABLE_Pin GPIO_PIN_2
|
|
#define REG_5V_ENABLE_GPIO_Port GPIOE
|
|
#define AMP_POWER_Pin GPIO_PIN_3
|
|
#define AMP_POWER_GPIO_Port GPIOE
|
|
#define DAC_MUX_Pin GPIO_PIN_4
|
|
#define DAC_MUX_GPIO_Port GPIOE
|
|
#define AMP_SWITCH_B_Pin GPIO_PIN_6
|
|
#define AMP_SWITCH_B_GPIO_Port GPIOE
|
|
#define LCD_LED_Pin GPIO_PIN_13
|
|
#define LCD_LED_GPIO_Port GPIOC
|
|
#define IMP_BRIDGE_SWITCH_A_Pin GPIO_PIN_1
|
|
#define IMP_BRIDGE_SWITCH_A_GPIO_Port GPIOC
|
|
#define INAMP_ENABLE_Pin GPIO_PIN_2
|
|
#define INAMP_ENABLE_GPIO_Port GPIOC
|
|
#define TRX_SWITCH_Pin GPIO_PIN_3
|
|
#define TRX_SWITCH_GPIO_Port GPIOC
|
|
#define AMP_SWITCH_A_Pin GPIO_PIN_0
|
|
#define AMP_SWITCH_A_GPIO_Port GPIOA
|
|
#define BOOT1_Pin GPIO_PIN_1
|
|
#define BOOT1_GPIO_Port GPIOA
|
|
#define RX_Q_FILTERED_Pin GPIO_PIN_2
|
|
#define RX_Q_FILTERED_GPIO_Port GPIOA
|
|
#define RX_I_FILTERED_Pin GPIO_PIN_3
|
|
#define RX_I_FILTERED_GPIO_Port GPIOA
|
|
#define DAC1_Pin GPIO_PIN_4
|
|
#define DAC1_GPIO_Port GPIOA
|
|
#define DAC2_Pin GPIO_PIN_5
|
|
#define DAC2_GPIO_Port GPIOA
|
|
#define IMP_BRIDGE_SWITCH_B_Pin GPIO_PIN_7
|
|
#define IMP_BRIDGE_SWITCH_B_GPIO_Port GPIOA
|
|
#define HALF_VCC_Pin GPIO_PIN_4
|
|
#define HALF_VCC_GPIO_Port GPIOC
|
|
#define PHASE_Pin GPIO_PIN_5
|
|
#define PHASE_GPIO_Port GPIOC
|
|
#define MAGNITUDE_Pin GPIO_PIN_0
|
|
#define MAGNITUDE_GPIO_Port GPIOB
|
|
#define MIC_FILTERED_Pin GPIO_PIN_1
|
|
#define MIC_FILTERED_GPIO_Port GPIOB
|
|
#define TX_RF_SWITCH_A_Pin GPIO_PIN_2
|
|
#define TX_RF_SWITCH_A_GPIO_Port GPIOB
|
|
#define GPS_PPS_Pin GPIO_PIN_7
|
|
#define GPS_PPS_GPIO_Port GPIOE
|
|
#define FLIP_FLOP_POWER_Pin GPIO_PIN_8
|
|
#define FLIP_FLOP_POWER_GPIO_Port GPIOE
|
|
#define F_SYNTH_CAL_Pin GPIO_PIN_9
|
|
#define F_SYNTH_CAL_GPIO_Port GPIOE
|
|
#define FILTER_S0_Pin GPIO_PIN_10
|
|
#define FILTER_S0_GPIO_Port GPIOE
|
|
#define LPF_POWER_Pin GPIO_PIN_11
|
|
#define LPF_POWER_GPIO_Port GPIOE
|
|
#define LED_WHITE_Pin GPIO_PIN_12
|
|
#define LED_WHITE_GPIO_Port GPIOE
|
|
#define LED_RED_Pin GPIO_PIN_13
|
|
#define LED_RED_GPIO_Port GPIOE
|
|
#define AUDIO_AMP_SHDN_Pin GPIO_PIN_14
|
|
#define AUDIO_AMP_SHDN_GPIO_Port GPIOE
|
|
#define GPS_RESET_Pin GPIO_PIN_15
|
|
#define GPS_RESET_GPIO_Port GPIOE
|
|
#define FILTER_CS_Pin GPIO_PIN_12
|
|
#define FILTER_CS_GPIO_Port GPIOB
|
|
#define FILTER_GAIN_POT_CLK_Pin GPIO_PIN_13
|
|
#define FILTER_GAIN_POT_CLK_GPIO_Port GPIOB
|
|
#define FILTER_MISO_Pin GPIO_PIN_14
|
|
#define FILTER_MISO_GPIO_Port GPIOB
|
|
#define FILTER_GAIN_POT_MOSI_Pin GPIO_PIN_15
|
|
#define FILTER_GAIN_POT_MOSI_GPIO_Port GPIOB
|
|
#define FILTER_S1_Pin GPIO_PIN_8
|
|
#define FILTER_S1_GPIO_Port GPIOD
|
|
/* USER CODE BEGIN Private defines */
|
|
|
|
/* USER CODE END Private defines */
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|