We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do you have a running example with GPIOIF in capture counter mode? I cannot make it working and no interrupt is generated.
These are the initialization instructions:
mtk_os_hal_gpioif_ctlr_init(group); // Register callback function mtk_os_hal_gpioif_int_callback_register(group, CAP_callback, NULL); // Disable de-glitch mtk_os_hal_gpioif_de_glitch(group, 0, 0, 0, 0); mtk_os_hal_gpioif_de_glitch(group, 1, 0, 0, 0); // Configure capture mtk_os_hal_gpioif_set_capture_mode(group, MHAL_GPIOIF_GPIO_0_BOTH_RISING_FALLING, MHAL_GPIOIF_GPIO_1_BOTH_RISING_FALLING, MHAL_GPIOIF_CLOCK_32KHZ); // Possible values 32KHz, 26MHz, 125MHz, 200MHz mtk_os_hal_gpioif_interrupt_control(group, 1, 1, IRQ_GPIOIF_CFIFO0_NOT_EMPTY|IRQ_GPIOIF_CFIFO1_NOT_EMPTY);
Do I have to set something in the app_manifest?
The text was updated successfully, but these errors were encountered:
Please refer to the sample code: 98d4c91
Sorry, something went wrong.
No branches or pull requests
Do you have a running example with GPIOIF in capture counter mode? I cannot make it working and no interrupt is generated.
These are the initialization instructions:
Do I have to set something in the app_manifest?
The text was updated successfully, but these errors were encountered: