Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 10:b70ba9b9345e, committed 2019-06-06
- Comitter:
- njeffrie
- Date:
- Thu Jun 06 00:07:56 2019 +0000
- Parent:
- 9:df2ea349c37a
- Commit message:
- Add DCMI IRQ Handlers; ; Without definitions for BSP_CAMERA_IRQHandler and BSP_CAMERA_DMA_IRQHandler; methods, DCMI IRQs were not being serviced by HAL_DCMI_IRQHandler. This broke; the IRQ-based DCMI API.
Changed in this revision
Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c Thu Jul 06 16:58:50 2017 +0200 +++ b/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c Thu Jun 06 00:07:56 2019 +0000 @@ -388,6 +388,25 @@ } } + +/** + * @brief Handles DCMI interrupt request. + * @retval None + */ +void BSP_CAMERA_IRQHandler(void) +{ + HAL_DCMI_IRQHandler(&hDcmiHandler); +} + +/** + * @brief Handles DMA interrupt request. + * @retval None + */ +void BSP_CAMERA_DMA_IRQHandler(void) +{ + HAL_DMA_IRQHandler(hDcmiHandler.DMA_Handle); +} + /** * @brief Get the capture size in pixels unit. * @param resolution: the current resolution.