CARME-M4 BSP  V1.5
SYSCFG_Private_Functions
+ Collaboration diagram for SYSCFG_Private_Functions:

Functions

void SYSCFG_DeInit (void)
 Deinitializes the Alternate Functions (remap and EXTI configuration) registers to their default reset values. More...
 
void SYSCFG_MemoryRemapConfig (uint8_t SYSCFG_MemoryRemap)
 Changes the mapping of the specified pin. More...
 
void SYSCFG_MemorySwappingBank (FunctionalState NewState)
 Enables or disables the Interal FLASH Bank Swapping. More...
 
void SYSCFG_EXTILineConfig (uint8_t EXTI_PortSourceGPIOx, uint8_t EXTI_PinSourcex)
 Selects the GPIO pin used as EXTI Line. More...
 
void SYSCFG_ETH_MediaInterfaceConfig (uint32_t SYSCFG_ETH_MediaInterface)
 Selects the ETHERNET media interface. More...
 
void SYSCFG_CompensationCellCmd (FunctionalState NewState)
 Enables or disables the I/O Compensation Cell. More...
 
FlagStatus SYSCFG_GetCompensationCellStatus (void)
 Checks whether the I/O Compensation Cell ready flag is set or not. More...
 

Detailed Description

Function Documentation

void SYSCFG_CompensationCellCmd ( FunctionalState  NewState)

Enables or disables the I/O Compensation Cell.

Note
The I/O compensation cell can be used only when the device supply voltage ranges from 2.4 to 3.6 V.
Parameters
NewStatenew state of the I/O Compensation Cell. This parameter can be one of the following values:
  • ENABLE: I/O compensation cell enabled
  • DISABLE: I/O compensation cell power-down mode
Return values
None

Definition at line 200 of file stm32f4xx_syscfg.c.

void SYSCFG_DeInit ( void  )

Deinitializes the Alternate Functions (remap and EXTI configuration) registers to their default reset values.

Parameters
None
Return values
None

Definition at line 100 of file stm32f4xx_syscfg.c.

+ Here is the call graph for this function:

void SYSCFG_ETH_MediaInterfaceConfig ( uint32_t  SYSCFG_ETH_MediaInterface)

Selects the ETHERNET media interface.

Parameters
SYSCFG_ETH_MediaInterfacespecifies the Media Interface mode. This parameter can be one of the following values:
  • SYSCFG_ETH_MediaInterface_MII: MII mode selected
  • SYSCFG_ETH_MediaInterface_RMII: RMII mode selected
Return values
None

Definition at line 183 of file stm32f4xx_syscfg.c.

void SYSCFG_EXTILineConfig ( uint8_t  EXTI_PortSourceGPIOx,
uint8_t  EXTI_PinSourcex 
)

Selects the GPIO pin used as EXTI Line.

Parameters
EXTI_PortSourceGPIOx: selects the GPIO port to be used as source for EXTI lines where x can be (A..K) for STM32F42xxx/43xxx devices, (A..I) for STM32F405xx/407xx and STM32F415xx/417xx devices or (A, B, C, D and H) for STM32401xx devices.
EXTI_PinSourcexspecifies the EXTI line to be configured. This parameter can be EXTI_PinSourcex where x can be (0..15, except for EXTI_PortSourceGPIOI x can be (0..11) for STM32F405xx/407xx and STM32F405xx/407xx devices and for EXTI_PortSourceGPIOK x can be (0..7) for STM32F42xxx/43xxx devices.
Return values
None

Definition at line 162 of file stm32f4xx_syscfg.c.

+ Here is the caller graph for this function:

FlagStatus SYSCFG_GetCompensationCellStatus ( void  )

Checks whether the I/O Compensation Cell ready flag is set or not.

Parameters
None
Return values
Thenew state of the I/O Compensation Cell ready flag (SET or RESET)

Definition at line 213 of file stm32f4xx_syscfg.c.

void SYSCFG_MemoryRemapConfig ( uint8_t  SYSCFG_MemoryRemap)

Changes the mapping of the specified pin.

Parameters
SYSCFG_Memoryselects the memory remapping. This parameter can be one of the following values:
  • SYSCFG_MemoryRemap_Flash: Main Flash memory mapped at 0x00000000
  • SYSCFG_MemoryRemap_SystemFlash: System Flash memory mapped at 0x00000000
  • SYSCFG_MemoryRemap_FSMC: FSMC (Bank1 (NOR/PSRAM 1 and 2) mapped at 0x00000000 for STM32F405xx/407xx and STM32F415xx/417xx devices.
  • SYSCFG_MemoryRemap_FMC: FMC (Bank1 (NOR/PSRAM 1 and 2) mapped at 0x00000000 for STM32F42xxx/43xxx devices.
  • SYSCFG_MemoryRemap_SRAM: Embedded SRAM (112kB) mapped at 0x00000000
  • SYSCFG_MemoryRemap_SDRAM: FMC (External SDRAM) mapped at 0x00000000 for STM32F42xxx/43xxx devices.
Return values
None

Definition at line 118 of file stm32f4xx_syscfg.c.

void SYSCFG_MemorySwappingBank ( FunctionalState  NewState)

Enables or disables the Interal FLASH Bank Swapping.

Note
This function can be used only for STM32F42xxx/43xxx devices.
Parameters
NewStatenew state of Interal FLASH Bank swapping. This parameter can be one of the following values:
  • ENABLE: Flash Bank2 mapped at 0x08000000 (and aliased @0x00000000) and Flash Bank1 mapped at 0x08100000 (and aliased at 0x00100000)
  • DISABLE:(the default state) Flash Bank1 mapped at 0x08000000 (and aliased @0x0000 0000) and Flash Bank2 mapped at 0x08100000 (and aliased at 0x00100000)
Return values
None

Definition at line 139 of file stm32f4xx_syscfg.c.