STM32LIB
Macros
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_PortSourceGPIOE   ((uint8_t)0x04)
 
#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_TIM3
 
#define SYSCFG_DMARemap_TIM2
 
#define SYSCFG_DMARemap_TIM1
 
#define SYSCFG_DMARemap_I2C1
 
#define SYSCFG_DMARemap_USART3
 
#define SYSCFG_DMARemap_USART2
 
#define SYSCFG_DMARemap_SPI2
 
#define SYSCFG_DMARemap_TIM17_2
 
#define SYSCFG_DMARemap_TIM16_2
 
#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 SYSCFG_I2CFastModePlus_I2C1   SYSCFG_CFGR1_I2C_FMP_I2C1 /* Enable Fast Mode Plus on PB10, PB11, PF6 and PF7(only for STM32F0031 and STM32F030 devices) */
 
#define SYSCFG_I2CFastModePlus_I2C2   SYSCFG_CFGR1_I2C_FMP_I2C2 /* Enable Fast Mode Plus on I2C2 pins, available only for STM32F072 devices */
 
#define SYSCFG_I2CFastModePlus_PA9   SYSCFG_CFGR1_I2C_FMP_PA9 /* Enable Fast Mode Plus on PA9 (only for STM32F031 and STM32F030 devices) */
 
#define SYSCFG_I2CFastModePlus_PA10   SYSCFG_CFGR1_I2C_FMP_PA10/* Enable Fast Mode Plus on PA10(only for STM32F031 and STM32F030 devices) */
 
#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))
 

Detailed Description

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

Author
MCD Application Team
Version
V1.3.0
Date
16-January-2014
Attention

© COPYRIGHT 2014 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.