Beispiel #1
0
void USB_LP_CAN1_RX0_IRQHandler(void)
{
// Called once every ms
//  TRACE_IRQ_ENTER(USB_LP_CAN1_RX0_IRQn);
  USB_Istr();
//  TRACE_IRQ_EXIT(USB_LP_CAN1_RX0_IRQn);
}
Beispiel #2
0
/*******************************************************************************
* Function Name  : USB_IRQHandler
* Description    : This function handles USB Low Priority interrupts
*                  requests.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void USB_LP_CAN1_RX0_IRQHandler(void)
{
	if(CANMode) {
		CAN_Istr();
	} else {
		USB_Istr();
	}
}
Beispiel #3
0
/*******************************************************************************
* Function Name  : USBLP_IRQHandler
* Description    : This function handles the USBLP interrupt request
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void USBLP_IRQHandler(void)
{
	IENABLE;

	USB_Istr();

	IDISABLE;
}
void USB_LP_CAN1_RX0_IRQHandler(void)
#endif
{
  /* enter interrupt */
  rt_interrupt_enter();
  USB_Istr();
  rt_interrupt_leave();
}
void USB_LP_CAN1_RX0_IRQHandler(void)
#endif
{
  if (CAN_GetITStatus(CAN1, CAN_IT_FMP0) != RESET)
  {
    STM_EVAL_LEDOn(LED7);
    CAN_Receive(CAN1, CAN_FIFO0, &RxMessage);

    SendCanMsg(RxMessage);
    STM_EVAL_LEDOff(LED7);
  }
  else USB_Istr();
}
Beispiel #6
0
/**
  * @brief  This function handles USB Low Priority or CAN RX0 interrupts requests.
  * @param  None
  * @retval None
  */
void USB_LP_CAN1_RX0_IRQHandler(void) {
  USB_Istr();
}
Beispiel #7
0
/*******************************************************************************
* Function Name  : USB_LP_IRQHandler
* Description    : This function handles USB Low Priority interrupts  requests.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void USB_LP_IRQHandler(void)
{
  USB_Istr();
}
Beispiel #8
0
vsf_err_t stm32_usbd_poll(void)
{
	USB_Istr();
	return VSFERR_NONE;
}
void USB_LP_IRQHandler(void)
#endif
{
   USB_Istr();
}
Beispiel #10
0
/*******************************************************************************
* Function Name  : USB_LP_CAN1_RX0_IRQHandler
* Description    : This function handles USB Low Priority or CAN RX0 interrupts
*                  requests.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
void USB_LP_CAN1_RX0_IRQHandler(void)
{
  USB_Istr();//优先级低的由此函数处理
}
Beispiel #11
0
void USB_LP_CAN_RX0_IRQHandler(void)						// USB low priority interrupt
{
  USB_Istr();
}
Beispiel #12
0
/*******************************************************************************
* Function Name  : USB_LP_CAN1_RX0_IRQHandler
* Description    : This function handles USB Low Priority or CAN RX0 interrupts
*                  requests.
* Input          : None
* Output         : None
* Return         : None
*******************************************************************************/
__attribute__((externally_visible)) void USB_LP_CAN_RX0_IRQHandler(void)
{
  USB_Istr();
}