diff options
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/STM32F4xx/FSMC_NAND/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c index 9067f1c8a..e69589443 100644 --- a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c +++ b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c @@ -198,6 +198,10 @@ static uint32_t KillCycle = 0; ****************************************************************************** ****************************************************************************** */ +static void nand_wp_assert(void) {palClearPad(GPIOB, GPIOB_NAND_WP);} +static void nand_wp_release(void) {palSetPad(GPIOB, GPIOB_NAND_WP);} +static void red_led_on(void) {palSetPad(GPIOI, GPIOI_LED_R);} +static void red_led_off(void) {palClearPad(GPIOI, GPIOI_LED_R);} #if STM32_NAND_USE_EXT_INT static void nand_ready_cb(EXTDriver *extp, expchannel_t channel){ |