Macros | Functions
stm32f4xx_syscfg.c File Reference

This file provides firmware functions to manage the SYSCFG peripheral. More...

#include "stm32f4xx_syscfg.h"
#include "stm32f4xx_rcc.h"
Include dependency graph for stm32f4xx_syscfg.c:

Go to the source code of this file.

Macros

#define CMP_PD_BitNumber   ((uint8_t)0x00)
 
#define CMPCR_CMP_PD_BB   (PERIPH_BB_BASE + (CMPCR_OFFSET * 32) + (CMP_PD_BitNumber * 4))
 
#define CMPCR_OFFSET   (SYSCFG_OFFSET + 0x20)
 
#define MII_RMII_SEL_BitNumber   ((uint8_t)0x17)
 
#define PMC_MII_RMII_SEL_BB   (PERIPH_BB_BASE + (PMC_OFFSET * 32) + (MII_RMII_SEL_BitNumber * 4))
 
#define PMC_OFFSET   (SYSCFG_OFFSET + 0x04)
 
#define SYSCFG_OFFSET   (SYSCFG_BASE - PERIPH_BASE)
 

Functions

void SYSCFG_CompensationCellCmd (FunctionalState NewState)
 Enables or disables the I/O Compensation Cell. More...
 
void SYSCFG_DeInit (void)
 Deinitializes the Alternate Functions (remap and EXTI configuration) registers to their default reset values. More...
 
void SYSCFG_ETH_MediaInterfaceConfig (uint32_t SYSCFG_ETH_MediaInterface)
 Selects the ETHERNET media interface. More...
 
void SYSCFG_EXTILineConfig (uint8_t EXTI_PortSourceGPIOx, uint8_t EXTI_PinSourcex)
 Selects the GPIO pin used as EXTI Line. More...
 
FlagStatus SYSCFG_GetCompensationCellStatus (void)
 Checks whether the I/O Compensation Cell ready flag is set or not. More...
 
void SYSCFG_MemoryRemapConfig (uint8_t SYSCFG_MemoryRemap)
 Changes the mapping of the specified pin. More...
 

Detailed Description

This file provides firmware functions to manage the SYSCFG peripheral.

Author
MCD Application Team
Version
V1.1.0
Date
11-January-2013
===============================================================================
                    ##### How to use this driver #####
===============================================================================
   [..] This driver provides functions for:
           
      (#) Remapping the memory accessible in the code area using SYSCFG_MemoryRemapConfig()
                           
      (#) Manage the EXTI lines connection to the GPIOs using SYSCFG_EXTILineConfig()
             
      (#) Select the ETHERNET media interface (RMII/RII) using SYSCFG_ETH_MediaInterfaceConfig()
 
      -@- SYSCFG APB clock must be enabled to get write access to SYSCFG registers,
          using RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
Attention

© COPYRIGHT 2013 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file stm32f4xx_syscfg.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:53