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.h File Reference

This file contains all the functions prototypes for the SYSCFG firmware library. More...

#include "stm32f0xx.h"

Go to the source code of this file.

Macros

#define EXTI_PortSourceGPIOA   ((uint8_t)0x00)
 
#define EXTI_PortSourceGPIOB   ((uint8_t)0x01)
 
#define EXTI_PortSourceGPIOC   ((uint8_t)0x02)
 
#define EXTI_PortSourceGPIOD   ((uint8_t)0x03)
 
#define EXTI_PortSourceGPIOF   ((uint8_t)0x05)
 
#define IS_EXTI_PORT_SOURCE(PORTSOURCE)
 
#define EXTI_PinSource0   ((uint8_t)0x00)
 
#define EXTI_PinSource1   ((uint8_t)0x01)
 
#define EXTI_PinSource2   ((uint8_t)0x02)
 
#define EXTI_PinSource3   ((uint8_t)0x03)
 
#define EXTI_PinSource4   ((uint8_t)0x04)
 
#define EXTI_PinSource5   ((uint8_t)0x05)
 
#define EXTI_PinSource6   ((uint8_t)0x06)
 
#define EXTI_PinSource7   ((uint8_t)0x07)
 
#define EXTI_PinSource8   ((uint8_t)0x08)
 
#define EXTI_PinSource9   ((uint8_t)0x09)
 
#define EXTI_PinSource10   ((uint8_t)0x0A)
 
#define EXTI_PinSource11   ((uint8_t)0x0B)
 
#define EXTI_PinSource12   ((uint8_t)0x0C)
 
#define EXTI_PinSource13   ((uint8_t)0x0D)
 
#define EXTI_PinSource14   ((uint8_t)0x0E)
 
#define EXTI_PinSource15   ((uint8_t)0x0F)
 
#define IS_EXTI_PIN_SOURCE(PINSOURCE)
 
#define SYSCFG_MemoryRemap_Flash   ((uint8_t)0x00)
 
#define SYSCFG_MemoryRemap_SystemMemory   ((uint8_t)0x01)
 
#define SYSCFG_MemoryRemap_SRAM   ((uint8_t)0x03)
 
#define IS_SYSCFG_MEMORY_REMAP(REMAP)
 
#define SYSCFG_DMARemap_TIM17   SYSCFG_CFGR1_TIM17_DMA_RMP /* Remap TIM17 DMA requests from channel1 to channel2 */
 
#define SYSCFG_DMARemap_TIM16   SYSCFG_CFGR1_TIM16_DMA_RMP /* Remap TIM16 DMA requests from channel3 to channel4 */
 
#define SYSCFG_DMARemap_USART1Rx   SYSCFG_CFGR1_USART1RX_DMA_RMP /* Remap USART1 Rx DMA requests from channel3 to channel5 */
 
#define SYSCFG_DMARemap_USART1Tx   SYSCFG_CFGR1_USART1TX_DMA_RMP /* Remap USART1 Tx DMA requests from channel2 to channel4 */
 
#define SYSCFG_DMARemap_ADC1   SYSCFG_CFGR1_ADC_DMA_RMP /* Remap ADC1 DMA requests from channel1 to channel2 */
 
#define IS_SYSCFG_DMA_REMAP(REMAP)
 
#define SYSCFG_I2CFastModePlus_PB6   SYSCFG_CFGR1_I2C_FMP_PB6 /* Enable Fast Mode Plus on PB6 */
 
#define SYSCFG_I2CFastModePlus_PB7   SYSCFG_CFGR1_I2C_FMP_PB7 /* Enable Fast Mode Plus on PB7 */
 
#define SYSCFG_I2CFastModePlus_PB8   SYSCFG_CFGR1_I2C_FMP_PB8 /* Enable Fast Mode Plus on PB8 */
 
#define SYSCFG_I2CFastModePlus_PB9   SYSCFG_CFGR1_I2C_FMP_PB9 /* Enable Fast Mode Plus on PB9 */
 
#define IS_SYSCFG_I2C_FMP(PIN)
 
#define SYSCFG_Break_PVD   SYSCFG_CFGR2_PVD_LOCK
 
#define SYSCFG_Break_SRAMParity   SYSCFG_CFGR2_SRAM_PARITY_LOCK
 
#define SYSCFG_Break_Lockup   SYSCFG_CFGR2_LOCKUP_LOCK
 
#define IS_SYSCFG_LOCK_CONFIG(CONFIG)
 
#define SYSCFG_FLAG_PE   SYSCFG_CFGR2_SRAM_PE
 
#define IS_SYSCFG_FLAG(FLAG)   (((FLAG) == SYSCFG_FLAG_PE))
 

Functions

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 contains all the functions prototypes for the SYSCFG firmware library.

Author
MCD Application Team
Version
V1.0.1
Date
20-April-2012
Attention

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

   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.