STM32F37 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
stm32f37x_syscfg.c File Reference

This file provides firmware functions to manage the following functionalities of the SYSCFG peripheral: More...

#include "stm32f37x_syscfg.h"


#define CFGR1_CLEAR_MASK   ((uint32_t)0x7C000000)


void SYSCFG_DeInit (void)
 Deinitializes the SYSCFG registers to their default reset values. More...
void SYSCFG_MemoryRemapConfig (uint32_t SYSCFG_MemoryRemap)
 Configures the memory mapping at address 0x00000000. More...
void SYSCFG_DMAChannelRemapConfig (uint32_t SYSCFG_DMARemap, FunctionalState NewState)
 Configure the DMA channels remapping. More...
void SYSCFG_I2CFastModePlusConfig (uint32_t SYSCFG_I2CFastModePlus, FunctionalState NewState)
 Configure the I2C fast mode plus driving capability. More...
void SYSCFG_VBATMonitoringCmd (FunctionalState NewState)
 Control the VBAT monitoring. More...
void SYSCFG_ITConfig (uint32_t SYSCFG_IT, FunctionalState NewState)
 Enables or disables the selected SYSCFG interrupts. More...
void SYSCFG_EXTILineConfig (uint8_t EXTI_PortSourceGPIOx, uint8_t EXTI_PinSourcex)
 Selects the GPIO pin used as EXTI Line. More...
void SYSCFG_BreakConfig (uint32_t SYSCFG_Break)
 Connect the selected parameter to the break input of TIM15/TIM16/TIM17. More...
FlagStatus SYSCFG_GetFlagStatus (uint32_t SYSCFG_Flag)
 Checks whether the specified SYSCFG flag is set or not. More...
void SYSCFG_ClearFlag (uint32_t SYSCFG_Flag)
 Clear the selected SYSCFG flag. More...

Detailed Description

This file provides firmware functions to manage the following functionalities of the SYSCFG peripheral:

MCD Application Team
  • Remapping the memory mapped at 0x00000000
  • Remapping the DMA channels
  • Enabling I2C fast mode plus driving capability for I2C pins
  • Configuring the EXTI lines connection to the GPIO port
  • Configuring the CLASSB requirements
                    ##### How to use this driver #####
              The SYSCFG registers can be accessed only when the SYSCFG 
              interface APB clock is enabled.
              To enable SYSCFG APB clock use:
              RCC_APB2PeriphClockCmd(RCC_APBPeriph_SYSCFG, ENABLE).

© COPYRIGHT 2012 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:

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.