git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8338 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
735c461aa1
commit
f011b5da61
|
@ -345,6 +345,7 @@ void ext_lld_exti_irq_enable(void) {
|
||||||
nvicEnableVector(OTG_HS_WKUP_IRQn, STM32_EXT_EXTI20_IRQ_PRIORITY);
|
nvicEnableVector(OTG_HS_WKUP_IRQn, STM32_EXT_EXTI20_IRQ_PRIORITY);
|
||||||
nvicEnableVector(TAMP_STAMP_IRQn, STM32_EXT_EXTI21_IRQ_PRIORITY);
|
nvicEnableVector(TAMP_STAMP_IRQn, STM32_EXT_EXTI21_IRQ_PRIORITY);
|
||||||
nvicEnableVector(RTC_WKUP_IRQn, STM32_EXT_EXTI22_IRQ_PRIORITY);
|
nvicEnableVector(RTC_WKUP_IRQn, STM32_EXT_EXTI22_IRQ_PRIORITY);
|
||||||
|
nvicEnableVector(LPTIM1_IRQn, STM32_EXT_EXTI23_IRQ_PRIORITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -368,6 +369,7 @@ void ext_lld_exti_irq_disable(void) {
|
||||||
nvicDisableVector(OTG_HS_WKUP_IRQn);
|
nvicDisableVector(OTG_HS_WKUP_IRQn);
|
||||||
nvicDisableVector(TAMP_STAMP_IRQn);
|
nvicDisableVector(TAMP_STAMP_IRQn);
|
||||||
nvicDisableVector(RTC_WKUP_IRQn);
|
nvicDisableVector(RTC_WKUP_IRQn);
|
||||||
|
nvicDisableVector(LPTIM1_IRQn);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAL_USE_EXT */
|
#endif /* HAL_USE_EXT */
|
||||||
|
|
|
@ -136,6 +136,13 @@
|
||||||
#if !defined(STM32_EXT_EXTI22_IRQ_PRIORITY) || defined(__DOXYGEN__)
|
#if !defined(STM32_EXT_EXTI22_IRQ_PRIORITY) || defined(__DOXYGEN__)
|
||||||
#define STM32_EXT_EXTI22_IRQ_PRIORITY 6
|
#define STM32_EXT_EXTI22_IRQ_PRIORITY 6
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief EXTI23 interrupt priority level setting.
|
||||||
|
*/
|
||||||
|
#if !defined(STM32_EXT_EXTI23_IRQ_PRIORITY) || defined(__DOXYGEN__)
|
||||||
|
#define STM32_EXT_EXTI23_IRQ_PRIORITY 6
|
||||||
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -145,7 +145,7 @@
|
||||||
|
|
||||||
/* EXTI attributes.*/
|
/* EXTI attributes.*/
|
||||||
#define STM32_EXTI_NUM_LINES 24
|
#define STM32_EXTI_NUM_LINES 24
|
||||||
#define STM32_EXTI_IMR_MASK 0
|
#define STM32_EXTI_IMR_MASK 0xFF000000
|
||||||
|
|
||||||
/* GPIO attributes.*/
|
/* GPIO attributes.*/
|
||||||
#define STM32_HAS_GPIOA TRUE
|
#define STM32_HAS_GPIOA TRUE
|
||||||
|
|
Loading…
Reference in New Issue