STM8S/A Standard Peripherals Drivers
|
Functions | |
void | EXTI_DeInit (void) |
Deinitializes the external interrupt control registers to their default reset value. | |
EXTI_Sensitivity_TypeDef | EXTI_GetExtIntSensitivity (EXTI_Port_TypeDef Port) |
Get the external interrupt sensitivity of the selected port. | |
EXTI_TLISensitivity_TypeDef | EXTI_GetTLISensitivity (void) |
Get the TLI interrupt sensitivity. | |
void | EXTI_SetExtIntSensitivity (EXTI_Port_TypeDef Port, EXTI_Sensitivity_TypeDef SensitivityValue) |
Set the external interrupt sensitivity of the selected port. | |
void | EXTI_SetTLISensitivity (EXTI_TLISensitivity_TypeDef SensitivityValue) |
Set the TLI interrupt sensitivity. |
Function Documentation
void EXTI_DeInit | ( | void | ) |
Deinitializes the external interrupt control registers to their default reset value.
Definition at line 53 of file stm8s_exti.c.
References EXTI, EXTI_CR1_RESET_VALUE, and EXTI_CR2_RESET_VALUE.
EXTI_Sensitivity_TypeDef EXTI_GetExtIntSensitivity | ( | EXTI_Port_TypeDef | Port | ) |
Get the external interrupt sensitivity of the selected port.
Definition at line 126 of file stm8s_exti.c.
References EXTI, EXTI_CR1_PAIS, EXTI_CR1_PBIS, EXTI_CR1_PCIS, EXTI_CR1_PDIS, EXTI_CR2_PEIS, EXTI_PORT_GPIOA, EXTI_PORT_GPIOB, EXTI_PORT_GPIOC, EXTI_PORT_GPIOD, EXTI_PORT_GPIOE, and IS_EXTI_PORT_OK.
EXTI_TLISensitivity_TypeDef EXTI_GetTLISensitivity | ( | void | ) |
Get the TLI interrupt sensitivity.
Definition at line 162 of file stm8s_exti.c.
References EXTI, and EXTI_CR2_TLIS.
void EXTI_SetExtIntSensitivity | ( | EXTI_Port_TypeDef | Port, |
EXTI_Sensitivity_TypeDef | SensitivityValue | ||
) |
Set the external interrupt sensitivity of the selected port.
- Warning:
- The modification of external interrupt sensitivity is only possible when the interrupts are disabled.
- The normal behavior is to disable the interrupts before calling this function, and re-enable them after.
Definition at line 70 of file stm8s_exti.c.
References EXTI, EXTI_CR1_PAIS, EXTI_CR1_PBIS, EXTI_CR1_PCIS, EXTI_CR1_PDIS, EXTI_CR2_PEIS, EXTI_PORT_GPIOA, EXTI_PORT_GPIOB, EXTI_PORT_GPIOC, EXTI_PORT_GPIOD, EXTI_PORT_GPIOE, IS_EXTI_PORT_OK, and IS_EXTI_SENSITIVITY_OK.
void EXTI_SetTLISensitivity | ( | EXTI_TLISensitivity_TypeDef | SensitivityValue | ) |
Set the TLI interrupt sensitivity.
Definition at line 111 of file stm8s_exti.c.
References EXTI, EXTI_CR2_TLIS, and IS_EXTI_TLISENSITIVITY_OK.