STM32F37 Standard Peripheral bibliotheek
1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
|
This file contains all the functions prototypes for the SYSCFG firmware library. More...
#include "stm32f37x.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_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_TIM6DAC1Ch1 SYSCFG_CFGR1_TIM6DAC1Ch1_DMA_RMP /* Remap TIM6/DAC1 Ch1 DMA requests from DMA2 channel3 to DMA1 channel3 */ |
#define | SYSCFG_DMARemap_TIM7DAC1Ch2 SYSCFG_CFGR1_TIM7DAC1Ch2_DMA_RMP /* Remap TIM7/DAC1 Ch2 DMA requests from DMA2 channel4 to DMA1 channel4 */ |
#define | SYSCFG_DMARemap_TIM18DAC2Ch1 SYSCFG_CFGR1_TIM18DAC2Ch1_DMA_RMP /* Remap TIM18/DAC2 Ch1 DMA requests from DMA2 channel5 to DMA1 channel5 */ |
#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 I2C1 pins */ |
#define | SYSCFG_I2CFastModePlus_I2C2 SYSCFG_CFGR1_I2C_FMP_I2C2 /* Enable Fast Mode Plus on I2C2 pins */ |
#define | IS_SYSCFG_I2C_FMP(PIN) |
#define | SYSCFG_IT_IXC SYSCFG_CFGR1_FPU_IE_5 |
#define | SYSCFG_IT_IDC SYSCFG_CFGR1_FPU_IE_4 |
#define | SYSCFG_IT_OFC SYSCFG_CFGR1_FPU_IE_3 |
#define | SYSCFG_IT_UFC SYSCFG_CFGR1_FPU_IE_2 |
#define | SYSCFG_IT_DZC SYSCFG_CFGR1_FPU_IE_1 |
#define | SYSCFG_IT_IOC SYSCFG_CFGR1_FPU_IE_0 |
#define | IS_SYSCFG_IT(IT) ((((IT) & (uint32_t)0x03FFFFFF) == 0) && ((IT) != 0)) |
#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_VBATMonitoringCmd (FunctionalState NewState) |
Control the VBAT monitoring. More... | |
void | SYSCFG_ITConfig (uint32_t SYSCFG_IT, FunctionalState NewState) |
Enables or disables the selected SYSCFG interrupts. 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 TIM15/TIM16/TIM17. 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... | |
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.