STM8L15x Standard Peripherals Drivers
|
SYSCFG driver modules. More...
Modules | |
SYSCFG_Exported_Types | |
SYSCFG_Exported_Macros | |
SYSCFG_Private_Functions | |
Functions | |
void | SYSCFG_REMAPDeInit (void) |
Deinitializes the Remapping registers to their default reset values. | |
void | SYSCFG_REMAPDMAChannelConfig (REMAP_DMAChannel_TypeDef REMAP_DMAChannel) |
Remaps the DMA Channel to the specific peripheral (ADC or TIM4) | |
void | SYSCFG_REMAPPinConfig (REMAP_Pin_TypeDef REMAP_Pin, FunctionalState NewState) |
Changes the mapping of the specified pins. | |
void | SYSCFG_RIAnalogSwitchConfig (RI_AnalogSwitch_TypeDef RI_AnalogSwitch, FunctionalState NewState) |
Enables or disables the Routing Interface Analog switch. | |
void | SYSCFG_RIDeInit (void) |
Deinitializes the RI registers to their default reset values. | |
void | SYSCFG_RIIOSwitchConfig (RI_IOSwitch_TypeDef RI_IOSwitch, FunctionalState NewState) |
Closes or Opens the routing interface Input Output switches. | |
void | SYSCFG_RIResistorConfig (RI_Resistor_TypeDef RI_Resistor, FunctionalState NewState) |
Configures the Pull-up and Pull-down Resistors. | |
void | SYSCFG_RITIMInputCaptureConfig (RI_InputCapture_TypeDef RI_InputCapture, RI_InputCaptureRouting_TypeDef RI_InputCaptureRouting) |
Configures the routing interface to select which Input Output pin to be routed to TIM1 Input Capture. |
Detailed Description
SYSCFG driver modules.
Function Documentation
void SYSCFG_REMAPDeInit | ( | void | ) |
Deinitializes the Remapping registers to their default reset values.
< Set RMPCR1 to reset value
< Set RMPCR2 to reset value
< Set RMPCR3 to reset value
Definition at line 361 of file stm8l15x_syscfg.c.
References SYSCFG, SYSCFG_RMPCR1_RESET_VALUE, SYSCFG_RMPCR2_RESET_VALUE, and SYSCFG_RMPCR3_RESET_VALUE.
void SYSCFG_REMAPDMAChannelConfig | ( | REMAP_DMAChannel_TypeDef | REMAP_DMAChannel | ) |
Remaps the DMA Channel to the specific peripheral (ADC or TIM4)
Definition at line 463 of file stm8l15x_syscfg.c.
References IS_REMAP_DMACHANNEL, RESET, SYSCFG, SYSCFG_RMPCR1_ADC1DMA_REMAP, and SYSCFG_RMPCR1_TIM4DMA_REMAP.
void SYSCFG_REMAPPinConfig | ( | REMAP_Pin_TypeDef | REMAP_Pin, |
FunctionalState | NewState | ||
) |
Changes the mapping of the specified pins.
Definition at line 404 of file stm8l15x_syscfg.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_REMAP_PIN, and SYSCFG.
void SYSCFG_RIAnalogSwitchConfig | ( | RI_AnalogSwitch_TypeDef | RI_AnalogSwitch, |
FunctionalState | NewState | ||
) |
Enables or disables the Routing Interface Analog switch.
Definition at line 177 of file stm8l15x_syscfg.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_RI_ANALOGSWITCH, and RI.
void SYSCFG_RIDeInit | ( | void | ) |
Deinitializes the RI registers to their default reset values.
< Set RI->ICR1 to reset value
< Set RI->ICR2 to reset value
< Set RI->IOSR1 to reset value
< Set RI->IOSR2 to reset value
< Set RI->IOSR3 to reset value
< Set RI->IOSR3 to reset value
< Set RI->ASCR1 to reset value
< Set RI->ASCR2 to reset value
< Set RI->RCR to reset value
Definition at line 112 of file stm8l15x_syscfg.c.
References RI, RI_ASCR1_RESET_VALUE, RI_ASCR2_RESET_VALUE, RI_ICR1_RESET_VALUE, RI_ICR2_RESET_VALUE, RI_IOSR1_RESET_VALUE, RI_IOSR2_RESET_VALUE, RI_IOSR3_RESET_VALUE, RI_IOSR4_RESET_VALUE, and RI_RCR_RESET_VALUE.
void SYSCFG_RIIOSwitchConfig | ( | RI_IOSwitch_TypeDef | RI_IOSwitch, |
FunctionalState | NewState | ||
) |
Closes or Opens the routing interface Input Output switches.
Definition at line 227 of file stm8l15x_syscfg.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_RI_IOSWITCH, and RI.
void SYSCFG_RIResistorConfig | ( | RI_Resistor_TypeDef | RI_Resistor, |
FunctionalState | NewState | ||
) |
Configures the Pull-up and Pull-down Resistors.
Definition at line 313 of file stm8l15x_syscfg.c.
References DISABLE, IS_FUNCTIONAL_STATE, IS_RI_RESISTOR, and RI.
void SYSCFG_RITIMInputCaptureConfig | ( | RI_InputCapture_TypeDef | RI_InputCapture, |
RI_InputCaptureRouting_TypeDef | RI_InputCaptureRouting | ||
) |
Configures the routing interface to select which Input Output pin to be routed to TIM1 Input Capture.
Definition at line 135 of file stm8l15x_syscfg.c.
References IS_RI_INPUTCAPTURE, IS_RI_INPUTCAPTUREROUTING, RI, and RI_InputCapture_IC2.