antmerlino commented on a change in pull request #3488:
URL: https://github.com/apache/incubator-nuttx/pull/3488#discussion_r835726002
##########
File path: arch/arm/src/stm32h7/stm32_tim.c
##########
@@ -775,6 +846,12 @@ static void stm32_tim_disableint(FAR struct
stm32_tim_dev_s *dev, int source)
stm32_modifyreg16(dev, STM32_GTIM_DIER_OFFSET, source, 0);
}
+static int stm32_tim_checkint(FAR struct stm32_tim_dev_s *dev, int source)
+{
+ uint16_t regval = stm32_getreg16(dev, STM32_BTIM_SR_OFFSET);
+ return (regval & source) ? 1 : 0;
Review comment:
Not going to do this one
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]