SYSCFG driver modules. More...
Modules | |
SYSCFG_Exported_Constants | |
SYSCFG_Private_Functions | |
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 | CMP_PD_BitNumber ((uint8_t)0x00) |
#define | CMPCR_CMP_PD_BB (PERIPH_BB_BASE + (CMPCR_OFFSET * 32) + (CMP_PD_BitNumber * 4)) |
#define | CMPCR_OFFSET (SYSCFG_OFFSET + 0x20) |
#define | MII_RMII_SEL_BitNumber ((uint8_t)0x17) |
#define | PMC_MII_RMII_SEL_BB (PERIPH_BB_BASE + (PMC_OFFSET * 32) + (MII_RMII_SEL_BitNumber * 4)) |
#define | PMC_OFFSET (SYSCFG_OFFSET + 0x04) |
#define | SYSCFG_OFFSET (SYSCFG_BASE - PERIPH_BASE) |
#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_CompensationCellCmd (FunctionalState NewState) |
Enables or disables the I/O Compensation Cell. 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_ETH_MediaInterfaceConfig (uint32_t SYSCFG_ETH_MediaInterface) |
Selects the ETHERNET media interface. More... | |
void | SYSCFG_EXTILineConfig (uint8_t EXTI_PortSourceGPIOx, uint8_t EXTI_PinSourcex) |
Selects the GPIO pin used as EXTI Line. More... | |
FlagStatus | SYSCFG_GetCompensationCellStatus (void) |
Checks whether the I/O Compensation Cell ready flag is set or not. 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 (uint8_t SYSCFG_MemoryRemap) |
Changes the mapping of the specified pin. 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... | |
SYSCFG driver modules.
#define BYPADDRPAR_BitNumber 0x04 |
Definition at line 77 of file stm32f30x_syscfg.c.
#define CFGR1_BYPADDRPAR_BB (PERIPH_BB_BASE + (CFGR2_OFFSET * 32) + (BYPADDRPAR_BitNumber * 4)) |
Definition at line 78 of file stm32f30x_syscfg.c.
#define CFGR1_CLEAR_MASK ((uint32_t)0x7C000000) |
Definition at line 63 of file stm32f30x_syscfg.c.
#define CFGR1_OFFSET (SYSCFG_OFFSET + 0x00) |
Definition at line 70 of file stm32f30x_syscfg.c.
#define CFGR1_USBITRMP_BB (PERIPH_BB_BASE + (CFGR1_OFFSET * 32) + (USBITRMP_BitNumber * 4)) |
Definition at line 72 of file stm32f30x_syscfg.c.
#define CFGR2_OFFSET (SYSCFG_OFFSET + 0x18) |
Definition at line 76 of file stm32f30x_syscfg.c.
#define CMP_PD_BitNumber ((uint8_t)0x00) |
Definition at line 73 of file stm32f4xx_syscfg.c.
#define CMPCR_CMP_PD_BB (PERIPH_BB_BASE + (CMPCR_OFFSET * 32) + (CMP_PD_BitNumber * 4)) |
Definition at line 74 of file stm32f4xx_syscfg.c.
#define CMPCR_OFFSET (SYSCFG_OFFSET + 0x20) |
Definition at line 72 of file stm32f4xx_syscfg.c.
#define MII_RMII_SEL_BitNumber ((uint8_t)0x17) |
Definition at line 67 of file stm32f4xx_syscfg.c.
#define PMC_MII_RMII_SEL_BB (PERIPH_BB_BASE + (PMC_OFFSET * 32) + (MII_RMII_SEL_BitNumber * 4)) |
Definition at line 68 of file stm32f4xx_syscfg.c.
#define PMC_OFFSET (SYSCFG_OFFSET + 0x04) |
Definition at line 66 of file stm32f4xx_syscfg.c.
#define SYSCFG_OFFSET (SYSCFG_BASE - PERIPH_BASE) |
Definition at line 62 of file stm32f4xx_syscfg.c.
#define SYSCFG_OFFSET (SYSCFG_BASE - PERIPH_BASE) |
Definition at line 66 of file stm32f30x_syscfg.c.
#define USBITRMP_BitNumber 0x05 |
Definition at line 71 of file stm32f30x_syscfg.c.
void SYSCFG_BreakConfig | ( | uint32_t | SYSCFG_Break | ) |
Connects the selected parameter to the break input of TIM1.
SYSCFG_Break | selects the configuration to be connected to break input of TIM1 This parameter can be any combination of the following values:
|
None |
Definition at line 426 of file stm32f30x_syscfg.c.
void SYSCFG_BypassParityCheckDisable | ( | void | ) |
Disables the parity check on RAM.
None |
None |
Definition at line 441 of file stm32f30x_syscfg.c.
void SYSCFG_ClearFlag | ( | uint32_t | SYSCFG_Flag | ) |
Clears the selected SYSCFG flag.
SYSCFG_Flag | selects the flag to be cleared. This parameter can be any combination of the following values:
|
None |
Definition at line 506 of file stm32f30x_syscfg.c.
void SYSCFG_CompensationCellCmd | ( | FunctionalState | NewState | ) |
Enables or disables the I/O Compensation Cell.
NewState | new state of the I/O Compensation Cell. This parameter can be one of the following values:
|
None |
Definition at line 166 of file stm32f4xx_syscfg.c.
void SYSCFG_DeInit | ( | void | ) |
Deinitializes the Alternate Functions (remap and EXTI configuration) registers to their default reset values.
None |
None | Deinitializes the Alternate Functions (remap and EXTI configuration) registers to their default reset values. |
None |
None |
Definition at line 91 of file stm32f4xx_syscfg.c.
void SYSCFG_DMAChannelRemapConfig | ( | uint32_t | SYSCFG_DMARemap, |
FunctionalState | NewState | ||
) |
Configures the DMA channels remapping.
SYSCFG_DMARemap | selects the DMA channels remap. This parameter can be one of the following values:
|
NewState | new state of the DMA channel remapping. This parameter can be: Enable or Disable. |
None |
Definition at line 192 of file stm32f30x_syscfg.c.
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.
SYSCFG_EncoderRemap | selects the remap option for encoder mode. This parameter can be one of the following values:
|
None |
Definition at line 286 of file stm32f30x_syscfg.c.
void SYSCFG_ETH_MediaInterfaceConfig | ( | uint32_t | SYSCFG_ETH_MediaInterface | ) |
Selects the ETHERNET media interface.
SYSCFG_ETH_MediaInterface | specifies the Media Interface mode. This parameter can be one of the following values:
|
None |
Definition at line 149 of file stm32f4xx_syscfg.c.
void SYSCFG_EXTILineConfig | ( | uint8_t | EXTI_PortSourceGPIOx, |
uint8_t | EXTI_PinSourcex | ||
) |
Selects the GPIO pin used as EXTI Line.
EXTI_PortSourceGPIOx | : selects the GPIO port to be used as source for EXTI lines where x can be (A..I) for STM32F40xx/STM32F41xx and STM32F427x/STM32F437x devices. |
EXTI_PinSourcex | specifies 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 STM32F40xx/STM32F41xx and STM32F427x/STM32F437x devices. |
None |
EXTI_PortSourceGPIOx | : selects the GPIO port to be used as source for EXTI lines where x can be (A, B, C, D, E or F). |
EXTI_PinSourcex | specifies the EXTI line to be configured. This parameter can be EXTI_PinSourcex where x can be (0..15) |
None |
Definition at line 128 of file stm32f4xx_syscfg.c.
FlagStatus SYSCFG_GetCompensationCellStatus | ( | void | ) |
Checks whether the I/O Compensation Cell ready flag is set or not.
None |
The | new state of the I/O Compensation Cell ready flag (SET or RESET) |
Definition at line 179 of file stm32f4xx_syscfg.c.
FlagStatus SYSCFG_GetFlagStatus | ( | uint32_t | SYSCFG_Flag | ) |
Checks whether the specified SYSCFG flag is set or not.
SYSCFG_Flag | specifies the SYSCFG flag to check. This parameter can be one of the following values:
|
The | new state of SYSCFG_Flag (SET or RESET). |
Definition at line 474 of file stm32f30x_syscfg.c.
void SYSCFG_I2CFastModePlusConfig | ( | uint32_t | SYSCFG_I2CFastModePlus, |
FunctionalState | NewState | ||
) |
Configures the I2C fast mode plus driving capability.
SYSCFG_I2CFastModePlus | selects the pin. This parameter can be one of the following values:
|
NewState | new state of the DMA channel remapping. This parameter can be: |
None |
Definition at line 344 of file stm32f30x_syscfg.c.
void SYSCFG_ITConfig | ( | uint32_t | SYSCFG_IT, |
FunctionalState | NewState | ||
) |
Enables or disables the selected SYSCFG interrupts.
SYSCFG_IT | specifies the SYSCFG interrupt sources to be enabled or disabled. This parameter can be one of the following values:
|
NewState | new state of the specified SYSCFG interrupts. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 376 of file stm32f30x_syscfg.c.
void SYSCFG_MemoryRemapConfig | ( | uint8_t | SYSCFG_MemoryRemap | ) |
Changes the mapping of the specified pin.
SYSCFG_Memory | selects the memory remapping. This parameter can be one of the following values:
|
None |
Definition at line 107 of file stm32f4xx_syscfg.c.
void SYSCFG_MemoryRemapConfig | ( | uint32_t | SYSCFG_MemoryRemap | ) |
Configures the memory mapping at address 0x00000000.
SYSCFG_MemoryRemap | selects the memory remapping. This parameter can be one of the following values:
|
None |
Definition at line 136 of file stm32f30x_syscfg.c.
void SYSCFG_SRAMWRPEnable | ( | uint32_t | SYSCFG_SRAMWRP | ) |
Enables the ICODE SRAM write protection.
None |
None |
Definition at line 454 of file stm32f30x_syscfg.c.
void SYSCFG_TriggerRemapConfig | ( | uint32_t | SYSCFG_TriggerRemap, |
FunctionalState | NewState | ||
) |
Configures the remapping capabilities of DAC/TIM triggers.
SYSCFG_TriggerRemap | selects the trigger to be remapped. This parameter can be one of the following values:
|
NewState | new state of the trigger mapping. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 240 of file stm32f30x_syscfg.c.
void SYSCFG_USBInterruptLineRemapCmd | ( | FunctionalState | NewState | ) |
Remaps the USB interrupt lines.
NewState | new state of the mapping of USB interrupt lines. This parameter can be: |
ENABLE | Remap the USB interrupt line as following:
|
DISABLE | Use the default USB interrupt line:
|
None |
Definition at line 312 of file stm32f30x_syscfg.c.