STM8L15x Standard Peripherals Drivers
|
stm8l15x_syscfg.c File Reference
This file provides firmware functions to manage the following functionalities of the RI and SYSCFG:
- RI configuration
- SYSCFG configuration.
#include "stm8l15x_syscfg.h"
Go to the source code of this file.
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
This file provides firmware functions to manage the following functionalities of the RI and SYSCFG:
- RI configuration
- SYSCFG configuration.
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
© COPYRIGHT 2011 STMicroelectronics
Definition in file stm8l15x_syscfg.c.