diff options
author | barthess <barthess@yandex.ru> | 2016-08-16 18:00:59 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2016-08-16 18:00:59 +0300 |
commit | e1601e0a7d9b805422e511ea1c29ef9f5ca6000b (patch) | |
tree | ddb216c2154de22cb4c1c0b673ddde5f3513e855 /os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h | |
parent | eff62993d38c32459c982440a8ed5eb67ba8b6b0 (diff) | |
download | ChibiOS-Contrib-e1601e0a7d9b805422e511ea1c29ef9f5ca6000b.tar.gz ChibiOS-Contrib-e1601e0a7d9b805422e511ea1c29ef9f5ca6000b.tar.bz2 ChibiOS-Contrib-e1601e0a7d9b805422e511ea1c29ef9f5ca6000b.zip |
[STM32 NAND] Deleted ugly hack with EXTI interrupt instead of NAND one
Diffstat (limited to 'os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h')
-rw-r--r-- | os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h b/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h index 5be023e..b0fa72f 100644 --- a/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h +++ b/os/hal/ports/STM32/LLD/FSMCv1/hal_nand_lld.h @@ -120,10 +120,6 @@ #error "FSMC not present in the selected device" #endif -#if STM32_NAND_USE_EXT_INT && !HAL_USE_EXT -#error "External interrupt controller must be enabled to use this feature" -#endif - #if !defined(STM32_DMA_REQUIRED) #define STM32_DMA_REQUIRED #endif @@ -142,13 +138,6 @@ typedef struct NANDDriver NANDDriver; */ typedef void (*nandisrhandler_t)(NANDDriver *nandp); -#if STM32_NAND_USE_EXT_INT -/** - * @brief Type of function switching external interrupts on and off. - */ -typedef void (*nandisrswitch_t)(void); -#endif /* STM32_NAND_USE_EXT_INT */ - /** * @brief Driver configuration structure. * @note It could be empty on some architectures. @@ -188,16 +177,6 @@ typedef struct { * from STMicroelectronics. */ uint32_t pmem; -#if STM32_NAND_USE_EXT_INT - /** - * @brief Function enabling interrupts from EXTI - */ - nandisrswitch_t ext_nand_isr_enable; - /** - * @brief Function disabling interrupts from EXTI - */ - nandisrswitch_t ext_nand_isr_disable; -#endif /* STM32_NAND_USE_EXT_INT */ } NANDConfig; /** |