STM32F0 Standard Peripheral bibliotheek  1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
stm32f0xx_syscfg.c File Reference

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

#include "stm32f0xx_syscfg.h"


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_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 TIM1. 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 CFGR2 features (Connecting some internal signal to the break input of TIM1)
                    ##### 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_APBPeriphClockCmd(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.