We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7504050 commit cd618e6Copy full SHA for cd618e6
targets/TARGET_TOSHIBA/TARGET_TMPM066/us_ticker.c
@@ -112,4 +112,9 @@ void us_ticker_clear_interrupt(void)
112
113
void us_ticker_free(void)
114
{
115
+ TMRB_SetINTMask(TSB_TB7, TMRB_MASK_MATCH_LEADINGTIMING_INT | TMRB_MASK_MATCH_TRAILINGTIMING_INT | TMRB_MASK_OVERFLOW_INT);
116
+ NVIC_ClearPendingIRQ(INTTB7_IRQn);
117
+ NVIC_DisableIRQ(INTTB7_IRQn);
118
+ TMRB_SetRunState(TSB_TB7, TMRB_STOP);
119
+ TMRB_Disable(TSB_TB7);
120
}
0 commit comments