Set pin modes
This commit is contained in:
@@ -117,7 +117,7 @@
|
|||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.1265647422" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
|
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.1265647422" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1844694981" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="NUCLEO-F767ZI" valueType="string"/>
|
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1844694981" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="NUCLEO-F767ZI" valueType="string"/>
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1221902238" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || NUCLEO-F767ZI || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F7xx_HAL_Driver/Inc | ../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F7xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32F767xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F767ZITX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1221902238" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || NUCLEO-F767ZI || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F7xx_HAL_Driver/Inc | ../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F7xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32F767xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F767ZITX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.56027543" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" value="96" valueType="string"/>
|
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.56027543" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="96" valueType="string"/>
|
||||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.591389149" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.591389149" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
||||||
<builder buildPath="${workspace_loc:/Volume-Controller-STM}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.148248156" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
<builder buildPath="${workspace_loc:/Volume-Controller-STM}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.148248156" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.173764429" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.173764429" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
||||||
|
|||||||
16
.mxproject
16
.mxproject
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
|||||||
635E684B79701B039C64EA45C3F84D30=47742E4A030C555085AC15FBAAE1D09F
|
635E684B79701B039C64EA45C3F84D30=47742E4A030C555085AC15FBAAE1D09F
|
||||||
66BE74F758C12D739921AEA421D593D3=0
|
66BE74F758C12D739921AEA421D593D3=1
|
||||||
8DF89ED150041C4CBC7CB9A9CAA90856=B48C61BDAF788954EA511914FEFE7267
|
8DF89ED150041C4CBC7CB9A9CAA90856=B48C61BDAF788954EA511914FEFE7267
|
||||||
DC22A860405A8BF2F2C095E5B6529F12=B48C61BDAF788954EA511914FEFE7267
|
DC22A860405A8BF2F2C095E5B6529F12=B48C61BDAF788954EA511914FEFE7267
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ void Error_Handler(void);
|
|||||||
/* Private defines -----------------------------------------------------------*/
|
/* Private defines -----------------------------------------------------------*/
|
||||||
#define USER_Btn_Pin GPIO_PIN_13
|
#define USER_Btn_Pin GPIO_PIN_13
|
||||||
#define USER_Btn_GPIO_Port GPIOC
|
#define USER_Btn_GPIO_Port GPIOC
|
||||||
|
#define Pot_CS_Pin GPIO_PIN_2
|
||||||
|
#define Pot_CS_GPIO_Port GPIOF
|
||||||
#define MCO_Pin GPIO_PIN_0
|
#define MCO_Pin GPIO_PIN_0
|
||||||
#define MCO_GPIO_Port GPIOH
|
#define MCO_GPIO_Port GPIOH
|
||||||
#define RMII_MDC_Pin GPIO_PIN_1
|
#define RMII_MDC_Pin GPIO_PIN_1
|
||||||
@@ -67,14 +69,20 @@ void Error_Handler(void);
|
|||||||
#define RMII_REF_CLK_GPIO_Port GPIOA
|
#define RMII_REF_CLK_GPIO_Port GPIOA
|
||||||
#define RMII_MDIO_Pin GPIO_PIN_2
|
#define RMII_MDIO_Pin GPIO_PIN_2
|
||||||
#define RMII_MDIO_GPIO_Port GPIOA
|
#define RMII_MDIO_GPIO_Port GPIOA
|
||||||
#define RMII_CRS_DV_Pin GPIO_PIN_7
|
#define Pot_UD_Pin GPIO_PIN_7
|
||||||
#define RMII_CRS_DV_GPIO_Port GPIOA
|
#define Pot_UD_GPIO_Port GPIOA
|
||||||
#define RMII_RXD0_Pin GPIO_PIN_4
|
#define RMII_RXD0_Pin GPIO_PIN_4
|
||||||
#define RMII_RXD0_GPIO_Port GPIOC
|
#define RMII_RXD0_GPIO_Port GPIOC
|
||||||
#define RMII_RXD1_Pin GPIO_PIN_5
|
#define RMII_RXD1_Pin GPIO_PIN_5
|
||||||
#define RMII_RXD1_GPIO_Port GPIOC
|
#define RMII_RXD1_GPIO_Port GPIOC
|
||||||
#define LD1_Pin GPIO_PIN_0
|
#define LD1_Pin GPIO_PIN_0
|
||||||
#define LD1_GPIO_Port GPIOB
|
#define LD1_GPIO_Port GPIOB
|
||||||
|
#define Remote_B_Pin GPIO_PIN_10
|
||||||
|
#define Remote_B_GPIO_Port GPIOE
|
||||||
|
#define Remote_C_Pin GPIO_PIN_12
|
||||||
|
#define Remote_C_GPIO_Port GPIOE
|
||||||
|
#define Remote_D_Pin GPIO_PIN_14
|
||||||
|
#define Remote_D_GPIO_Port GPIOE
|
||||||
#define RMII_TXD1_Pin GPIO_PIN_13
|
#define RMII_TXD1_Pin GPIO_PIN_13
|
||||||
#define RMII_TXD1_GPIO_Port GPIOB
|
#define RMII_TXD1_GPIO_Port GPIOB
|
||||||
#define LD3_Pin GPIO_PIN_14
|
#define LD3_Pin GPIO_PIN_14
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
/* #define HAL_DAC_MODULE_ENABLED */
|
/* #define HAL_DAC_MODULE_ENABLED */
|
||||||
/* #define HAL_DCMI_MODULE_ENABLED */
|
/* #define HAL_DCMI_MODULE_ENABLED */
|
||||||
/* #define HAL_DMA2D_MODULE_ENABLED */
|
/* #define HAL_DMA2D_MODULE_ENABLED */
|
||||||
#define HAL_ETH_MODULE_ENABLED
|
/* #define HAL_ETH_MODULE_ENABLED */
|
||||||
/* #define HAL_ETH_LEGACY_MODULE_ENABLED */
|
/* #define HAL_ETH_LEGACY_MODULE_ENABLED */
|
||||||
/* #define HAL_NAND_MODULE_ENABLED */
|
/* #define HAL_NAND_MODULE_ENABLED */
|
||||||
/* #define HAL_NOR_MODULE_ENABLED */
|
/* #define HAL_NOR_MODULE_ENABLED */
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
#define MAC_ADDR5 0U
|
#define MAC_ADDR5 0U
|
||||||
|
|
||||||
/* Definition of the Ethernet driver buffers size and count */
|
/* Definition of the Ethernet driver buffers size and count */
|
||||||
#define ETH_RX_BUF_SIZE 1524 /* buffer size for receive */
|
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
|
||||||
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
|
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
|
||||||
#define ETH_RXBUFNB ((uint32_t)4U) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
|
#define ETH_RXBUFNB ((uint32_t)4U) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
|
||||||
#define ETH_TXBUFNB ((uint32_t)4U) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
|
#define ETH_TXBUFNB ((uint32_t)4U) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
|
||||||
|
|||||||
132
Core/Src/main.c
132
Core/Src/main.c
@@ -18,7 +18,6 @@
|
|||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "string.h"
|
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
/* Private includes ----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Includes */
|
/* USER CODE BEGIN Includes */
|
||||||
@@ -41,26 +40,6 @@
|
|||||||
/* USER CODE END PM */
|
/* USER CODE END PM */
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
/* Private variables ---------------------------------------------------------*/
|
||||||
#if defined ( __ICCARM__ ) /*!< IAR Compiler */
|
|
||||||
#pragma location=0x2007c000
|
|
||||||
ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT]; /* Ethernet Rx DMA Descriptors */
|
|
||||||
#pragma location=0x2007c0a0
|
|
||||||
ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT]; /* Ethernet Tx DMA Descriptors */
|
|
||||||
|
|
||||||
#elif defined ( __CC_ARM ) /* MDK ARM Compiler */
|
|
||||||
|
|
||||||
__attribute__((at(0x2007c000))) ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT]; /* Ethernet Rx DMA Descriptors */
|
|
||||||
__attribute__((at(0x2007c0a0))) ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT]; /* Ethernet Tx DMA Descriptors */
|
|
||||||
|
|
||||||
#elif defined ( __GNUC__ ) /* GNU Compiler */
|
|
||||||
|
|
||||||
ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT] __attribute__((section(".RxDecripSection"))); /* Ethernet Rx DMA Descriptors */
|
|
||||||
ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT] __attribute__((section(".TxDecripSection"))); /* Ethernet Tx DMA Descriptors */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ETH_TxPacketConfig TxConfig;
|
|
||||||
|
|
||||||
ETH_HandleTypeDef heth;
|
|
||||||
|
|
||||||
UART_HandleTypeDef huart3;
|
UART_HandleTypeDef huart3;
|
||||||
|
|
||||||
@@ -73,7 +52,6 @@ PCD_HandleTypeDef hpcd_USB_OTG_FS;
|
|||||||
/* Private function prototypes -----------------------------------------------*/
|
/* Private function prototypes -----------------------------------------------*/
|
||||||
void SystemClock_Config(void);
|
void SystemClock_Config(void);
|
||||||
static void MX_GPIO_Init(void);
|
static void MX_GPIO_Init(void);
|
||||||
static void MX_ETH_Init(void);
|
|
||||||
static void MX_USART3_UART_Init(void);
|
static void MX_USART3_UART_Init(void);
|
||||||
static void MX_USB_OTG_FS_PCD_Init(void);
|
static void MX_USB_OTG_FS_PCD_Init(void);
|
||||||
/* USER CODE BEGIN PFP */
|
/* USER CODE BEGIN PFP */
|
||||||
@@ -114,7 +92,6 @@ int main(void)
|
|||||||
|
|
||||||
/* Initialize all configured peripherals */
|
/* Initialize all configured peripherals */
|
||||||
MX_GPIO_Init();
|
MX_GPIO_Init();
|
||||||
MX_ETH_Init();
|
|
||||||
MX_USART3_UART_Init();
|
MX_USART3_UART_Init();
|
||||||
MX_USB_OTG_FS_PCD_Init();
|
MX_USB_OTG_FS_PCD_Init();
|
||||||
/* USER CODE BEGIN 2 */
|
/* USER CODE BEGIN 2 */
|
||||||
@@ -193,55 +170,6 @@ void SystemClock_Config(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief ETH Initialization Function
|
|
||||||
* @param None
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
static void MX_ETH_Init(void)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ETH_Init 0 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_Init 0 */
|
|
||||||
|
|
||||||
static uint8_t MACAddr[6];
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ETH_Init 1 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_Init 1 */
|
|
||||||
heth.Instance = ETH;
|
|
||||||
MACAddr[0] = 0x00;
|
|
||||||
MACAddr[1] = 0x80;
|
|
||||||
MACAddr[2] = 0xE1;
|
|
||||||
MACAddr[3] = 0x00;
|
|
||||||
MACAddr[4] = 0x00;
|
|
||||||
MACAddr[5] = 0x00;
|
|
||||||
heth.Init.MACAddr = &MACAddr[0];
|
|
||||||
heth.Init.MediaInterface = HAL_ETH_RMII_MODE;
|
|
||||||
heth.Init.TxDesc = DMATxDscrTab;
|
|
||||||
heth.Init.RxDesc = DMARxDscrTab;
|
|
||||||
heth.Init.RxBuffLen = 1524;
|
|
||||||
|
|
||||||
/* USER CODE BEGIN MACADDRESS */
|
|
||||||
|
|
||||||
/* USER CODE END MACADDRESS */
|
|
||||||
|
|
||||||
if (HAL_ETH_Init(&heth) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
|
|
||||||
memset(&TxConfig, 0 , sizeof(ETH_TxPacketConfig));
|
|
||||||
TxConfig.Attributes = ETH_TX_PACKETS_FEATURES_CSUM | ETH_TX_PACKETS_FEATURES_CRCPAD;
|
|
||||||
TxConfig.ChecksumCtrl = ETH_CHECKSUM_IPHDR_PAYLOAD_INSERT_PHDR_CALC;
|
|
||||||
TxConfig.CRCPadCtrl = ETH_CRC_PAD_INSERT;
|
|
||||||
/* USER CODE BEGIN ETH_Init 2 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_Init 2 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief USART3 Initialization Function
|
* @brief USART3 Initialization Function
|
||||||
* @param None
|
* @param None
|
||||||
@@ -326,12 +254,20 @@ static void MX_GPIO_Init(void)
|
|||||||
|
|
||||||
/* GPIO Ports Clock Enable */
|
/* GPIO Ports Clock Enable */
|
||||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||||
|
__HAL_RCC_GPIOF_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||||
|
__HAL_RCC_GPIOE_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOG_CLK_ENABLE();
|
__HAL_RCC_GPIOG_CLK_ENABLE();
|
||||||
|
|
||||||
|
/*Configure GPIO pin Output Level */
|
||||||
|
HAL_GPIO_WritePin(Pot_CS_GPIO_Port, Pot_CS_Pin, GPIO_PIN_RESET);
|
||||||
|
|
||||||
|
/*Configure GPIO pin Output Level */
|
||||||
|
HAL_GPIO_WritePin(Pot_UD_GPIO_Port, Pot_UD_Pin, GPIO_PIN_RESET);
|
||||||
|
|
||||||
/*Configure GPIO pin Output Level */
|
/*Configure GPIO pin Output Level */
|
||||||
HAL_GPIO_WritePin(GPIOB, LD1_Pin|LD3_Pin|LD2_Pin, GPIO_PIN_RESET);
|
HAL_GPIO_WritePin(GPIOB, LD1_Pin|LD3_Pin|LD2_Pin, GPIO_PIN_RESET);
|
||||||
|
|
||||||
@@ -344,6 +280,36 @@ static void MX_GPIO_Init(void)
|
|||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
HAL_GPIO_Init(USER_Btn_GPIO_Port, &GPIO_InitStruct);
|
HAL_GPIO_Init(USER_Btn_GPIO_Port, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pin : Pot_CS_Pin */
|
||||||
|
GPIO_InitStruct.Pin = Pot_CS_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||||
|
HAL_GPIO_Init(Pot_CS_GPIO_Port, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pins : RMII_MDC_Pin RMII_RXD0_Pin RMII_RXD1_Pin */
|
||||||
|
GPIO_InitStruct.Pin = RMII_MDC_Pin|RMII_RXD0_Pin|RMII_RXD1_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
|
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
||||||
|
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pins : RMII_REF_CLK_Pin RMII_MDIO_Pin */
|
||||||
|
GPIO_InitStruct.Pin = RMII_REF_CLK_Pin|RMII_MDIO_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
|
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
||||||
|
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pin : Pot_UD_Pin */
|
||||||
|
GPIO_InitStruct.Pin = Pot_UD_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||||
|
HAL_GPIO_Init(Pot_UD_GPIO_Port, &GPIO_InitStruct);
|
||||||
|
|
||||||
/*Configure GPIO pins : LD1_Pin LD3_Pin LD2_Pin */
|
/*Configure GPIO pins : LD1_Pin LD3_Pin LD2_Pin */
|
||||||
GPIO_InitStruct.Pin = LD1_Pin|LD3_Pin|LD2_Pin;
|
GPIO_InitStruct.Pin = LD1_Pin|LD3_Pin|LD2_Pin;
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||||
@@ -351,6 +317,20 @@ static void MX_GPIO_Init(void)
|
|||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pins : Remote_B_Pin Remote_C_Pin Remote_D_Pin */
|
||||||
|
GPIO_InitStruct.Pin = Remote_B_Pin|Remote_C_Pin|Remote_D_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pin : RMII_TXD1_Pin */
|
||||||
|
GPIO_InitStruct.Pin = RMII_TXD1_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
|
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
||||||
|
HAL_GPIO_Init(RMII_TXD1_GPIO_Port, &GPIO_InitStruct);
|
||||||
|
|
||||||
/*Configure GPIO pin : USB_PowerSwitchOn_Pin */
|
/*Configure GPIO pin : USB_PowerSwitchOn_Pin */
|
||||||
GPIO_InitStruct.Pin = USB_PowerSwitchOn_Pin;
|
GPIO_InitStruct.Pin = USB_PowerSwitchOn_Pin;
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||||
@@ -364,6 +344,14 @@ static void MX_GPIO_Init(void)
|
|||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
HAL_GPIO_Init(USB_OverCurrent_GPIO_Port, &GPIO_InitStruct);
|
HAL_GPIO_Init(USB_OverCurrent_GPIO_Port, &GPIO_InitStruct);
|
||||||
|
|
||||||
|
/*Configure GPIO pins : RMII_TX_EN_Pin RMII_TXD0_Pin */
|
||||||
|
GPIO_InitStruct.Pin = RMII_TX_EN_Pin|RMII_TXD0_Pin;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
|
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
||||||
|
HAL_GPIO_Init(GPIOG, &GPIO_InitStruct);
|
||||||
|
|
||||||
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
||||||
|
|
||||||
/* USER CODE END MX_GPIO_Init_2 */
|
/* USER CODE END MX_GPIO_Init_2 */
|
||||||
|
|||||||
@@ -77,116 +77,6 @@ void HAL_MspInit(void)
|
|||||||
/* USER CODE END MspInit 1 */
|
/* USER CODE END MspInit 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief ETH MSP Initialization
|
|
||||||
* This function configures the hardware resources used in this example
|
|
||||||
* @param heth: ETH handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_ETH_MspInit(ETH_HandleTypeDef* heth)
|
|
||||||
{
|
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
|
||||||
if(heth->Instance==ETH)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN ETH_MspInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_MspInit 0 */
|
|
||||||
/* Peripheral clock enable */
|
|
||||||
__HAL_RCC_ETH_CLK_ENABLE();
|
|
||||||
|
|
||||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
|
||||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
|
||||||
__HAL_RCC_GPIOG_CLK_ENABLE();
|
|
||||||
/**ETH GPIO Configuration
|
|
||||||
PC1 ------> ETH_MDC
|
|
||||||
PA1 ------> ETH_REF_CLK
|
|
||||||
PA2 ------> ETH_MDIO
|
|
||||||
PA7 ------> ETH_CRS_DV
|
|
||||||
PC4 ------> ETH_RXD0
|
|
||||||
PC5 ------> ETH_RXD1
|
|
||||||
PB13 ------> ETH_TXD1
|
|
||||||
PG11 ------> ETH_TX_EN
|
|
||||||
PG13 ------> ETH_TXD0
|
|
||||||
*/
|
|
||||||
GPIO_InitStruct.Pin = RMII_MDC_Pin|RMII_RXD0_Pin|RMII_RXD1_Pin;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
|
||||||
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
GPIO_InitStruct.Pin = RMII_REF_CLK_Pin|RMII_MDIO_Pin|RMII_CRS_DV_Pin;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
|
||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
GPIO_InitStruct.Pin = RMII_TXD1_Pin;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
|
||||||
HAL_GPIO_Init(RMII_TXD1_GPIO_Port, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
GPIO_InitStruct.Pin = RMII_TX_EN_Pin|RMII_TXD0_Pin;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
|
|
||||||
HAL_GPIO_Init(GPIOG, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ETH_MspInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_MspInit 1 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief ETH MSP De-Initialization
|
|
||||||
* This function freeze the hardware resources used in this example
|
|
||||||
* @param heth: ETH handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
|
|
||||||
{
|
|
||||||
if(heth->Instance==ETH)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN ETH_MspDeInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_MspDeInit 0 */
|
|
||||||
/* Peripheral clock disable */
|
|
||||||
__HAL_RCC_ETH_CLK_DISABLE();
|
|
||||||
|
|
||||||
/**ETH GPIO Configuration
|
|
||||||
PC1 ------> ETH_MDC
|
|
||||||
PA1 ------> ETH_REF_CLK
|
|
||||||
PA2 ------> ETH_MDIO
|
|
||||||
PA7 ------> ETH_CRS_DV
|
|
||||||
PC4 ------> ETH_RXD0
|
|
||||||
PC5 ------> ETH_RXD1
|
|
||||||
PB13 ------> ETH_TXD1
|
|
||||||
PG11 ------> ETH_TX_EN
|
|
||||||
PG13 ------> ETH_TXD0
|
|
||||||
*/
|
|
||||||
HAL_GPIO_DeInit(GPIOC, RMII_MDC_Pin|RMII_RXD0_Pin|RMII_RXD1_Pin);
|
|
||||||
|
|
||||||
HAL_GPIO_DeInit(GPIOA, RMII_REF_CLK_Pin|RMII_MDIO_Pin|RMII_CRS_DV_Pin);
|
|
||||||
|
|
||||||
HAL_GPIO_DeInit(RMII_TXD1_GPIO_Port, RMII_TXD1_Pin);
|
|
||||||
|
|
||||||
HAL_GPIO_DeInit(GPIOG, RMII_TX_EN_Pin|RMII_TXD0_Pin);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ETH_MspDeInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END ETH_MspDeInit 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief UART MSP Initialization
|
* @brief UART MSP Initialization
|
||||||
* This function configures the hardware resources used in this example
|
* This function configures the hardware resources used in this example
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2,56 +2,54 @@
|
|||||||
CAD.formats=
|
CAD.formats=
|
||||||
CAD.pinconfig=
|
CAD.pinconfig=
|
||||||
CAD.provider=
|
CAD.provider=
|
||||||
ETH.IPParameters=MediaInterface,PHY_Name,PHY_Value,PhyAddress
|
|
||||||
ETH.MediaInterface=HAL_ETH_RMII_MODE
|
|
||||||
ETH.PHY_Name=LAN8742A_PHY_ADDRESS
|
|
||||||
ETH.PHY_Value=0
|
|
||||||
ETH.PhyAddress=0
|
|
||||||
File.Version=6
|
File.Version=6
|
||||||
KeepUserPlacement=false
|
KeepUserPlacement=false
|
||||||
Mcu.CPN=STM32F767ZIT6
|
Mcu.CPN=STM32F767ZIT6
|
||||||
Mcu.Family=STM32F7
|
Mcu.Family=STM32F7
|
||||||
Mcu.IP0=CORTEX_M7
|
Mcu.IP0=CORTEX_M7
|
||||||
Mcu.IP1=ETH
|
Mcu.IP1=NVIC
|
||||||
Mcu.IP2=NVIC
|
Mcu.IP2=RCC
|
||||||
Mcu.IP3=RCC
|
Mcu.IP3=SYS
|
||||||
Mcu.IP4=SYS
|
Mcu.IP4=USART3
|
||||||
Mcu.IP5=USART3
|
Mcu.IP5=USB_OTG_FS
|
||||||
Mcu.IP6=USB_OTG_FS
|
Mcu.IPNb=6
|
||||||
Mcu.IPNb=7
|
|
||||||
Mcu.Name=STM32F767ZITx
|
Mcu.Name=STM32F767ZITx
|
||||||
Mcu.Package=LQFP144
|
Mcu.Package=LQFP144
|
||||||
Mcu.Pin0=PC13
|
Mcu.Pin0=PC13
|
||||||
Mcu.Pin1=PC14/OSC32_IN
|
Mcu.Pin1=PC14/OSC32_IN
|
||||||
Mcu.Pin10=PC5
|
Mcu.Pin10=PC4
|
||||||
Mcu.Pin11=PB0
|
Mcu.Pin11=PC5
|
||||||
Mcu.Pin12=PB13
|
Mcu.Pin12=PB0
|
||||||
Mcu.Pin13=PB14
|
Mcu.Pin13=PE10
|
||||||
Mcu.Pin14=PD8
|
Mcu.Pin14=PE12
|
||||||
Mcu.Pin15=PD9
|
Mcu.Pin15=PE14
|
||||||
Mcu.Pin16=PG6
|
Mcu.Pin16=PB13
|
||||||
Mcu.Pin17=PG7
|
Mcu.Pin17=PB14
|
||||||
Mcu.Pin18=PA8
|
Mcu.Pin18=PD8
|
||||||
Mcu.Pin19=PA9
|
Mcu.Pin19=PD9
|
||||||
Mcu.Pin2=PC15/OSC32_OUT
|
Mcu.Pin2=PC15/OSC32_OUT
|
||||||
Mcu.Pin20=PA10
|
Mcu.Pin20=PG6
|
||||||
Mcu.Pin21=PA11
|
Mcu.Pin21=PG7
|
||||||
Mcu.Pin22=PA12
|
Mcu.Pin22=PA8
|
||||||
Mcu.Pin23=PA13
|
Mcu.Pin23=PA9
|
||||||
Mcu.Pin24=PA14
|
Mcu.Pin24=PA10
|
||||||
Mcu.Pin25=PG11
|
Mcu.Pin25=PA11
|
||||||
Mcu.Pin26=PG13
|
Mcu.Pin26=PA12
|
||||||
Mcu.Pin27=PB3
|
Mcu.Pin27=PA13
|
||||||
Mcu.Pin28=PB7
|
Mcu.Pin28=PA14
|
||||||
Mcu.Pin29=VP_SYS_VS_Systick
|
Mcu.Pin29=PG11
|
||||||
Mcu.Pin3=PH0/OSC_IN
|
Mcu.Pin3=PF2
|
||||||
Mcu.Pin4=PH1/OSC_OUT
|
Mcu.Pin30=PG13
|
||||||
Mcu.Pin5=PC1
|
Mcu.Pin31=PB3
|
||||||
Mcu.Pin6=PA1
|
Mcu.Pin32=PB7
|
||||||
Mcu.Pin7=PA2
|
Mcu.Pin33=VP_SYS_VS_Systick
|
||||||
Mcu.Pin8=PA7
|
Mcu.Pin4=PH0/OSC_IN
|
||||||
Mcu.Pin9=PC4
|
Mcu.Pin5=PH1/OSC_OUT
|
||||||
Mcu.PinsNb=30
|
Mcu.Pin6=PC1
|
||||||
|
Mcu.Pin7=PA1
|
||||||
|
Mcu.Pin8=PA2
|
||||||
|
Mcu.Pin9=PA7
|
||||||
|
Mcu.PinsNb=34
|
||||||
Mcu.ThirdPartyNb=0
|
Mcu.ThirdPartyNb=0
|
||||||
Mcu.UserConstants=
|
Mcu.UserConstants=
|
||||||
Mcu.UserName=STM32F767ZITx
|
Mcu.UserName=STM32F767ZITx
|
||||||
@@ -71,7 +69,6 @@ NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false\:false
|
|||||||
PA1.GPIOParameters=GPIO_Label
|
PA1.GPIOParameters=GPIO_Label
|
||||||
PA1.GPIO_Label=RMII_REF_CLK [LAN8742A-CZ-TR_REFCLK0]
|
PA1.GPIO_Label=RMII_REF_CLK [LAN8742A-CZ-TR_REFCLK0]
|
||||||
PA1.Locked=true
|
PA1.Locked=true
|
||||||
PA1.Mode=RMII
|
|
||||||
PA1.Signal=ETH_REF_CLK
|
PA1.Signal=ETH_REF_CLK
|
||||||
PA10.GPIOParameters=GPIO_Label
|
PA10.GPIOParameters=GPIO_Label
|
||||||
PA10.GPIO_Label=USB_ID
|
PA10.GPIO_Label=USB_ID
|
||||||
@@ -100,13 +97,11 @@ PA14.Signal=SYS_JTCK-SWCLK
|
|||||||
PA2.GPIOParameters=GPIO_Label
|
PA2.GPIOParameters=GPIO_Label
|
||||||
PA2.GPIO_Label=RMII_MDIO [LAN8742A-CZ-TR_MDIO]
|
PA2.GPIO_Label=RMII_MDIO [LAN8742A-CZ-TR_MDIO]
|
||||||
PA2.Locked=true
|
PA2.Locked=true
|
||||||
PA2.Mode=RMII
|
|
||||||
PA2.Signal=ETH_MDIO
|
PA2.Signal=ETH_MDIO
|
||||||
PA7.GPIOParameters=GPIO_Label
|
PA7.GPIOParameters=GPIO_Label
|
||||||
PA7.GPIO_Label=RMII_CRS_DV [LAN8742A-CZ-TR_CRS_DV]
|
PA7.GPIO_Label=Pot UD
|
||||||
PA7.Locked=true
|
PA7.Locked=true
|
||||||
PA7.Mode=RMII
|
PA7.Signal=GPIO_Output
|
||||||
PA7.Signal=ETH_CRS_DV
|
|
||||||
PA8.GPIOParameters=GPIO_Label
|
PA8.GPIOParameters=GPIO_Label
|
||||||
PA8.GPIO_Label=USB_SOF [TP1]
|
PA8.GPIO_Label=USB_SOF [TP1]
|
||||||
PA8.Locked=true
|
PA8.Locked=true
|
||||||
@@ -124,7 +119,6 @@ PB0.Signal=GPIO_Output
|
|||||||
PB13.GPIOParameters=GPIO_Label
|
PB13.GPIOParameters=GPIO_Label
|
||||||
PB13.GPIO_Label=RMII_TXD1 [LAN8742A-CZ-TR_TXD1]
|
PB13.GPIO_Label=RMII_TXD1 [LAN8742A-CZ-TR_TXD1]
|
||||||
PB13.Locked=true
|
PB13.Locked=true
|
||||||
PB13.Mode=RMII
|
|
||||||
PB13.Signal=ETH_TXD1
|
PB13.Signal=ETH_TXD1
|
||||||
PB14.GPIOParameters=GPIO_Label
|
PB14.GPIOParameters=GPIO_Label
|
||||||
PB14.GPIO_Label=LD3 [Red]
|
PB14.GPIO_Label=LD3 [Red]
|
||||||
@@ -141,7 +135,6 @@ PB7.Signal=GPIO_Output
|
|||||||
PC1.GPIOParameters=GPIO_Label
|
PC1.GPIOParameters=GPIO_Label
|
||||||
PC1.GPIO_Label=RMII_MDC [LAN8742A-CZ-TR_MDC]
|
PC1.GPIO_Label=RMII_MDC [LAN8742A-CZ-TR_MDC]
|
||||||
PC1.Locked=true
|
PC1.Locked=true
|
||||||
PC1.Mode=RMII
|
|
||||||
PC1.Signal=ETH_MDC
|
PC1.Signal=ETH_MDC
|
||||||
PC13.GPIOParameters=GPIO_Label
|
PC13.GPIOParameters=GPIO_Label
|
||||||
PC13.GPIO_Label=USER_Btn [B1]
|
PC13.GPIO_Label=USER_Btn [B1]
|
||||||
@@ -156,12 +149,10 @@ PC15/OSC32_OUT.Signal=RCC_OSC32_OUT
|
|||||||
PC4.GPIOParameters=GPIO_Label
|
PC4.GPIOParameters=GPIO_Label
|
||||||
PC4.GPIO_Label=RMII_RXD0 [LAN8742A-CZ-TR_RXD0]
|
PC4.GPIO_Label=RMII_RXD0 [LAN8742A-CZ-TR_RXD0]
|
||||||
PC4.Locked=true
|
PC4.Locked=true
|
||||||
PC4.Mode=RMII
|
|
||||||
PC4.Signal=ETH_RXD0
|
PC4.Signal=ETH_RXD0
|
||||||
PC5.GPIOParameters=GPIO_Label
|
PC5.GPIOParameters=GPIO_Label
|
||||||
PC5.GPIO_Label=RMII_RXD1 [LAN8742A-CZ-TR_RXD1]
|
PC5.GPIO_Label=RMII_RXD1 [LAN8742A-CZ-TR_RXD1]
|
||||||
PC5.Locked=true
|
PC5.Locked=true
|
||||||
PC5.Mode=RMII
|
|
||||||
PC5.Signal=ETH_RXD1
|
PC5.Signal=ETH_RXD1
|
||||||
PD8.GPIOParameters=GPIO_Label
|
PD8.GPIOParameters=GPIO_Label
|
||||||
PD8.GPIO_Label=STLK_RX [STM32F103CBT6_PA3]
|
PD8.GPIO_Label=STLK_RX [STM32F103CBT6_PA3]
|
||||||
@@ -173,15 +164,29 @@ PD9.GPIO_Label=STLK_TX [STM32F103CBT6_PA2]
|
|||||||
PD9.Locked=true
|
PD9.Locked=true
|
||||||
PD9.Mode=Asynchronous
|
PD9.Mode=Asynchronous
|
||||||
PD9.Signal=USART3_RX
|
PD9.Signal=USART3_RX
|
||||||
|
PE10.GPIOParameters=GPIO_Label
|
||||||
|
PE10.GPIO_Label=Remote B
|
||||||
|
PE10.Locked=true
|
||||||
|
PE10.Signal=GPIO_Input
|
||||||
|
PE12.GPIOParameters=GPIO_Label
|
||||||
|
PE12.GPIO_Label=Remote C
|
||||||
|
PE12.Locked=true
|
||||||
|
PE12.Signal=GPIO_Input
|
||||||
|
PE14.GPIOParameters=GPIO_Label
|
||||||
|
PE14.GPIO_Label=Remote D
|
||||||
|
PE14.Locked=true
|
||||||
|
PE14.Signal=GPIO_Input
|
||||||
|
PF2.GPIOParameters=GPIO_Label
|
||||||
|
PF2.GPIO_Label=Pot CS
|
||||||
|
PF2.Locked=true
|
||||||
|
PF2.Signal=GPIO_Output
|
||||||
PG11.GPIOParameters=GPIO_Label
|
PG11.GPIOParameters=GPIO_Label
|
||||||
PG11.GPIO_Label=RMII_TX_EN [LAN8742A-CZ-TR_TXEN]
|
PG11.GPIO_Label=RMII_TX_EN [LAN8742A-CZ-TR_TXEN]
|
||||||
PG11.Locked=true
|
PG11.Locked=true
|
||||||
PG11.Mode=RMII
|
|
||||||
PG11.Signal=ETH_TX_EN
|
PG11.Signal=ETH_TX_EN
|
||||||
PG13.GPIOParameters=GPIO_Label
|
PG13.GPIOParameters=GPIO_Label
|
||||||
PG13.GPIO_Label=RMII_TXD0 [LAN8742A-CZ-TR_TXD0]
|
PG13.GPIO_Label=RMII_TXD0 [LAN8742A-CZ-TR_TXD0]
|
||||||
PG13.Locked=true
|
PG13.Locked=true
|
||||||
PG13.Mode=RMII
|
|
||||||
PG13.Signal=ETH_TXD0
|
PG13.Signal=ETH_TXD0
|
||||||
PG6.GPIOParameters=GPIO_Label
|
PG6.GPIOParameters=GPIO_Label
|
||||||
PG6.GPIO_Label=USB_PowerSwitchOn [STMPS2151STR_EN]
|
PG6.GPIO_Label=USB_PowerSwitchOn [STMPS2151STR_EN]
|
||||||
|
|||||||
Reference in New Issue
Block a user