Macros | Functions
stm32f30x_syscfg.c File Reference

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

#include "stm32f30x_syscfg.h"
Include dependency graph for stm32f30x_syscfg.c:

Go to the source code of this file.

Macros

#define BYPADDRPAR_BitNumber   0x04
 
#define CFGR1_BYPADDRPAR_BB   (PERIPH_BB_BASE + (CFGR2_OFFSET * 32) + (BYPADDRPAR_BitNumber * 4))
 
#define CFGR1_CLEAR_MASK   ((uint32_t)0x7C000000)
 
#define CFGR1_OFFSET   (SYSCFG_OFFSET + 0x00)
 
#define CFGR1_USBITRMP_BB   (PERIPH_BB_BASE + (CFGR1_OFFSET * 32) + (USBITRMP_BitNumber * 4))
 
#define CFGR2_OFFSET   (SYSCFG_OFFSET + 0x18)
 
#define SYSCFG_OFFSET   (SYSCFG_BASE - PERIPH_BASE)
 
#define USBITRMP_BitNumber   0x05
 

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 SYSCFG 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...
 

Detailed Description

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

Author
MCD Application Team
Version
V1.1.1
Date
04-April-2014
  • Remapping the memory mapped at 0x00000000
  • Remapping the DMA channels
  • Enabling I2C fast mode plus driving capability for I2C plus
  • Remapping USB interrupt line
  • 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_APBPeriphClockCmd(RCC_APBPeriph_SYSCFG, ENABLE);
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.

Definition in file stm32f30x_syscfg.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:27