\r
// Implementation specific\r
/* STM32 helper arrays\r
- *
+ *\r
*/\r
TIM_TypeDef * const TimAddr[] =\r
{\r
TimAddr[channel]->CR1 |= (TIM_CR1_CEN | TIM_CR1_URS | TIM_CR1_DIR);\r
TimAddr[channel]->CR1 &= ~TIM_CR1_UDIS;\r
}\r
-\r
+ #if ( GPT_ENABLE_DISABLE_NOTIFICATION_API == STD_ON )\r
if( Gpt_Global.config[confCh].GptNotification != NULL )\r
{\r
// GPT275\r
Gpt_EnableNotification(channel);\r
}\r
-\r
+ #endif\r
Gpt_Unit[channel].state = GPT_STATE_STARTED;\r
}\r
\r
// Disable timer\r
TimAddr[channel]->CR1 &= ~TIM_CR1_CEN;\r
}\r
-\r
+ #if ( GPT_ENABLE_DISABLE_NOTIFICATION_API == STD_ON )\r
Gpt_DisableNotification(channel);\r
+ #endif\r
Gpt_Unit[channel].state = GPT_STATE_STOPPED;\r
}\r
\r