1 解答
三月 15, 2021
11:40 PM
可以参考hal_gpio demo中的代码:
wiced_hal_gpio_register_pin_for_interrupt(WICED_GET_PIN_FOR_BUTTON(index), hal_gpio_app_interrrupt_handler, NULL);
wiced_hal_gpio_configure_pin(WICED_GET_PIN_FOR_BUTTON(index), WICED_GPIO_BUTTON_SETTINGS(GPIO_EN_INT_RISING_EDGE), GPIO_PIN_OUTPUT_LOW);
2 回复数
三月 15, 2021
11:40 PM
可以参考hal_gpio demo中的代码:
wiced_hal_gpio_register_pin_for_interrupt(WICED_GET_PIN_FOR_BUTTON(index), hal_gpio_app_interrrupt_handler, NULL);
wiced_hal_gpio_configure_pin(WICED_GET_PIN_FOR_BUTTON(index), WICED_GPIO_BUTTON_SETTINGS(GPIO_EN_INT_RISING_EDGE), GPIO_PIN_OUTPUT_LOW);
三月 16, 2021
06:01 PM
我在Modus toolbox的Device Configurator中定义了SPI1为Quad SPI,但是不起作用,SPI仍然是1bit方式。
请问该如何设置Quad SPI工作方式?或者有没有CYW20719B2关于的Quad SPI例子。
谢谢