コード例 #1
0
ファイル: Events.c プロジェクト: mbangtri/mcuoneclipse
/*
** ===================================================================
**     Event       :  EIntB_OnInterrupt (module Events)
**
**     Component   :  EIntB [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void EIntB_OnInterrupt(void)
{
  MR_DoEvent(MR_EVENT_TRGA, TRUE);
}
コード例 #2
0
ファイル: Events.c プロジェクト: alsancho/mcuoneclipse
/*
** ===================================================================
**     Event       :  EIntB_OnInterrupt (module Events)
**
**     Component   :  EIntB [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void EIntB_OnInterrupt(void)
{
#if PL_HAS_MAZE_RACE
  MR_DoEvent(MR_EVENT_TRGA, TRUE);
#endif
}