This file contains all the functions prototypes for the SYSCFG firmware library. More...
#include "stm32f30x.h"
Go to the source code of this file.
Macros | |
#define | EXTI_PinSource0 ((uint8_t)0x00) |
#define | EXTI_PinSource1 ((uint8_t)0x01) |
#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 | 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_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_PIN_SOURCE(PINSOURCE) |
#define | IS_EXTI_PORT_SOURCE(PORTSOURCE) |
#define | IS_SYSCFG_DMA_REMAP(REMAP) |
#define | IS_SYSCFG_ENCODER_REMAP(REMAP) |
#define | IS_SYSCFG_FLAG(FLAG) (((FLAG) == SYSCFG_FLAG_PE)) |
#define | IS_SYSCFG_I2C_FMP(PIN) |
#define | IS_SYSCFG_IT(IT) ((((IT) & (uint32_t)0x03FFFFFF) == 0) && ((IT) != 0)) |
#define | IS_SYSCFG_LOCK_CONFIG(CONFIG) |
#define | IS_SYSCFG_MEMORY_REMAP(REMAP) |
#define | IS_SYSCFG_PAGE(PAGE) ((((PAGE) & (uint32_t)0xFFFFFF00) == 0x00000000) && ((PAGE) != 0x00000000)) |
#define | IS_SYSCFG_TRIGGER_REMAP(REMAP) |
#define | SYSCFG_Break_Lockup SYSCFG_CFGR2_LOCKUP_LOCK |
#define | SYSCFG_Break_PVD SYSCFG_CFGR2_PVD_LOCK |
#define | SYSCFG_Break_SRAMParity SYSCFG_CFGR2_SRAM_PARITY_LOCK |
#define | SYSCFG_DMARemap_ADC2ADC4 SYSCFG_CFGR1_ADC24_DMA_RMP |
#define | SYSCFG_DMARemap_DAC2Ch1 SYSCFG_CFGR1_DAC2Ch1_DMA_RMP /* Remap DAC2 Ch1 DMA requests */ |
#define | SYSCFG_DMARemap_TIM16 SYSCFG_CFGR1_TIM16_DMA_RMP |
#define | SYSCFG_DMARemap_TIM17 SYSCFG_CFGR1_TIM17_DMA_RMP |
#define | SYSCFG_DMARemap_TIM6DAC1 SYSCFG_DMARemap_TIM6DAC1Ch1 |
#define | SYSCFG_DMARemap_TIM6DAC1Ch1 SYSCFG_CFGR1_TIM6DAC1Ch1_DMA_RMP /* Remap TIM6/DAC1 Ch1 DMA requests */ |
#define | SYSCFG_DMARemap_TIM7DAC1Ch2 SYSCFG_CFGR1_TIM7DAC1Ch2_DMA_RMP /* Remap TIM7/DAC1 Ch2 DMA requests */ |
#define | SYSCFG_DMARemap_TIM7DAC2 SYSCFG_DMARemap_TIM7DAC1Ch2 |
#define | SYSCFG_DMARemapCh2_ADC2 ((uint32_t)0x80000200) /* Remap ADC2 DMA1 Ch2 requests */ |
#define | SYSCFG_DMARemapCh2_I2C1_TX ((uint32_t)0x80000040) /* Remap I2C1 TX DMA CH2 requests */ |
#define | SYSCFG_DMARemapCh2_SPI1_RX ((uint32_t)0x80000003) /* Remap SPI1 RX DMA CH2 requests */ |
#define | SYSCFG_DMARemapCh3_I2C1_RX ((uint32_t)0x80000010) /* Remap I2C1 RX DMA CH3 requests */ |
#define | SYSCFG_DMARemapCh3_SPI1_TX ((uint32_t)0x8000000C) /* Remap SPI1 TX DMA CH2 requests */ |
#define | SYSCFG_DMARemapCh4_ADC2 ((uint32_t)0x80000300) /* Remap ADC2 DMA1 Ch4 requests */ |
#define | SYSCFG_DMARemapCh4_I2C1_TX ((uint32_t)0x80000080) /* Remap I2C1 TX DMA CH4 requests */ |
#define | SYSCFG_DMARemapCh4_SPI1_RX ((uint32_t)0x80000001) /* Remap SPI1 RX DMA CH4 requests */ |
#define | SYSCFG_DMARemapCh5_I2C1_RX ((uint32_t)0x80000020) /* Remap I2C1 RX DMA CH5 requests */ |
#define | SYSCFG_DMARemapCh5_SPI1_TX ((uint32_t)0x80000004) /* Remap SPI1 TX DMA CH5 requests */ |
#define | SYSCFG_DMARemapCh6_I2C1_TX ((uint32_t)0x800000C0) /* Remap I2C1 TX DMA CH6 requests */ |
#define | SYSCFG_DMARemapCh6_SPI1_RX ((uint32_t)0x80000002) /* Remap SPI1 RX DMA CH6 requests */ |
#define | SYSCFG_DMARemapCh7_I2C1_RX ((uint32_t)0x80000030) /* Remap I2C1 RX DMA CH7 requests */ |
#define | SYSCFG_DMARemapCh7_SPI1_TX ((uint32_t)0x80000008) /* Remap SPI1 TX DMA CH7 requests */ |
#define | SYSCFG_EncoderRemap_No ((uint32_t)0x00000000) |
#define | SYSCFG_EncoderRemap_TIM2 SYSCFG_CFGR1_ENCODER_MODE_0 |
#define | SYSCFG_EncoderRemap_TIM3 SYSCFG_CFGR1_ENCODER_MODE_1 |
#define | SYSCFG_EncoderRemap_TIM4 SYSCFG_CFGR1_ENCODER_MODE |
#define | SYSCFG_FLAG_PE SYSCFG_CFGR2_SRAM_PE |
#define | SYSCFG_I2CFastModePlus_I2C1 SYSCFG_CFGR1_I2C1_FMP |
#define | SYSCFG_I2CFastModePlus_I2C2 SYSCFG_CFGR1_I2C2_FMP |
#define | SYSCFG_I2CFastModePlus_PB6 SYSCFG_CFGR1_I2C_PB6_FMP |
#define | SYSCFG_I2CFastModePlus_PB7 SYSCFG_CFGR1_I2C_PB7_FMP |
#define | SYSCFG_I2CFastModePlus_PB8 SYSCFG_CFGR1_I2C_PB8_FMP |
#define | SYSCFG_I2CFastModePlus_PB9 SYSCFG_CFGR1_I2C_PB9_FMP |
#define | SYSCFG_IT_DZC SYSCFG_CFGR1_FPU_IE_1 |
#define | SYSCFG_IT_IDC SYSCFG_CFGR1_FPU_IE_4 |
#define | SYSCFG_IT_IOC SYSCFG_CFGR1_FPU_IE_0 |
#define | SYSCFG_IT_IXC SYSCFG_CFGR1_FPU_IE_5 |
#define | SYSCFG_IT_OFC SYSCFG_CFGR1_FPU_IE_3 |
#define | SYSCFG_IT_UFC SYSCFG_CFGR1_FPU_IE_2 |
#define | SYSCFG_MemoryRemap_Flash ((uint8_t)0x00) |
#define | SYSCFG_MemoryRemap_SRAM ((uint8_t)0x03) |
#define | SYSCFG_MemoryRemap_SystemMemory ((uint8_t)0x01) |
#define | SYSCFG_SRAMWRP_Page0 SYSCFG_RCR_PAGE0 |
#define | SYSCFG_SRAMWRP_Page1 SYSCFG_RCR_PAGE1 |
#define | SYSCFG_SRAMWRP_Page2 SYSCFG_RCR_PAGE2 |
#define | SYSCFG_SRAMWRP_Page3 SYSCFG_RCR_PAGE3 |
#define | SYSCFG_SRAMWRP_Page4 SYSCFG_RCR_PAGE4 |
#define | SYSCFG_SRAMWRP_Page5 SYSCFG_RCR_PAGE5 |
#define | SYSCFG_SRAMWRP_Page6 SYSCFG_RCR_PAGE6 |
#define | SYSCFG_SRAMWRP_Page7 SYSCFG_RCR_PAGE7 |
#define | SYSCFG_TriggerRemap_DACHRTIM1_TRIG1 ((uint32_t)0x80010000) |
#define | SYSCFG_TriggerRemap_DACHRTIM1_TRIG2 ((uint32_t)0x80020000) |
#define | SYSCFG_TriggerRemap_DACTIM3 SYSCFG_CFGR1_DAC1_TRIG1_RMP |
#define | SYSCFG_TriggerRemap_TIM1TIM17 SYSCFG_CFGR1_TIM1_ITR3_RMP |
Functions | |
void | SYSCFG_BreakConfig (uint32_t SYSCFG_Break) |
Connects the selected parameter to the break input of TIM1. More... | |
void | SYSCFG_BypassParityCheckDisable (void) |
Disables the parity check on RAM. More... | |
void | SYSCFG_ClearFlag (uint32_t SYSCFG_Flag) |
Clears the selected SYSCFG flag. More... | |
void | SYSCFG_DeInit (void) |
Deinitializes the Alternate Functions (remap and EXTI configuration) registers to their default reset values. More... | |
void | SYSCFG_DMAChannelRemapConfig (uint32_t SYSCFG_DMARemap, FunctionalState NewState) |
Configures the DMA channels remapping. More... | |
void | SYSCFG_EncoderRemapConfig (uint32_t SYSCFG_EncoderRemap) |
Configures the remapping capabilities of encoder mode. @ note This feature implement the so-called M/T method for measuring speed and position using quadrature encoders. More... | |
void | SYSCFG_EXTILineConfig (uint8_t EXTI_PortSourceGPIOx, uint8_t EXTI_PinSourcex) |
Selects the GPIO pin used as EXTI Line. More... | |
FlagStatus | SYSCFG_GetFlagStatus (uint32_t SYSCFG_Flag) |
Checks whether the specified SYSCFG flag is set or not. More... | |
void | SYSCFG_I2CFastModePlusConfig (uint32_t SYSCFG_I2CFastModePlus, FunctionalState NewState) |
Configures the I2C fast mode plus driving capability. More... | |
void | SYSCFG_ITConfig (uint32_t SYSCFG_IT, FunctionalState NewState) |
Enables or disables the selected SYSCFG interrupts. More... | |
void | SYSCFG_MemoryRemapConfig (uint32_t SYSCFG_MemoryRemap) |
Configures the memory mapping at address 0x00000000. More... | |
void | SYSCFG_SRAMWRPEnable (uint32_t SYSCFG_SRAMWRP) |
Enables the ICODE SRAM write protection. More... | |
void | SYSCFG_TriggerRemapConfig (uint32_t SYSCFG_TriggerRemap, FunctionalState NewState) |
Configures the remapping capabilities of DAC/TIM triggers. More... | |
void | SYSCFG_USBInterruptLineRemapCmd (FunctionalState NewState) |
Remaps the USB interrupt lines. More... | |
This file contains all the functions prototypes for the SYSCFG firmware library.
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 stm32f30x_syscfg.h.